Azure.AI.OpenAI_1.0.0-beta.7
Pre-release
Pre-release
1.0.0-beta.7 (2023-08-25)
Features Added
- The Azure OpenAI "using your own data" feature is now supported. See the Azure OpenAI using your own data quickstart for conceptual background and detailed setup instructions.
- Azure OpenAI chat extensions are configured via a new
AzureChatExtensionsOptions
property onChatCompletionsOptions
. When anAzureChatExtensionsOptions
is provided, configured requests will only work with clients configured to use the Azure OpenAI service, as the capabilities are unique to that service target. AzureChatExtensionsOptions
then hasAzureChatExtensionConfiguration
instances added to itsExtensions
property, with these instances representing the supplementary information needed for Azure OpenAI to use desired data sources to supplement chat completions behavior.ChatChoice
instances on aChatCompletions
response value that used chat extensions will then also have theirMessage
property supplemented by anAzureChatExtensionMessageContext
instance. This context contains a collection of supplementaryMessages
that describe the behavior of extensions that were used and supplementary response data, such as citations, provided along with the response.- See the README sample snippet for a simplified example of request/response use with "using your own data"
- Azure OpenAI chat extensions are configured via a new