AzureChatExtensionDataSourceResponseCitation Class
- java.
lang. Object - com.
azure. ai. openai. models. AzureChatExtensionDataSourceResponseCitation
- com.
Implements
public final class AzureChatExtensionDataSourceResponseCitation
implements JsonSerializable<AzureChatExtensionDataSourceResponseCitation>
A single instance of additional context information available when Azure OpenAI chat extensions are involved in the generation of a corresponding chat completions response. This context information is only populated when using an Azure OpenAI request configured to use a matching extension.
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. |
String |
getFilepath()
Get the filepath property: The file path of the citation. |
Double |
getRerankScore()
Get the rerank |
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 AzureChatExtensionDataSourceResponseCitation fromJson(JsonReader jsonReader)
Reads an instance of AzureChatExtensionDataSourceResponseCitation 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:
getFilepath
public String getFilepath()
Get the filepath property: The file path of the citation.
Returns:
getRerankScore
public Double getRerankScore()
Get the rerankScore property: The rerank score of the retrieved 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: