SearchModelFactory.AgenticSearchUsage(Int64, Int64) 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.
Token usage for agentic query planning and ranking across the search request, including documents not returned in the response.
public static Azure.Search.Documents.Models.AgenticSearchUsage AgenticSearchUsage(long agenticPlanningTokens = 0, long reasoningTokens = 0);
static member AgenticSearchUsage : int64 * int64 -> Azure.Search.Documents.Models.AgenticSearchUsage
Public Shared Function AgenticSearchUsage (Optional agenticPlanningTokens As Long = 0, Optional reasoningTokens As Long = 0) As AgenticSearchUsage
Parameters
- agenticPlanningTokens
- Int64
The number of tokens consumed by the agentic model for query planning, excluding ranking work.
- reasoningTokens
- Int64
The number of tokens consumed for semantic ranking, including documents not returned in the response. Excludes agentic query-planning tokens.
Returns
A new AgenticSearchUsage instance for mocking.