AzureChatExtensionDataSourceResponseCitation Class

Definition

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.

public class AzureChatExtensionDataSourceResponseCitation : System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.AzureChatExtensionDataSourceResponseCitation>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.AzureChatExtensionDataSourceResponseCitation>
type AzureChatExtensionDataSourceResponseCitation = class
    interface IJsonModel<AzureChatExtensionDataSourceResponseCitation>
    interface IPersistableModel<AzureChatExtensionDataSourceResponseCitation>
Public Class AzureChatExtensionDataSourceResponseCitation
Implements IJsonModel(Of AzureChatExtensionDataSourceResponseCitation), IPersistableModel(Of AzureChatExtensionDataSourceResponseCitation)
Inheritance
AzureChatExtensionDataSourceResponseCitation
Implements

Properties

ChunkId

The chunk ID of the citation.

Content

The content of the citation.

Filepath

The file path of the citation.

Title

The title of the citation.

Url

The URL of the citation.

Explicit Interface Implementations

IJsonModel<AzureChatExtensionDataSourceResponseCitation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AzureChatExtensionDataSourceResponseCitation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AzureChatExtensionDataSourceResponseCitation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AzureChatExtensionDataSourceResponseCitation>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AzureChatExtensionDataSourceResponseCitation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to