다음을 통해 공유


SearchModelFactory.SemanticSearchResult Method

Definition

public static Azure.Search.Documents.Models.SemanticSearchResult SemanticSearchResult (double? rerankerScore, System.Collections.Generic.IReadOnlyList<Azure.Search.Documents.Models.QueryCaptionResult> captions);
static member SemanticSearchResult : Nullable<double> * System.Collections.Generic.IReadOnlyList<Azure.Search.Documents.Models.QueryCaptionResult> -> Azure.Search.Documents.Models.SemanticSearchResult
Public Shared Function SemanticSearchResult (rerankerScore As Nullable(Of Double), captions As IReadOnlyList(Of QueryCaptionResult)) As SemanticSearchResult

Parameters

rerankerScore
Nullable<Double>

The relevance score computed by the semantic ranker for the top search results.

captions
IReadOnlyList<QueryCaptionResult>

Captions are the most representative passages from the document relatively to the search query.

Returns

A new SemanticSearchResult instance for mocking.

Applies to