SearchModelFactory.AgenticSearchDebugInfo 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.
Bounded diagnostics returned for agentic search when debug selects agentic or all. Retrieved documents remain in value; prompts and raw model reasoning are excluded. Disabling diagnostics does not disable usage accounting or actionable error reporting.
public static Azure.Search.Documents.Models.AgenticSearchDebugInfo AgenticSearchDebugInfo(Azure.Search.Documents.Models.AgenticSearchTerminationReason? terminationReason = default, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Models.AgenticSearchSubQuery> subQueries = default, Azure.Search.Documents.Models.AgenticSearchUsage usage = default);
static member AgenticSearchDebugInfo : Nullable<Azure.Search.Documents.Models.AgenticSearchTerminationReason> * seq<Azure.Search.Documents.Models.AgenticSearchSubQuery> * Azure.Search.Documents.Models.AgenticSearchUsage -> Azure.Search.Documents.Models.AgenticSearchDebugInfo
Public Shared Function AgenticSearchDebugInfo (Optional terminationReason As Nullable(Of AgenticSearchTerminationReason) = Nothing, Optional subQueries As IEnumerable(Of AgenticSearchSubQuery) = Nothing, Optional usage As AgenticSearchUsage = Nothing) As AgenticSearchDebugInfo
Parameters
- terminationReason
- Nullable<AgenticSearchTerminationReason>
The reason agentic processing stopped, when available.
- subQueries
- IEnumerable<AgenticSearchSubQuery>
Issued subqueries with their originating model turns. This is not a per-document trace or a stable pagination contract.
- usage
- AgenticSearchUsage
Token usage for agentic query planning and ranking across this request.
Returns
A new AgenticSearchDebugInfo instance for mocking.