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/openai/azure-ai-openai/CHANGELOG.md
+25-2Lines changed: 25 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,38 @@
1
1
# Release History
2
2
3
-
## 1.0.0-beta.12 (Unreleased)
3
+
## 1.0.0-beta.12 (2024-10-22)
4
4
5
5
### Features Added
6
+
- Added support for service API version `2024-08-01-preview`.
7
+
- Structured Outputs can be enabled by setting the parameter `strict: true` in an API call with either a defined response format or function definitions.
8
+
- Added `refusal` property in `ChatChoiceLogProbabilityInfo`, `ChatMessageContentItem`, `ChatResponseMessage` classes,
9
+
and a new type of content item class `ChatMessageRefusalContentItem` to support refusal. `refusal` only works with structured output.
10
+
- Added `json_schema` property in `ChatCompletionsResponseFormat` class to support JSON schema.
11
+
New classes `ChatCompletionsJsonSchemaResponseFormat` and `ChatCompletionsJsonSchemaResponseFormatJsonSchema` are added to support JSON schema response format.
12
+
- Added support for uploading large files in multiple parts. New client methods `createUpload`, `addUploadPart`,
13
+
`completeUpload` and `cancelUpload` introduced in `OpenAIClient` and `OpenAIAsyncClient` classes.
14
+
- Updated `ChatRequestMessages` derived classes,
15
+
-`ChatRequestSystemMessage` content: `String` or `ChatMessageTextContentItem[]`.
16
+
-`ChatRequestAssistantMessage` content: `String`, `ChatMessageTextContentItem[]`, `ChatMessageRefusalContentItem[]` or `null`.
17
+
-`ChatRequestToolMessage` content: `String` or `ChatMessageTextContentItem[]`.
18
+
- Added `rerank_score` property in `AzureChatExtensionDataSourceResponseCitation` class to support re-rank score.
19
+
- Added support for MongoDB chat extension. New classes `MongoDBChatExtensionConfiguration`, `MongoDBChatExtensionParameters`,
20
+
and `MongoDBChatExtensionParametersFieldsMapping` are added to support MongoDB chat extension.
21
+
- Added `username_and_password` in `OnYourDataAuthenticationOptions` class and an input option class`OnYourDataUsernameAndPasswordAuthenticationOptions` to support username and password authentication.
22
+
- Added `intergrated` property in `OnYourDataVectorizationSource` class and `OnYourDataVectorizationSourceType` to support integrated vectorization source.
6
23
7
24
### Breaking Changes
8
25
9
-
### Bugs Fixed
26
+
- Replaced `FunctionDefintion` by `ChatCompletionsFunctionToolDefinitionFunction` in `ChatCompletionsFunctionToolDefinition` class.
27
+
`FunctionDefintion` only works for `functions` but not `tools`, The `functions` is deprecated.
28
+
- Removed `azure_ml_index` from `AzureChatExtensionConfiguration` class, and its response models `AzureMachineLearningIndexConfiguration` and `AzureMachineLearningIndexChatExtensionParameters`.
29
+
- Removed `role_information` from `AzureSearchChatExtensionParameters`, `ElasticsearchChatExtensionParameters` and `PineconeChatExtensionParameters` classes.
10
30
11
31
### Other Changes
12
32
33
+
- Upgraded `azure-core` to version `1.53.0`.
34
+
- Upgraded `azure-core-http-netty` to version `1.15.5`.
0 commit comments