|
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 (note, especially, that setting `.applyTo()` to either `null` or to an actual value is necessary): |
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( |
30 | | - + SAPDocumentTranslationInputConfig.create() |
31 | | - + .targetLanguage("en-US") |
32 | | - + .applyTo(null))) |
33 | | - .withOutputTranslationConfig( |
34 | | - - SAPDocumentTranslation.create() |
35 | | - - .type(SAP_DOCUMENT_TRANSLATION) |
36 | | - + SAPDocumentTranslationOutput.create() |
37 | | - + .type(SAPDocumentTranslationOutput.TypeEnum.SAP_DOCUMENT_TRANSLATION) |
38 | | - .config( |
39 | | - - SAPDocumentTranslationConfig.create() |
40 | | - - .targetLanguage("de-DE") |
41 | | - + SAPDocumentTranslationOutputConfig.create() |
42 | | - + .targetLanguage( |
43 | | - + SAPDocumentTranslationOutputTargetLanguage.create("de-DE")) |
44 | | - .sourceLanguage("en-US"))); |
45 | | - ``` |
46 | | -- [Orchestration] Deprecated models `OrchestrationAiModel.CLAUDE_3_OPUS` and `OrchestrationAiModel.CLAUDE_3_5_SONNET`. |
47 | | - - Replacement are respectively `OrchestrationAiModel.CLAUDE_4_OPUS` and `OrchestrationAiModel.CLAUDE_4_SONNET`. |
48 | | -- Inner record classes and their creator methods in model interfaces are renamed to be more descriptive and type-specific. |
49 | | - - eg: `InnerString` -> `ListOfStrings`, `create()` -> `createListOfStrings()` |
| 11 | +- |
50 | 12 |
|
51 | 13 | ### ✨ New Functionality |
52 | 14 |
|
53 | | -- [Orchestration] For streaming, add convenience configuration for output-filter-overlap, chunk-size, and delimiters via `OrchestrationModuleConfig#withStreamConfig`. |
54 | | -- [Orchestration] Added embedding generation support with new `OrchestrationClient#embed()` methods. |
55 | | - - Added `OrchestrationEmbeddingModel` with `TEXT_EMBEDDING_3_SMALL`, `TEXT_EMBEDDING_3_LARGE`, `AMAZON_TITAN_EMBED_TEXT` and `NVIDIA_LLAMA_32_NV_EMBEDQA_1B` embedding models. |
56 | | - - Introduced `OrchestrationEmbeddingRequest` for building requests fluently and `OrchestrationEmbeddingResponse#getEmbeddingVectors()` to retrieve embeddings. |
57 | | -- [Orchestration] Added new model `OrchestrationAiModel.MISTRAL_MEDIUM_INSTRUCT`. |
58 | | - |
| 15 | +- |
| 16 | + |
59 | 17 | ### 📈 Improvements |
60 | 18 |
|
61 | | -- [Orchestration] Added new API `DpiMasking#withRegex` to apply custom masking patterns. |
| 19 | +- |
62 | 20 |
|
63 | 21 | ### 🐛 Fixed Issues |
64 | 22 |
|
65 | | -- [Orchestration] Tool calling works on all models |
| 23 | +- |
0 commit comments