Skip to content

Azure.AI.OpenAI_1.0.0-beta.7

Pre-release
Pre-release
Compare
Choose a tag to compare
@azure-sdk azure-sdk released this 25 Aug 23:50
d8a1e49

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 on ChatCompletionsOptions. When an AzureChatExtensionsOptions 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 has AzureChatExtensionConfiguration instances added to its Extensions 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 a ChatCompletions response value that used chat extensions will then also have their Message property supplemented by an AzureChatExtensionMessageContext instance. This context contains a collection of supplementary Messages 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"