Share via


KnowledgeAgentModelAnswerSynthesisActivityRecord Class

Definition

Represents an LLM answer synthesis activity record.

public class KnowledgeAgentModelAnswerSynthesisActivityRecord : Azure.Search.Documents.Agents.Models.KnowledgeAgentActivityRecord, System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Agents.Models.KnowledgeAgentModelAnswerSynthesisActivityRecord>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Agents.Models.KnowledgeAgentModelAnswerSynthesisActivityRecord>
type KnowledgeAgentModelAnswerSynthesisActivityRecord = class
    inherit KnowledgeAgentActivityRecord
    interface IJsonModel<KnowledgeAgentModelAnswerSynthesisActivityRecord>
    interface IPersistableModel<KnowledgeAgentModelAnswerSynthesisActivityRecord>
Public Class KnowledgeAgentModelAnswerSynthesisActivityRecord
Inherits KnowledgeAgentActivityRecord
Implements IJsonModel(Of KnowledgeAgentModelAnswerSynthesisActivityRecord), IPersistableModel(Of KnowledgeAgentModelAnswerSynthesisActivityRecord)
Inheritance
KnowledgeAgentModelAnswerSynthesisActivityRecord
Implements

Properties

ElapsedMs

The elapsed time in milliseconds for the retrieval activity.

(Inherited from KnowledgeAgentActivityRecord)
Id

The ID of the activity record.

(Inherited from KnowledgeAgentActivityRecord)
InputTokens

The number of input tokens for the LLM answer synthesis activity.

OutputTokens

The number of output tokens for the LLM answer synthesis activity.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<KnowledgeAgentActivityRecord>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from KnowledgeAgentActivityRecord)
IJsonModel<KnowledgeAgentActivityRecord>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from KnowledgeAgentActivityRecord)
IJsonModel<KnowledgeAgentModelAnswerSynthesisActivityRecord>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KnowledgeAgentModelAnswerSynthesisActivityRecord>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KnowledgeAgentActivityRecord>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from KnowledgeAgentActivityRecord)
IPersistableModel<KnowledgeAgentActivityRecord>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from KnowledgeAgentActivityRecord)
IPersistableModel<KnowledgeAgentActivityRecord>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from KnowledgeAgentActivityRecord)
IPersistableModel<KnowledgeAgentModelAnswerSynthesisActivityRecord>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KnowledgeAgentModelAnswerSynthesisActivityRecord>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KnowledgeAgentModelAnswerSynthesisActivityRecord>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to