azure-ai-openai_1.0.0-beta.11
版本发布时间: 2024-08-30 06:54:06
Azure/azure-sdk-for-java最新发布版本:azure-resourcemanager-billing_1.0.0(2024-09-06 19:35:45)
1.0.0-beta.11 (2024-08-29)
Features Added
- Added a new overload
getImageGenerationsWithResponse
that takesRequestOptions
to provide the flexibility to modify the HTTP request. - Added the capability to handle the float[]
embedding
type when serializing totoJson()
and deserializing fromfromJson()
in theEmbeddingItem
class. (#41159) - A new
required
keyword is added totool_choice
in the request options, which specifies that at least one tool must be called. This adds to the existingauto
(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
andbatch_output
files purposes - In
ChatCompletionsOptions
thesetToolChoice
method usesChatCompletionsToolSelection
to pass either a preset enum or a named tool.
Breaking Changes
- Removed
finish_details
field fromChatChoice
class since service API version,2024-07-01-preview
, does not return this field.
Other Changes
Dependency Updates
- Upgraded
azure-core
to version1.51.0
. - Upgraded
azure-core-http-netty
to version1.15.3
.