1.0.0-beta.11 (2023-12-07)
This is a fast-following bug fix update to address some of the biggest issues reported by the community. Thank you
sharing your experiences!
Breaking Changes
- The type of
ChatCompletionsOptions.ToolChoice
has been updated fromBinaryData
to a newChatCompletionsToolChoice
type. Please useChatCompletionsToolChoice.None
,ChatCompletionsToolChoice.Auto
, or provide a reference to a function or function tool definition to migrate.
Bugs Fixed
ChatCompletionsOptions.ResponseFormat
now serializes correctly and will not result in "not of type 'object" errorsChatCompletionsOptions.FunctionCall
is fixed to again work withFunctionDefinition.None
andFunctionDefinition.Auto
instead of resulting in not finding a named "none" or "auto" functionChatCompletionsOptions.ToolChoice
previously defaulted to aBinaryData
type and has now been corrected to use a customChatCompletionsToolChoice
type that parallelsFunctionDefinition
for older function calling.