Language

SearchModelFactory.KnowledgeBaseGraphSearchReference Method

Definition

A graph result or a hydrated source document returned by graph-based knowledge retrieval.

public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseGraphSearchReference KnowledgeBaseGraphSearchReference(string id = default, int activitySource = 0, System.Collections.Generic.IDictionary<string,BinaryData> sourceData = default, float? rerankerScore = default, string graphIndexName = default);
static member KnowledgeBaseGraphSearchReference : string * int * System.Collections.Generic.IDictionary<string, BinaryData> * Nullable<single> * string -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseGraphSearchReference
Public Shared Function KnowledgeBaseGraphSearchReference (Optional id As String = Nothing, Optional activitySource As Integer = 0, Optional sourceData As IDictionary(Of String, BinaryData) = Nothing, Optional rerankerScore As Nullable(Of Single) = Nothing, Optional graphIndexName As String = Nothing) As KnowledgeBaseGraphSearchReference

Parameters

id
String

The ID of the reference.

activitySource
Int32

The source activity ID for the reference.

sourceData
IDictionary<String,BinaryData>

The source data for the reference.

rerankerScore
Nullable<Single>

The reranker score for the document reference.

graphIndexName
String

Graph index that produced the result or source-document evidence.

Returns

A new KnowledgeBaseGraphSearchReference instance for mocking.

Applies to