DiscoveryModelFactory.SearchRequest(String) 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 search action request body.
public static Azure.AI.Discovery.SearchRequest SearchRequest(string query = default);
static member SearchRequest : string -> Azure.AI.Discovery.SearchRequest
Public Shared Function SearchRequest (Optional query As String = Nothing) As SearchRequest
Parameters
- query
- String
The query text to search against the knowledge base.
Returns
A new SearchRequest instance for mocking.