SearchModelFactory.KnowledgeBaseSearchIndexReference Method

Definition

Overloads

KnowledgeBaseSearchIndexReference(String, Int32, IDictionary<String,BinaryData>, Nullable<Single>, String)

Source:
SearchModelFactory.cs

Represents an Azure Search document reference.

public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseSearchIndexReference KnowledgeBaseSearchIndexReference(string id = default, int activitySource = 0, System.Collections.Generic.IDictionary<string,BinaryData> sourceData = default, float? rerankerScore = default, string docKey = default);
static member KnowledgeBaseSearchIndexReference : string * int * System.Collections.Generic.IDictionary<string, BinaryData> * Nullable<single> * string -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseSearchIndexReference
Public Shared Function KnowledgeBaseSearchIndexReference (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 docKey As String = Nothing) As KnowledgeBaseSearchIndexReference

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.

docKey
String

The document key for the reference.

Returns

A new KnowledgeBaseSearchIndexReference instance for mocking.

Applies to

KnowledgeBaseSearchIndexReference(String, Int32, IReadOnlyDictionary<String,Object>, Nullable<Single>, String)

Source:
SearchModelFactory.cs

Initializes a new instance of KnowledgeBaseSearchIndexReference.

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

Parameters

id
String

The ID of the reference.

activitySource
Int32

The source activity ID for the reference.

sourceData
IReadOnlyDictionary<String,Object>

Dictionary of <any>.

rerankerScore
Nullable<Single>

The reranker score for the document reference.

docKey
String

The document key for the reference.

Returns

A new KnowledgeBaseSearchIndexReference instance for mocking.

Applies to