共用方式為


SearchModelFactory.DocumentDebugInfo Method

Definition

Initializes a new instance of DocumentDebugInfo.

public static Azure.Search.Documents.Models.DocumentDebugInfo DocumentDebugInfo (Azure.Search.Documents.Models.SemanticDebugInfo semantic = default, Azure.Search.Documents.Models.VectorsDebugInfo vectors = default);
static member DocumentDebugInfo : Azure.Search.Documents.Models.SemanticDebugInfo * Azure.Search.Documents.Models.VectorsDebugInfo -> Azure.Search.Documents.Models.DocumentDebugInfo
Public Shared Function DocumentDebugInfo (Optional semantic As SemanticDebugInfo = Nothing, Optional vectors As VectorsDebugInfo = Nothing) As DocumentDebugInfo

Parameters

semantic
SemanticDebugInfo

Contains debugging information specific to semantic ranking requests.

vectors
VectorsDebugInfo

Contains debugging information specific to vector and hybrid search.

Returns

A new DocumentDebugInfo instance for mocking.

Applies to