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 #43912

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 9, 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.1.0

Release notes

Sourced from Azure.AI.OpenAI's releases.

Azure.AI.OpenAI_2.1.0

2.1.0 (2024-12-05)

This GA library release aligns functionality with the latest 2024-10-21 stable service API label.

[!NOTE] For consistency and reliability, GA releases of the Azure.AI.OpenAI library will always map to stable Azure OpenAI service API versions. Because stable service API versions omit volatile surfaces such as beta features, GA library releases will also not contain the full set of preview functionality. To use beta and preview features, please use the latest prerelease version of the library.

Features Added

Chat

  • [GA] The 2024-10-21 API version brings GA AOAI support for streaming token usage in chat completions; Usage is now automatically populated in StreamingChatCompletionUpdate instances.
    • Note 1: this feature is not yet compatible when using On Your Data features (after invoking the .AddDataSource() extension method on ChatCompletionOptions)
    • Note 2: this feature is not yet compatible when using image input (a ChatMessageContentPart of Kind Image)
  • [GA] The AllowParalllelToolCalls property on ChatCompletionOptions, which can be set to false to disable the invocation of multiple tools on a single chat completion response, is now supported.
  • [GA] Structured outputs, via the use of ChatResponseFormat.CreateJsonSchemaFormat(), is now supported.
  • When using o1-preview and o1-mini models, max_completion_tokens may now be configured by calling the [Experimental] SetNewMaxCompletionTokensPropertyEnabled() extension method on ChatCompletionOptions.
    • This extension method will be removed in a future service API version, when it becomes unnecessary once all models support the max_completion_tokens property

Batch

The 2024-10-21 service API label introduces stable support for batch chat completions to Azure OpenAI. This library release exposes low-level support for batch:

  • AzureOpenAIClient's GetOpenAIFileClient() will now return a valid, configured instance of FileClient that supports uploading files with FileUploadPurpose.Batch. This can be used to upload the contents of a valid .jsonl file for batch processing.
  • AzureOpenAIClient's GetBatchClient() will now return a valid, configured instance of BatchClient that can produce a CreateBatchOperation given an uploaded file ID using protocol methods.
  • Strongly typed convenience surfaces for BatchClient will arrive in a future update.

Breaking Changes

[!NOTE] GA library releases only permit breaking changes to items marked with an [Experimental] attribute and these changes will be minimized whenever possible.

  • [Experimental] GetBatchClient(string deploymentName) on AzureOpenAIClient is removed, as the Azure OpenAI batch API now aligns with OpenAI's in not using a deployment-based request URI path. Please use GetBatchClient(), instead.
  • [Expermental] the Uri property of type System.Uri in ChatCitation and ChatRetrivedDocument has been replaced by a Url property of type string. This contains the same information but properly handles document paths that don't conform to a valid RFC 3986 identifier.

Azure.Communication.Sms_1.1.0-beta.2

1.1.0-beta.2 (2024-12-10)

Features Added

  • Added support for Opt Out Management Api to:
    • Opt-out the recipient.
    • Opt-in the recipient.
    • Check if the recpient is opted-out or not.

Azure.Monitor.Query_1.6.0

1.6.0 (2024-12-03)

Features Added

  • Add 'StartTime' and 'EndTime' parameters to 'MetricsQueryResourcesOptions' to allow for querying a specific time range

... (truncated)

Commits

Updates Azure.Core from 1.43.0 to 1.44.1

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

@dependabot dependabot bot requested a review from a team as a code owner December 9, 2024 14:17
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Dec 9, 2024
@dotnetrepoman dotnetrepoman bot added this to the December 2024 milestone Dec 9, 2024
@dotnet-policy-service dotnet-policy-service bot added :octocat: auto-merge community-contribution Indicates PR is created by someone from the .NET community. labels Dec 9, 2024
@dotnet-policy-service dotnet-policy-service bot enabled auto-merge (squash) December 9, 2024 14:17
Copy link
Contributor

@dotnet-policy-service dotnet-policy-service bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved; this PR will merge when all status checks pass.

@BillWagner
Copy link
Member

ping @alexwolfmsft Can you figure out why these are failing?

@dependabot dependabot bot force-pushed the dependabot/nuget/docs/ai/how-to/snippets/content-filtering/dotnet-9060748061 branch from c498dcc to 803fd47 Compare December 11, 2024 12:11
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.1.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.1.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] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/nuget/docs/ai/how-to/snippets/content-filtering/dotnet-9060748061 branch from 803fd47 to 7de7b72 Compare December 18, 2024 12:50
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 20, 2024

Looks like these dependencies are no longer updatable, so this is no longer needed.

@dependabot dependabot bot closed this Dec 20, 2024
auto-merge was automatically disabled December 20, 2024 16:38

Pull request was closed

@dependabot dependabot bot deleted the dependabot/nuget/docs/ai/how-to/snippets/content-filtering/dotnet-9060748061 branch December 20, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution Indicates PR is created by someone from the .NET community. dependencies Pull requests that update a dependency file .NET Pull requests that update .net code :octocat: auto-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants