Implemented ChatMessageContent to encapsulate the representation of content parts in ChatMessage, ChatCompletion, and StreamingChatCompletionUpdate.
Changed the representation of function arguments to BinaryData in ChatToolCall, StreamingChatToolCallUpdate, ChatFunctionCall, and StreamingChatFunctionCallUpdate.
Renamed OpenAIClientOptions's ApplicationId to UserAgentApplicationId (commit_hash)
Renamed StreamingChatToolCallUpdate's Id to ToolCallId
Renamed StreamingChatCompletionUpdate's Id to CompletionId
Replaced Auto and None in the deprecated ChatFunctionChoice with CreateAutoChoice() and CreateNoneChoice()
Replaced the deprecated ChatFunctionChoice(ChatFunction) constructor with CreateNamedChoice(string functionName)
Renamed FileClient to OpenAIFileClient and the corresponding GetFileClient() method in OpenAIClient to GetOpenAIFileClient().
Renamed ModelClient to OpenAIModelClient and the corresponding GetModelClient() method in OpenAIClient to GetOpenAIModelClient().
ChatMessageContent
to encapsulate the representation of content parts inChatMessage
,ChatCompletion
, andStreamingChatCompletionUpdate
.BinaryData
inChatToolCall
,StreamingChatToolCallUpdate
,ChatFunctionCall
, andStreamingChatFunctionCallUpdate
.OpenAIClientOptions
'sApplicationId
toUserAgentApplicationId
(commit_hash)StreamingChatToolCallUpdate
'sId
toToolCallId
StreamingChatCompletionUpdate
'sId
toCompletionId
Auto
andNone
in the deprecatedChatFunctionChoice
withCreateAutoChoice()
andCreateNoneChoice()
ChatFunctionChoice(ChatFunction)
constructor withCreateNamedChoice(string functionName)
FileClient
toOpenAIFileClient
and the correspondingGetFileClient()
method inOpenAIClient
toGetOpenAIFileClient()
.ModelClient
toOpenAIModelClient
and the correspondingGetModelClient()
method inOpenAIClient
toGetOpenAIModelClient()
.