你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Azure.AI.OpenAI.Chat Namespace
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.
Classes
AzureChatCitation |
The AzureChatMessageContextCitation. |
AzureChatDataSource |
A representation of configuration data for a single Azure OpenAI chat data source. This will be used by a chat completions request that should use Azure OpenAI chat extensions to augment the response behavior. The use of this configuration is compatible only with Azure OpenAI. Please note AzureChatDataSource is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureCosmosDBChatDataSource, AzureMachineLearningIndexChatDataSource, AzureSearchChatDataSource, ElasticsearchChatDataSource and PineconeChatDataSource. |
AzureChatMessageContext |
An additional property, added to chat completion response messages, produced by the Azure OpenAI service when using extension behavior. This includes intent and citation information from the On Your Data feature. |
AzureChatRetrievedDocument |
The AzureChatMessageContextAllRetrievedDocuments. |
AzureCosmosDBChatDataSource |
Represents a data source configuration that will use an Azure CosmosDB resource. |
AzureMachineLearningIndexChatDataSource |
Represents a data source configuration that will use an Azure Machine Learning vector index. |
AzureSearchChatDataSource |
Represents a data source configuration that will use an Azure Search resource. |
DataSourceAuthentication |
The AzureChatDataSourceAuthenticationOptions. Please note DataSourceAuthentication is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.. |
DataSourceFieldMappings |
The AzureSearchChatDataSourceParametersFieldsMapping. |
DataSourceVectorizer |
A representation of a data vectorization source usable as an embedding resource with a data source. Please note DataSourceVectorizer is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.. |
ElasticsearchChatDataSource |
The ElasticsearchChatDataSource. |
PineconeChatDataSource |
The PineconeChatDataSource. |
Structs
AzureChatRetrievedDocumentFilterReason |
Enum for filter_reason in AzureChatRetrievedDocument. |
DataSourceQueryType |
Enum for query_type in InternalAzureSearchChatDataSourceParameters. |
Enums
DataSourceOutputContextFlags |
The |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈