SearchModelFactory.KnowledgeSourceGraphProvenanceParams 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.
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
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.