Share via


SearchModelFactory.KnowledgeAgentSemanticRankerActivityRecord Method

Definition

Initializes a new instance of KnowledgeAgentSemanticRankerActivityRecord.

public static Azure.Search.Documents.Agents.Models.KnowledgeAgentSemanticRankerActivityRecord KnowledgeAgentSemanticRankerActivityRecord(int id = 0, int? inputTokens = default, int? elapsedMs = default);
static member KnowledgeAgentSemanticRankerActivityRecord : int * Nullable<int> * Nullable<int> -> Azure.Search.Documents.Agents.Models.KnowledgeAgentSemanticRankerActivityRecord
Public Shared Function KnowledgeAgentSemanticRankerActivityRecord (Optional id As Integer = 0, Optional inputTokens As Nullable(Of Integer) = Nothing, Optional elapsedMs As Nullable(Of Integer) = Nothing) As KnowledgeAgentSemanticRankerActivityRecord

Parameters

id
Int32

The ID of the activity record.

inputTokens
Nullable<Int32>

The number of input tokens for the semantic ranker activity.

elapsedMs
Nullable<Int32>

The elapsed time in milliseconds for the model activity.

Returns

A new KnowledgeAgentSemanticRankerActivityRecord instance for mocking.

Applies to