SearchModelFactory.KnowledgeBaseMcpServerReference 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.
Represents an MCP server document reference.
public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseMcpServerReference KnowledgeBaseMcpServerReference(string id = default, int activitySource = 0, System.Collections.Generic.IDictionary<string,BinaryData> sourceData = default, float? rerankerScore = default, string toolName = default, string title = default);
static member KnowledgeBaseMcpServerReference : string * int * System.Collections.Generic.IDictionary<string, BinaryData> * Nullable<single> * string * string -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseMcpServerReference
Public Shared Function KnowledgeBaseMcpServerReference (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 toolName As String = Nothing, Optional title As String = Nothing) As KnowledgeBaseMcpServerReference
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.
- toolName
- String
The name of the MCP server tool that produced the reference.
- title
- String
The title of the MCP server tool result.
Returns
A new KnowledgeBaseMcpServerReference instance for mocking.