InferenceModelFactory.TokenUsageResult(Nullable<Int32>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The result of the token usage in the semantic reranking operation.
public static Azure.Data.AI.TokenUsageResult TokenUsageResult(int? totalTokens = default);
static member TokenUsageResult : Nullable<int> -> Azure.Data.AI.TokenUsageResult
Public Shared Function TokenUsageResult (Optional totalTokens As Nullable(Of Integer) = Nothing) As TokenUsageResult
Parameters
The total number of tokens processed in the semantic reranking operation.
Returns
A new TokenUsageResult instance for mocking.