Skip to content

Commit d16db76

Browse files
authored
feat: Release 1.12.0 (#624)
* Update to version 1.12.0 * Reset release notes * Update to version 1.13.0-SNAPSHOT
1 parent 93ac0cc commit d16db76

File tree

8 files changed

+12
-54
lines changed

8 files changed

+12
-54
lines changed

core-services/document-grounding/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.sap.ai.sdk</groupId>
66
<artifactId>sdk-parent</artifactId>
7-
<version>1.12.0-SNAPSHOT</version>
7+
<version>1.13.0-SNAPSHOT</version>
88
<relativePath>../../pom.xml</relativePath>
99
</parent>
1010
<artifactId>document-grounding</artifactId>

core-services/prompt-registry/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.sap.ai.sdk</groupId>
66
<artifactId>sdk-parent</artifactId>
7-
<version>1.12.0-SNAPSHOT</version>
7+
<version>1.13.0-SNAPSHOT</version>
88
<relativePath>../../pom.xml</relativePath>
99
</parent>
1010
<artifactId>prompt-registry</artifactId>

core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.sap.ai.sdk</groupId>
66
<artifactId>sdk-parent</artifactId>
7-
<version>1.12.0-SNAPSHOT</version>
7+
<version>1.13.0-SNAPSHOT</version>
88
</parent>
99
<artifactId>core</artifactId>
1010
<name>AI Core client</name>

docs/release_notes.md

Lines changed: 5 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -8,58 +8,16 @@
88

99
### 🔧 Compatibility Notes
1010

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+
-
5012

5113
### ✨ New Functionality
5214

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+
5917
### 📈 Improvements
6018

61-
- [Orchestration] Added new API `DpiMasking#withRegex` to apply custom masking patterns.
19+
-
6220

6321
### 🐛 Fixed Issues
6422

65-
- [Orchestration] Tool calling works on all models
23+
-

foundation-models/openai/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.sap.ai.sdk</groupId>
66
<artifactId>sdk-parent</artifactId>
7-
<version>1.12.0-SNAPSHOT</version>
7+
<version>1.13.0-SNAPSHOT</version>
88
<relativePath>../../pom.xml</relativePath>
99
</parent>
1010
<groupId>com.sap.ai.sdk.foundationmodels</groupId>

orchestration/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.sap.ai.sdk</groupId>
66
<artifactId>sdk-parent</artifactId>
7-
<version>1.12.0-SNAPSHOT</version>
7+
<version>1.13.0-SNAPSHOT</version>
88
</parent>
99
<artifactId>orchestration</artifactId>
1010
<name>Orchestration client</name>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.sap.ai.sdk</groupId>
55
<artifactId>sdk-parent</artifactId>
6-
<version>1.12.0-SNAPSHOT</version>
6+
<version>1.13.0-SNAPSHOT</version>
77
<packaging>pom</packaging>
88
<name>Parent pom</name>
99
<description>SAP Cloud SDK for AI is the official Software Development Kit (SDK) for SAP AI Core, SAP Generative AI Hub, and Orchestration Service. The parent pom defines dependency versions and plugin configurations</description>

sample-code/spring-app/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.sap.ai.sdk</groupId>
66
<artifactId>sdk-parent</artifactId>
7-
<version>1.12.0-SNAPSHOT</version>
7+
<version>1.13.0-SNAPSHOT</version>
88
<relativePath>../../pom.xml</relativePath>
99
</parent>
1010
<groupId>com.sap.ai.sdk.app</groupId>

0 commit comments

Comments
 (0)