Language

SearchModelFactory.KnowledgeSourceGraphProvenanceParams Method

Definition

Source-document hydration policy for knowledge retrieval graph results.

public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeSourceGraphProvenanceParams KnowledgeSourceGraphProvenanceParams(Azure.Search.Documents.KnowledgeBases.Models.KnowledgeSourceGraphProvenanceKind? kind = default, Azure.Search.Documents.KnowledgeBases.Models.KnowledgeSourceGraphHydrateDocumentsParams hydrateDocuments = default);
static member KnowledgeSourceGraphProvenanceParams : Nullable<Azure.Search.Documents.KnowledgeBases.Models.KnowledgeSourceGraphProvenanceKind> * Azure.Search.Documents.KnowledgeBases.Models.KnowledgeSourceGraphHydrateDocumentsParams -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeSourceGraphProvenanceParams
Public Shared Function KnowledgeSourceGraphProvenanceParams (Optional kind As Nullable(Of KnowledgeSourceGraphProvenanceKind) = Nothing, Optional hydrateDocuments As KnowledgeSourceGraphHydrateDocumentsParams = Nothing) As KnowledgeSourceGraphProvenanceParams

Parameters

kind
Nullable<KnowledgeSourceGraphProvenanceKind>

Whether graph retrieval returns graph rows only or also hydrates source documents.

hydrateDocuments
KnowledgeSourceGraphHydrateDocumentsParams

Source-document options; only valid when kind is hydrate.

Returns

A new KnowledgeSourceGraphProvenanceParams instance for mocking.

Applies to