Share via


AzureChatRetrievedDocument Class

Definition

The AzureChatMessageContextAllRetrievedDocuments.

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

Properties

ChunkId

The chunk ID for the citation.

Content

The content of the citation.

DataSourceIndex

The index of the data source used for retrieval.

Filepath

The file path for the citation.

FilterReason

If applicable, an indication of why the document was filtered.

OriginalSearchScore

The original search score for the retrieval.

RerankScore

The rerank score for the retrieval.

SearchQueries

The search queries executed to retrieve documents.

Title

The title for the citation.

Url

The URL of the citation.

Explicit Interface Implementations

IJsonModel<AzureChatRetrievedDocument>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AzureChatRetrievedDocument>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AzureChatRetrievedDocument>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AzureChatRetrievedDocument>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AzureChatRetrievedDocument>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to