다음을 통해 공유


KnowledgeAgentModelQueryPlanningActivityRecord Class

Definition

Represents an LLM query planning activity record.

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

Properties

ElapsedMs

The elapsed time in milliseconds for the model activity.

Id

The ID of the activity record.

(Inherited from KnowledgeAgentActivityRecord)
InputTokens

The number of input tokens for the LLM query planning activity.

OutputTokens

The number of output tokens for the LLM query planning 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<KnowledgeAgentModelQueryPlanningActivityRecord>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KnowledgeAgentModelQueryPlanningActivityRecord>.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<KnowledgeAgentModelQueryPlanningActivityRecord>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KnowledgeAgentModelQueryPlanningActivityRecord>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KnowledgeAgentModelQueryPlanningActivityRecord>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to