Delen via


ChatCitation Class

Definition

The AzureChatMessageContextCitation.

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

Properties

ChunkId

The chunk ID for the citation.

Content

The content of the citation.

FilePath

The file path for the citation.

RerankScore

The rerank score for the retrieval.

Title

The title for the citation.

Uri

The location of the citation.

Explicit Interface Implementations

IJsonModel<ChatCitation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ChatCitation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ChatCitation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChatCitation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ChatCitation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to