1.0.0-beta.13 (2024-12-04)
Features Added
- Added support for service API versions
2024-09-01-preview
and2024-10-01-preview
. - Added support for
max_completion_tokens
,stream_options
, andparallel_tool_calls
inChatCompletionsOptions
class.
New classChatCompletionStreamOptions
introduced. - Added new overload streaming methods
getChatCompletionsStream
andgetCompletionsStream
that takeChatCompletionStreamOptions streamOptions
. - Added support for
stream_options
inCompletionsOptions
class. - Added support for
prompt_tokens_details
andcompletion_tokens_details
inCompletionsUsage
class.
New classesCompletionsUsagePromptTokensDetails
andCompletionsUsageCompletionTokensDetails
introduced. - Added support for
ungrounded_material
inContentFilterResultsForChoice
class.
New classesContentFilterCompletionTextSpanResult
,ContentFilterCompletionTextSpan
introduced.
Breaking Changes
- Removed public method
setStream
inChatCompletionsOptions
andCompletionsOptions
classes.
Bugs Fixed
- Fixed the issue to reduce the log pollution when using Server Sent Event Streaming API. (#41164)
Other Changes
Dependency Updates
- Upgraded
azure-core
to version1.54.1
. - Upgraded
azure-core-http-netty
to version1.15.7
.