Dela via


SearchModelFactory.SemanticDebugInfo Method

Definition

Initializes a new instance of SemanticDebugInfo.

public static Azure.Search.Documents.Models.SemanticDebugInfo SemanticDebugInfo (Azure.Search.Documents.Models.QueryResultDocumentSemanticField titleField = default, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Models.QueryResultDocumentSemanticField> contentFields = default, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Models.QueryResultDocumentSemanticField> keywordFields = default, Azure.Search.Documents.Models.QueryResultDocumentRerankerInput rerankerInput = default);
static member SemanticDebugInfo : Azure.Search.Documents.Models.QueryResultDocumentSemanticField * seq<Azure.Search.Documents.Models.QueryResultDocumentSemanticField> * seq<Azure.Search.Documents.Models.QueryResultDocumentSemanticField> * Azure.Search.Documents.Models.QueryResultDocumentRerankerInput -> Azure.Search.Documents.Models.SemanticDebugInfo
Public Shared Function SemanticDebugInfo (Optional titleField As QueryResultDocumentSemanticField = Nothing, Optional contentFields As IEnumerable(Of QueryResultDocumentSemanticField) = Nothing, Optional keywordFields As IEnumerable(Of QueryResultDocumentSemanticField) = Nothing, Optional rerankerInput As QueryResultDocumentRerankerInput = Nothing) As SemanticDebugInfo

Parameters

titleField
QueryResultDocumentSemanticField

The title field that was sent to the semantic enrichment process, as well as how it was used.

contentFields
IEnumerable<QueryResultDocumentSemanticField>

The content fields that were sent to the semantic enrichment process, as well as how they were used.

keywordFields
IEnumerable<QueryResultDocumentSemanticField>

The keyword fields that were sent to the semantic enrichment process, as well as how they were used.

rerankerInput
QueryResultDocumentRerankerInput

The raw concatenated strings that were sent to the semantic enrichment process.

Returns

A new SemanticDebugInfo instance for mocking.

Applies to