SearchModelFactory.KnowledgeBaseWorkIQReference Method

Definition

Represents a WorkIQ document reference.

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

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.

attributions
IEnumerable<WorkIQAttribution>

The attributions for the reference.

Returns

A new KnowledgeBaseWorkIQReference instance for mocking.

Applies to