|
8 | 8 |
|
9 | 9 | ### 🔧 Compatibility Notes |
10 | 10 |
|
11 | | -- Breaking change: |
12 | | - - `CompletionPostRequest` is now an interface instead of a class. |
13 | | - For all previous use-cases, it should be substitutable with the new class `CompletionRequestConfiguration`. |
14 | | - - `OrchestrationClient.toCompletionPostRequest()` now returns `CompletionRequestConfiguration`. |
15 | | - - `OrchestrationClient.streamChatCompletionDeltas()` takes `CompletionRequestConfiguration` as an input now. |
16 | | - - Two fields in `OrchestrationModuleConfig` changed: |
17 | | - - `inputTranslationConfig` is now of type `SAPDocumentTranslationInput` |
18 | | - - `outputTranslationConfig` is now of type `SAPDocumentTranslationOutput` |
19 | | - - When using `OrchestrationModuleConfig.withInputTranslationConfig()` and `OrchestrationModuleConfig.withOutputTranslationConfig()` consider the following diff: |
20 | | - ```diff |
21 | | - var config = new OrchestrationModuleConfig("some prompt"); |
22 | | - config |
23 | | - .withInputTranslationConfig( |
24 | | - - SAPDocumentTranslation.create() |
25 | | - - .type(SAP_DOCUMENT_TRANSLATION) |
26 | | - - .config(SAPDocumentTranslationConfig.create().targetLanguage("en-US"))) |
27 | | - + SAPDocumentTranslationInput.create() |
28 | | - + .type(SAPDocumentTranslationInput.TypeEnum.SAP_DOCUMENT_TRANSLATION) |
29 | | - + .config(SAPDocumentTranslationInputConfig.create().targetLanguage("en-US"))) |
30 | | - .withOutputTranslationConfig( |
31 | | - - SAPDocumentTranslation.create() |
32 | | - - .type(SAP_DOCUMENT_TRANSLATION) |
33 | | - + SAPDocumentTranslationOutput.create() |
34 | | - + .type(SAPDocumentTranslationOutput.TypeEnum.SAP_DOCUMENT_TRANSLATION) |
35 | | - .config( |
36 | | - - SAPDocumentTranslationConfig.create() |
37 | | - - .targetLanguage("de-DE") |
38 | | - + SAPDocumentTranslationOutputConfig.create() |
39 | | - + .targetLanguage( |
40 | | - + SAPDocumentTranslationOutputTargetLanguage.create("de-DE")) |
41 | | - .sourceLanguage("en-US"))); |
42 | | - ``` |
43 | | -- [Orchestration] Deprecated models `OrchestrationAiModel.CLAUDE_3_OPUS` and `OrchestrationAiModel.CLAUDE_3_5_SONNET`. |
44 | | - - Replacement are respectively `OrchestrationAiModel.CLAUDE_4_OPUS` and `OrchestrationAiModel.CLAUDE_4_SONNET`. |
45 | | -- Inner record classes and their creator methods in model interfaces are renamed to be more descriptive and type-specific. |
46 | | - - eg: `InnerString` -> `ListOfStrings`, `create()` -> `createListOfStrings()` |
| 11 | +- |
47 | 12 |
|
48 | 13 | ### ✨ New Functionality |
49 | 14 |
|
50 | | -- [Orchestration] For streaming, add convenience configuration for output-filter-overlap, chunk-size, and delimiters via `OrchestrationModuleConfig#withStreamConfig`. |
51 | | -- [Orchestration] Added embedding generation support with new `OrchestrationClient#embed()` methods. |
52 | | - - Added `OrchestrationEmbeddingModel` with `TEXT_EMBEDDING_3_SMALL`, `TEXT_EMBEDDING_3_LARGE`, `AMAZON_TITAN_EMBED_TEXT` and `NVIDIA_LLAMA_32_NV_EMBEDQA_1B` embedding models. |
53 | | - - Introduced `OrchestrationEmbeddingRequest` for building requests fluently and `OrchestrationEmbeddingResponse#getEmbeddingVectors()` to retrieve embeddings. |
54 | | -- [Orchestration] Added new model `OrchestrationAiModel.MISTRAL_MEDIUM_INSTRUCT`. |
55 | 15 | - [Orchestration] Introduced Spring AI integration for embeddings generation with the new `OrchestrationSpringAiEmbeddingModel` class. |
56 | 16 |
|
57 | | - |
58 | 17 | ### 📈 Improvements |
59 | 18 |
|
60 | | -- [Orchestration] Added new API `DpiMasking#withRegex` to apply custom masking patterns. |
| 19 | +- |
61 | 20 |
|
62 | 21 | ### 🐛 Fixed Issues |
63 | 22 |
|
64 | | -- [Orchestration] Tool calling works on all models |
| 23 | +- |
0 commit comments