KnowledgeBaseToolKnowledgeSourceReference Class
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.
A reference to an existing knowledge source and a selected subset of persisted retrieval defaults, not the complete request-time parameter model. The referenced source determines the kind; incompatible defaults are rejected when the knowledge base is saved. Explicit retrieve-request values take precedence, except filters are combined with AND.
public class KnowledgeBaseToolKnowledgeSourceReference : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.KnowledgeBaseToolKnowledgeSourceReference>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.KnowledgeBaseToolKnowledgeSourceReference>
type KnowledgeBaseToolKnowledgeSourceReference = class
interface IJsonModel<KnowledgeBaseToolKnowledgeSourceReference>
interface IPersistableModel<KnowledgeBaseToolKnowledgeSourceReference>
Public Class KnowledgeBaseToolKnowledgeSourceReference
Implements IJsonModel(Of KnowledgeBaseToolKnowledgeSourceReference), IPersistableModel(Of KnowledgeBaseToolKnowledgeSourceReference)
- Inheritance
-
KnowledgeBaseToolKnowledgeSourceReference
- Implements
Constructors
| Name | Description |
|---|---|
| KnowledgeBaseToolKnowledgeSourceReference(String) |
Initializes a new instance of KnowledgeBaseToolKnowledgeSourceReference. |
Properties
| Name | Description |
|---|---|
| AlwaysQuerySource |
Whether the source must be queried. Not supported for MCP server sources. An explicit request exclusion takes precedence. |
| FailOnError |
Whether retrieval should fail if this source encounters an error. |
| FilterAddOn |
An additional OData filter for search index sources. Rejected for unsupported source kinds when the knowledge base is saved. Combined with source and request filters using AND. |
| MaxOutputDocuments |
The maximum number of documents retrieved from this source, between 50 and 200. |
| Name |
The name of a knowledge source in the knowledge base. |
| RerankerThreshold |
The minimum reranker score for returned documents. Requires reranking to be enabled. |