KnowledgeBaseRetrievalResult Class
- java.
lang. Object - com.
azure. search. documents. knowledgebases. models. KnowledgeBaseRetrievalResult
- com.
Implements
public final class KnowledgeBaseRetrievalResult
implements JsonSerializable<KnowledgeBaseRetrievalResult>
The output contract for the retrieval response.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Knowledge |
fromJson(JsonReader jsonReader)
Reads an instance of Knowledge |
|
List<Knowledge |
getActivity()
Get the activity property: The activity records for tracking progress and billing implications. |
|
List<Knowledge |
getReferences()
Get the references property: The references for the retrieval data used in the response. |
|
List<Knowledge |
getResponse()
Get the response property: The response messages. |
|
Purview |
getResponseSensitivityLabelInfo()
Get the response |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static KnowledgeBaseRetrievalResult fromJson(JsonReader jsonReader)
Reads an instance of KnowledgeBaseRetrievalResult from the JsonReader.
Parameters:
Returns:
Throws:
getActivity
public List<KnowledgeBaseActivityRecord> getActivity()
Get the activity property: The activity records for tracking progress and billing implications.
Returns:
getReferences
public List<KnowledgeBaseReference> getReferences()
Get the references property: The references for the retrieval data used in the response.
Returns:
getResponse
public List<KnowledgeBaseMessage> getResponse()
Get the response property: The response messages.
Returns:
getResponseSensitivityLabelInfo
public PurviewSensitivityLabelInfo getResponseSensitivityLabelInfo()
Get the responseSensitivityLabelInfo property: The sensitivity label information for the overall response.
Returns: