SearchModelFactory.KnowledgeBaseReference 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.
Initializes a new instance of KnowledgeBaseReference.
public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseReference KnowledgeBaseReference(string type = default, string id = default, int activitySource = 0, System.Collections.Generic.IReadOnlyDictionary<string,object> sourceData = default, float? rerankerScore = default);
static member KnowledgeBaseReference : string * string * int * System.Collections.Generic.IReadOnlyDictionary<string, obj> * Nullable<single> -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseReference
Public Shared Function KnowledgeBaseReference (Optional type As String = Nothing, 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) As KnowledgeBaseReference
Parameters
- type
- String
The type of the reference.
- id
- String
The ID of the reference.
- activitySource
- Int32
The source activity ID for the reference.
- sourceData
- IReadOnlyDictionary<String,Object>
Dictionary of <any>.
Returns
A new KnowledgeBaseReference instance for mocking.