SearchModelFactory.KnowledgeBaseModelAnswerSynthesisActivityRecord Method

Definition

Represents an LLM answer synthesis activity record.

public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseModelAnswerSynthesisActivityRecord KnowledgeBaseModelAnswerSynthesisActivityRecord(int id = 0, int? elapsedMs = default, Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseErrorDetail error = default, string warning = default, int? inputTokens = default, int? outputTokens = default, string modelName = default);
static member KnowledgeBaseModelAnswerSynthesisActivityRecord : int * Nullable<int> * Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseErrorDetail * string * Nullable<int> * Nullable<int> * string -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseModelAnswerSynthesisActivityRecord
Public Shared Function KnowledgeBaseModelAnswerSynthesisActivityRecord (Optional id As Integer = 0, Optional elapsedMs As Nullable(Of Integer) = Nothing, Optional error As KnowledgeBaseErrorDetail = Nothing, Optional warning As String = Nothing, Optional inputTokens As Nullable(Of Integer) = Nothing, Optional outputTokens As Nullable(Of Integer) = Nothing, Optional modelName As String = Nothing) As KnowledgeBaseModelAnswerSynthesisActivityRecord

Parameters

id
Int32

The ID of the activity record.

elapsedMs
Nullable<Int32>

The elapsed time in milliseconds for the retrieval activity.

error
KnowledgeBaseErrorDetail

The error detail explaining why the operation failed. This property is only included when the activity does not succeed.

warning
String

A warning message surfacing potential configuration issues observed during the activity, such as documents dropped due to score thresholding, token limit truncation, or timeout conditions.

inputTokens
Nullable<Int32>

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

outputTokens
Nullable<Int32>

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

modelName
String

The name of the model used for the LLM answer synthesis activity.

Returns

A new KnowledgeBaseModelAnswerSynthesisActivityRecord instance for mocking.

Applies to