Azure / enterprise-azureai

Unleash the power of Azure AI to your application developers in a secure & manageable way with Azure API Management and Azure Developer CLI.
MIT License
81 stars 38 forks source link

Bump Azure.AI.OpenAI from 1.0.0-beta.9 to 1.0.0-beta.12 in /src #6

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 8 months ago

Bumps Azure.AI.OpenAI from 1.0.0-beta.9 to 1.0.0-beta.12.

Release notes

Sourced from Azure.AI.OpenAI's releases.

Azure.AI.OpenAI_1.0.0-beta.12

1.0.0-beta.12 (2023-12-15)

Like beta.11, beta.12 is another release that brings further refinements and fixes. It remains based on the 2023-12-01-preview service API version for Azure OpenAI and does not add any new service capabilities.

Features Added

Updates for using streaming tool calls:

  • A new .NET-specific StreamingToolCallUpdate type has been added to better represent streaming tool call updates when using chat tools.
    • This new type includes an explicit ToolCallIndex property, reflecting index in the REST schema, to allow resilient deserialization of parallel function tool calling.
  • A convenience constructor has been added for ChatRequestAssistantMessage that can automatically populate from a prior ChatResponseMessage when using non-streaming chat completions.
  • A public constructor has been added for ChatCompletionsFunctionToolCall to allow more intuitive reconstruction of ChatCompletionsToolCall instances for use in ChatRequestAssistantMessage instances made from streaming responses.

Other additions:

  • To facilitate reuse of user message contents, ChatRequestUserMessage now provides a public Content property (string) as well as a public MultimodalContentItems property (IList<ChatMessageContentItem).
    • Content is the conventional plain-text content and will be populated as non-null when the a ChatRequestUserMessage() constructor accepting a string is used to instantiate the message.
    • MultimodalContentItems is the new compound content type, currently only usable with gpt-4-vision-preview, that allows hybrid use of text and image references. It will be populated when an appropriate ChatRequestUserMessage() constructor accepting a collection of ChatMessageContentItem instances is used.
    • Role is also restored to common visibility to ChatRequestUserMessage.

Breaking Changes

  • The type of ToolCallUpdate on StreamingChatCompletionsUpdate has been changed from the non-streaming ChatCompletionsToolCall to the new StreamingToolCallUpdate type. The conversion is straightforward:
    • ToolCallUpdate.Id remains unchanged.
    • Instead of casting ToolCallUpdate to ChatCompletionsFunctionToolCall, cast it to StreamingToolCallUpdate.
    • Update cast instance use of functionToolCallUpdate.Arguments to accumulate functionToolCallUpdate.ArgumentsUpdate.
  • Removed the parameterized constructor of the ChatCompletionsOptions class that only received the messages as a parameter in favor of the parameterized constructor that receives the deployment name as well. This makes it consistent with the implementation of other Options classes.
  • Removed the setter of the Input property of the EmbeddingsOptions class as per the guidelines for collection properties.

Bugs fixed

Azure.AI.OpenAI_1.0.0-beta.11

1.0.0-beta.11 (2023-12-07)

This is a fast-following bug fix update to address some of the biggest issues reported by the community. Thank you sharing your experiences!

Breaking Changes

  • The type of ChatCompletionsOptions.ToolChoice has been updated from BinaryData to a new ChatCompletionsToolChoice type. Please use ChatCompletionsToolChoice.None, ChatCompletionsToolChoice.Auto, or provide a reference to a function or function tool definition to migrate.

... (truncated)

Commits
  • ab0ae0d Azure OpenAI: changelog.md update for beta.12 release (#40815)
  • e973301 [Azure OpenAI] Revamp customizations (#40697)
  • 81f5d2b [Azure OpenAI] Revamp customizations in the audio API (#40674)
  • 899b608 Add AOT compatibility checks documentation (#40762)
  • a396f21 Increment package version after release of Azure.ResourceManager.Redis (#40803)
  • 3cc17fc Increment package version after release of Azure.ResourceManager.EventGrid (#...
  • 33a6417 Generate Eventgrid SDK for API version 2023-12-15-preview (#40714)
  • da78e04 Azure Redis .Net SDK update for new api v2023-08-01 (#39230)
  • 0519b41 Update AutoRest C# version to 3.0.0-beta.20231214.1 (#40794)
  • f6a5a36 Increment package version after release of Microsoft.Azure.Core.NewtonsoftJso...
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
pascalvanderheiden commented 8 months ago

@azureholic can you review this one?

azureholic commented 8 months ago

Testing all updates in my fork. Pull request will follow soon

dependabot[bot] commented 8 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.