SearchModelFactory.KnowledgeBaseModelWebSummarizationActivityRecord Method

Definition

Represents an LLM web summarization activity record.

public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseModelWebSummarizationActivityRecord KnowledgeBaseModelWebSummarizationActivityRecord(int id = 0, int? elapsedMs = default, Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseErrorDetail error = default, int? inputTokensCount = default, int? outputTokensCount = default);
static member KnowledgeBaseModelWebSummarizationActivityRecord : int * Nullable<int> * Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseErrorDetail * Nullable<int> * Nullable<int> -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseModelWebSummarizationActivityRecord
Public Shared Function KnowledgeBaseModelWebSummarizationActivityRecord (Optional id As Integer = 0, Optional elapsedMs As Nullable(Of Integer) = Nothing, Optional error As KnowledgeBaseErrorDetail = Nothing, Optional inputTokensCount As Nullable(Of Integer) = Nothing, Optional outputTokensCount As Nullable(Of Integer) = Nothing) As KnowledgeBaseModelWebSummarizationActivityRecord

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.

inputTokensCount
Nullable<Int32>

The number of input tokens for the LLM web summarization activity.

outputTokensCount
Nullable<Int32>

The number of output tokens for the LLM web summarization activity.

Returns

A new KnowledgeBaseModelWebSummarizationActivityRecord instance for mocking.

Applies to