Language

SearchModelFactory.AgenticSearchSubQuery(String, Int32) Method

Definition

One issued subquery from agentic search. The object permits future query metadata without changing the subquery collection shape.

public static Azure.Search.Documents.Models.AgenticSearchSubQuery AgenticSearchSubQuery(string search = default, int iteration = 0);
static member AgenticSearchSubQuery : string * int -> Azure.Search.Documents.Models.AgenticSearchSubQuery
Public Shared Function AgenticSearchSubQuery (Optional search As String = Nothing, Optional iteration As Integer = 0) As AgenticSearchSubQuery

Parameters

search
String

The text of the issued search query. Does not expose model prompts, raw reasoning or retrieved document content.

iteration
Int32

One-based logical model turn that produced the query. Multiple subqueries can share the same iteration.

Returns

A new AgenticSearchSubQuery instance for mocking.

Applies to