Lingua

SearchModelFactory.KnowledgeBaseFileReference Method

Definition

Represents a file document reference.

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

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.

docName
String

The document name for the reference.

citationUrl
Uri

A Search-owned URL that points at the backing document for this reference, usable as a citation target.

Returns

A new KnowledgeBaseFileReference instance for mocking.

Applies to