|
| 1 | +## 1.4.0 - February 28, 2025 |
| 2 | + |
| 3 | +[All Release Changes](https://github.com/SAP/ai-sdk-java/releases/tag/rel%2F1.4.0) |
| 4 | + |
| 5 | +### 🔧 Compatibility Notes |
| 6 | + |
| 7 | +- [Orchestration] The constructors `UserMessage(MessageContent)` and `SystemMessage(MessageContent)` are removed. Use `Message.user(String)`, `Message.user(ImageItem)`, or `Message.system(String)` instead. |
| 8 | +- Deprecate `getCustomField(String)` in favor of `toMap()` on generated model classes. |
| 9 | + - `com.sap.ai.sdk.core.model.*` |
| 10 | + - `com.sap.ai.sdk.orchestration.model.*` |
| 11 | + |
| 12 | +### ✨ New Functionality |
| 13 | + |
| 14 | +- [Orchestration] [Add Spring AI tool calling](https://github.com/SAP/ai-sdk-java/tree/main/docs/guides/SPRING_AI_INTEGRATION.md#tool-calling). |
| 15 | +- [Orchestration] [Add new convenient methods to set the response format for Orchestration.](https://github.com/SAP/ai-sdk-java/tree/main/docs/guides/ORCHESTRATION_CHAT_COMPLETION.md#set-a-response-format) |
| 16 | +- [Document Grounding] [Add Document Grounding Client](https://github.com/SAP/ai-sdk-java/tree/main/docs/guides/GROUNDING.md) |
| 17 | + - `com.sap.ai.sdk:document-grounding:1.4.0` |
| 18 | +- [OpenAI] New generated model classes introduced for _AzureOpenAI_ specification dated 2024-10-21. |
| 19 | +- [OpenAI] Introducing [new user interface](https://github.com/SAP/ai-sdk-java/tree/main/docs/guides/OPENAI_CHAT_COMPLETION.md/#new-user-interface-v140) for chat completion wrapping the generated model classes. |
| 20 | + - `OpenAiChatCompletionRequest` and `OpenAiChatCompletionResponse`' for high level request and response handling. |
| 21 | + - `OpenAiUserMessage`, `OpenAiSystemMessage`, `OpenAiAssistantMessage` and `OpenAiToolMessage` for message creation for different content types. |
| 22 | + - `OpenAiToolChoice` for configuring chat completion requests with tool selection strategy. |
| 23 | +- [OpenAI] Introducing new user interface for embedding calls using `OpenAiEmbeddingRequest` and `OpenAiEmbeddingResponse`. |
| 24 | + |
| 25 | + |
1 | 26 | ## 1.3.0 - February 13, 2025 |
2 | 27 |
|
3 | 28 | [All Release Changes](https://github.com/SAP/ai-sdk-java/releases/tag/rel%2F1.3.0) |
|
0 commit comments