Added a new overload getImageGenerationsWithResponse that takes RequestOptions to provide the flexibility to
modify the HTTP request.
Added the capability to handle the float[] embedding type when serializing to toJson() and deserializing from fromJson() in the EmbeddingItem class. (#41159)
A new required keyword is added to tool_choice in the request options, which specifies that at least one tool must be called. This adds to the existing auto (default), none, and ability to specify a specific (function) tool by name
New operation paths: /batches, /batches/{batch-id} and /batches/{batch-id}/cancel
New request model: BatchCreateRequest
New response models: Batch, BatchErrors, etc.
Added /files operation from the Azure OpenAI Assistants SDK
New batch and batch_output files purposes
In ChatCompletionsOptions the setToolChoice method uses ChatCompletionsToolSelection to pass either a preset enum or a named tool.
Breaking Changes
Removed finish_details field from ChatChoice class since service API version, 2024-07-01-preview, does not return this field.
Other Changes
Dependency Updates
Upgraded azure-core to version 1.51.0.
Upgraded azure-core-http-netty to version 1.15.3.
Commits
0c42b9e [OpenAI] EmbeddingItems is able to take float array from customer's json obje...
1d59176 [OpenAI-Inference] Inference SDK support for Azure OpenAI `v2024-07-01-previe...
261f322 [Automation] Generate SDK based on TypeSpec 0.20.1 (#41675)
c433997 Sync eng/common directory with azure-sdk-tools for PR 8878 (#41673)
1996889 Add Storage Blob and Queue Service Connection from Docker Compose (#41321)
bf88843 Turn off warnings from sdl disablement (#41663)
78af778 Default to sub config file paths/svc connection for public + sovereign live t...
a03fc85 [OpenAI-Assistant] Added support for 2024-07-01 (#41464)
f82944e [Automation] Generate SDK based on TypeSpec 0.20.0 (#41666)
aa19dbf Retrieve TokenCredential from ConfigurableBootstrapContext for env post proce...
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)
Bumps com.azure:azure-ai-openai from 1.0.0-beta.10 to 1.0.0-beta.11.
Release notes
Sourced from com.azure:azure-ai-openai's releases.
Commits
0c42b9e
[OpenAI] EmbeddingItems is able to take float array from customer's json obje...1d59176
[OpenAI-Inference] Inference SDK support for Azure OpenAI `v2024-07-01-previe...261f322
[Automation] Generate SDK based on TypeSpec 0.20.1 (#41675)c433997
Sync eng/common directory with azure-sdk-tools for PR 8878 (#41673)1996889
Add Storage Blob and Queue Service Connection from Docker Compose (#41321)bf88843
Turn off warnings from sdl disablement (#41663)78af778
Default to sub config file paths/svc connection for public + sovereign live t...a03fc85
[OpenAI-Assistant] Added support for 2024-07-01 (#41464)f82944e
[Automation] Generate SDK based on TypeSpec 0.20.0 (#41666)aa19dbf
Retrieve TokenCredential from ConfigurableBootstrapContext for env post proce...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