DiscoveryModelFactory.SearchResponse 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.
Results of a knowledge base search.
public static Azure.AI.Discovery.SearchResponse SearchResponse(System.Collections.Generic.IEnumerable<Azure.AI.Discovery.SearchResultItem> searchResults = default);
static member SearchResponse : seq<Azure.AI.Discovery.SearchResultItem> -> Azure.AI.Discovery.SearchResponse
Public Shared Function SearchResponse (Optional searchResults As IEnumerable(Of SearchResultItem) = Nothing) As SearchResponse
Parameters
- searchResults
- IEnumerable<SearchResultItem>
The search results.
Returns
A new SearchResponse instance for mocking.