你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AzureSearchChatDataSource 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.
Represents a data source configuration that will use an Azure Search resource.
public class AzureSearchChatDataSource : Azure.AI.OpenAI.Chat.ChatDataSource, System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Chat.AzureSearchChatDataSource>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Chat.AzureSearchChatDataSource>
type AzureSearchChatDataSource = class
inherit ChatDataSource
interface IJsonModel<AzureSearchChatDataSource>
interface IPersistableModel<AzureSearchChatDataSource>
Public Class AzureSearchChatDataSource
Inherits ChatDataSource
Implements IJsonModel(Of AzureSearchChatDataSource), IPersistableModel(Of AzureSearchChatDataSource)
- Inheritance
- Implements
Constructors
AzureSearchChatDataSource() |
Obsolete.
Creates a new instance of AzureSearchChatDataSource. |
Properties
AllowPartialResults |
If set to true, the system will allow partial search results to be used and the request will fail if all partial queries fail. If not specified or specified as false, the request will fail if any search query fails. |
Authentication |
The authentication options to use with the Azure Search data source. |
Endpoint |
The absolute endpoint path for the Azure Search resource to use. |
FieldMappings |
Gets the index field mappings. |
Filter |
A filter to apply to the search. |
IndexName |
The name of the index to use, as specified in the Azure Search resource. |
InScope |
Whether queries should be restricted to use of the indexed data. |
MaxSearchQueries |
The maximum number of rewritten queries that should be sent to the search provider for a single user message. By default, the system will make an automatic determination. |
OutputContexts |
The |
QueryType |
The query type for the Azure Search resource to use. |
SemanticConfiguration |
Additional semantic configuration for the query. |
Strictness |
The configured strictness of the search relevance filtering. Higher strictness will increase precision but lower recall of the answer. |
TopNDocuments |
The configured number of documents to feature in the query. |
VectorizationSource |
The vectorization dependency used for embeddings. |