You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/ai/azure-ai-inference/CHANGELOG.md
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,24 @@
1
1
# Release History
2
2
3
-
## 1.0.0b4 (Unreleased)
3
+
## 1.0.0b4 (2024-08-30)
4
4
5
5
### Features Added
6
6
7
+
* Support chat completion streaming response with function arguments (tool calls). Add new classes
8
+
`StreamingChatResponseMessageUpdate` and `StreamingChatResponseToolCallUpdate`.
9
+
* Support text embeddings result in base64 encoded string format.
10
+
* Nicely formated print of chat completions and embeddings result objects.
11
+
7
12
### Breaking Changes
8
13
14
+
* Classes `ChatCompletionsToolSelectionPreset`, `ChatCompletionsNamedToolSelection` and `ChatCompletionsFunctionToolSelection` renamed to `ChatCompletionsToolChoicePreset``ChatCompletionsNamedToolChoice` and `ChatCompletionsNamedToolChoiceFunction` respectively.
15
+
* Update the object type of `embeddings` property on `EmbeddingsResult`, from `embedding: List[float]` to `embedding: Union[str, List[float]]`.
16
+
* Instead of base class `ChatCompletionsToolCall` and derived class `ChatCompletionsFunctionToolCall`, we now have a flat representation of only one class `ChatCompletionsToolCall` that that represents a function tool. This is because the only support tool is a function call.
17
+
9
18
### Bugs Fixed
10
19
11
-
### Other Changes
20
+
* Fix setting of chat completions response format, to allow response in JSON format. See classes `ChatCompletionsResponseFormat` (base class) and
21
+
derived classes `ChatCompletionsResponseFormatJSON` and `ChatCompletionsResponseFormatText`.
0 commit comments