AzureChatExtensionRetrievedDocument Class
- java.
lang. Object - com.
azure. ai. openai. models. AzureChatExtensionRetrievedDocument
- com.
Implements
public final class AzureChatExtensionRetrievedDocument
implements JsonSerializable<AzureChatExtensionRetrievedDocument>
The retrieved document.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
String |
getChunkId()
Get the chunk |
String |
getContent()
Get the content property: The content of the citation. |
int |
getDataSourceIndex()
Get the data |
String |
getFilepath()
Get the filepath property: The file path of the citation. |
Azure |
getFilterReason()
Get the filter |
Double |
getOriginalSearchScore()
Get the original |
Double |
getRerankScore()
Get the rerank |
List<String> |
getSearchQueries()
Get the search |
String |
getTitle()
Get the title property: The title of the citation. |
String |
getUrl()
Get the url property: The URL of the citation. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AzureChatExtensionRetrievedDocument fromJson(JsonReader jsonReader)
Reads an instance of AzureChatExtensionRetrievedDocument from the JsonReader.
Parameters:
Returns:
Throws:
getChunkId
public String getChunkId()
Get the chunkId property: The chunk ID of the citation.
Returns:
getContent
public String getContent()
Get the content property: The content of the citation.
Returns:
getDataSourceIndex
public int getDataSourceIndex()
Get the dataSourceIndex property: The index of the data source.
Returns:
getFilepath
public String getFilepath()
Get the filepath property: The file path of the citation.
Returns:
getFilterReason
public AzureChatExtensionRetrieveDocumentFilterReason getFilterReason()
Get the filterReason property: Represents the rationale for filtering the document. If the document does not undergo filtering, this field will remain unset.
Returns:
getOriginalSearchScore
public Double getOriginalSearchScore()
Get the originalSearchScore property: The original search score of the retrieved document.
Returns:
getRerankScore
public Double getRerankScore()
Get the rerankScore property: The rerank score of the retrieved document.
Returns:
getSearchQueries
public List
Get the searchQueries property: The search queries used to retrieve the document.
Returns:
getTitle
public String getTitle()
Get the title property: The title of the citation.
Returns:
getUrl
public String getUrl()
Get the url property: The URL of the citation.
Returns:
toJson
Applies to
Azure SDK for Java