Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the dotnet group across 1 directory with 2 updates #2039

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 16, 2024

Bumps the dotnet group with 2 updates in the /docs/ai/how-to/snippets/content-filtering directory: Azure.AI.OpenAI and Azure.Core.

Updates Azure.AI.OpenAI from 1.0.0-beta.17 to 2.0.0

Release notes

Sourced from Azure.AI.OpenAI's releases.

Azure.AI.OpenAI_2.0.0

2.0.0 (2024-09-30)

This update marks the first stable library version for Azure.AI.OpenAI. It snaps its dependency to OpenAI's matched 2.0.0 stable version and targets the latest Azure OpenAI Service stable api-version label of 2024-06-01. As a GA label, the 2.0.0 stable version exposes a subset of preview features, with preview library labels continuing to support preview features.

Specifically included in the GA library release:

  • AudioClient, supporting transcription and translation using the whisper model
  • ChatClient, supporting chat completions, including Azure-specific features:
    • Embedded request and response content filter annotations
    • Azure Search and Cosmos DB data sources for Azure OpenAI On Your Data
  • EmbeddingClient, supporting text-embedding model embedding operations
  • ImageClient, supporting dall-e-3 image generation

Assistants, Audio Generation, Batch, Files, Fine-Tuning, and Vector Stores are not yet included in the GA surface; they will continue to be available in preview library releases and the originating Azure OpenAI Service api-version labels.

Breaking Changes

  • AzureOpenAIClient constructors accepting AzureKeyCredential have been removed; please use the ApiKeyCredential constructors, instead. Note that AzureKeyCredential will inherit from ApiKeyCredential in a future update and that AzureKeyCredential has a non-browsable Key property that may be used for conversion in the interim.
  • The AzureOpenAIClientOptions ApplicationId has been renamed to a more descriptive UserAgentApplicationId.

From OpenAI 2.0.0 stable

  • Implemented ChatMessageContent to encapsulate the representation of content parts in ChatMessage, ChatCompletion, and StreamingChatCompletionUpdate. (commit_hash)
  • Changed the representation of function arguments to BinaryData in ChatToolCall, StreamingChatToolCallUpdate, ChatFunctionCall, and StreamingChatFunctionCallUpdate. (commit_hash)
  • Renamed OpenAIClientOptions's ApplicationId to UserAgentApplicationId (commit_hash)
  • Renamed StreamingChatToolCallUpdate's Id to ToolCallId (commit_hash)
  • Renamed StreamingChatCompletionUpdate's Id to CompletionId (commit_hash)
  • Replaced Auto and None in the deprecated ChatFunctionChoice with CreateAutoChoice() and CreateNoneChoice() (commit_hash)
  • Replaced the deprecated ChatFunctionChoice(ChatFunction) constructor with CreateNamedChoice(string functionName) (commit_hash)
  • Renamed FileClient to OpenAIFileClient and the corresponding GetFileClient() method in OpenAIClient to GetOpenAIFileClient(). (commit_hash)
  • Renamed ModelClient to OpenAIModelClient and the corresponding GetModelClient() method in OpenAIClient to GetOpenAIModelClient(). (commit_hash)

Azure.AI.OpenAI_2.0.0-beta.6

2.0.0-beta.6 (2024-09-23)

This version increments library compatibility to OpenAI 2.0.0-beta.12, including support for o1 models with reasoning tokens and a number of breaking changes to method names.

Features Added

  • The library now includes support for the new OpenAI o1 model family. (2ab1a94)
    • ChatCompletionOptions will automatically apply its MaxOutputTokenCount value (renamed from MaxTokens) to the new max_completion_tokens request body property
    • Usage includes a new OutputTokenDetails property with a ReasoningTokenCount value that will reflect o1 model use of this new subcategory of output tokens.
    • Note that OutputTokenCount (completion_tokens) is the sum of displayed tokens generated by the model and (when applicable) these new reasoning tokens
  • Assistants file search now includes support for RankingOptions. (2ab1a94)
    • Use of the include[] query string parameter and retrieval of run step detail result content is currently only available via protocol methods
  • Added support for the Uploads API in FileClient. This Experimental feature allows uploading large files in multiple parts. (2ab1a94)
    • The feature is supported by the CreateUpload, AddUploadPart, CompleteUpload, and CancelUpload protocol methods.

Breaking Changes

... (truncated)

Commits

Updates Azure.Core from 1.43.0 to 1.44.1

Release notes

Sourced from Azure.Core's releases.

Azure.Core_1.44.1

1.44.1 (2024-10-09)

Other Changes

  • Upgraded System.Text.Json package dependency to 6.0.10 for security fix (#46134).

Azure.Core_1.44.0

1.44.0 (2024-10-03)

Features Added

  • TokenRequestContext added the IsProofOfPossessionEnabled, ResourceRequestMethod, and ResourceRequestUri properties to support Proof of Possession tokens (45134).
  • AccessToken added the TokenType property to support distinguishing Bearer tokens from Proof of Possession (PoP) tokens (45134).
  • Moved implementation of Azure.AzureKeyCredential into System.ClientModel.ApiKeyCredential and made ApiKeyCredential the base type for AzureKeyCredential (#46128).
  • BearerTokenAuthenticationPolicy now will attempt to handle Continuous Access Evaluation (CAE) challenges, if present, by default (#46277).

Other Changes

  • Upgraded System.Memory.Data package dependency to 6.0.0 (#46134).
Commits

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the dotnet group with 2 updates in the /docs/ai/how-to/snippets/content-filtering directory: [Azure.AI.OpenAI](https://github.com/Azure/azure-sdk-for-net) and [Azure.Core](https://github.com/Azure/azure-sdk-for-net).


Updates `Azure.AI.OpenAI` from 1.0.0-beta.17 to 2.0.0
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](Azure/azure-sdk-for-net@Azure.AI.OpenAI_1.0.0-beta.17...Azure.AI.OpenAI_2.0.0)

Updates `Azure.Core` from 1.43.0 to 1.44.1
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](Azure/azure-sdk-for-net@Azure.Core_1.43.0...Azure.Core_1.44.1)

---
updated-dependencies:
- dependency-name: Azure.AI.OpenAI
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dotnet
- dependency-name: Azure.Core
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dotnet
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Oct 16, 2024
@gewarren gewarren closed this Oct 17, 2024
Copy link
Author

dependabot bot commented on behalf of github Oct 17, 2024

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@dependabot dependabot bot deleted the dependabot/nuget/docs/ai/how-to/snippets/content-filtering/dotnet-2908929140 branch October 17, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant