Skip to content

Commit 08e68b9

Browse files
committed
improve release notes
1 parent 5147b5a commit 08e68b9

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

docs/release_notes.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,33 @@
55
### 🚧 Known Issues
66

77
- Breaking change:
8-
- `ModuleResults.`
8+
- two fields in `OrchestrationModuleConfig` changed:
9+
- `inputTranslationConfig` is now of type `SAPDocumentTranslationInput`
10+
- `outputTranslationConfig` is now of type `SAPDocumentTranslationOutput`
11+
- when using `OrchestrationModuleConfig.withInputTranslationConfig()` and `OrchestrationModuleConfig.withOutputTranslationConfig()` consider the following diff:
12+
```diff
13+
var config = new OrchestrationModuleConfig("some prompt");
14+
config
15+
.withInputTranslationConfig(
16+
- SAPDocumentTranslation.create()
17+
- .type(SAP_DOCUMENT_TRANSLATION)
18+
- .config(SAPDocumentTranslationConfig.create().targetLanguage("en-US")))
19+
+ SAPDocumentTranslationInput.create()
20+
+ .type(SAPDocumentTranslationInput.TypeEnum.SAP_DOCUMENT_TRANSLATION)
21+
+ .config(SAPDocumentTranslationInputConfig.create().targetLanguage("en-US")))
22+
.withOutputTranslationConfig(
23+
- SAPDocumentTranslation.create()
24+
- .type(SAP_DOCUMENT_TRANSLATION)
25+
+ SAPDocumentTranslationOutput.create()
26+
+ .type(SAPDocumentTranslationOutput.TypeEnum.SAP_DOCUMENT_TRANSLATION)
27+
.config(
28+
- SAPDocumentTranslationConfig.create()
29+
- .targetLanguage("de-DE")
30+
+ SAPDocumentTranslationOutputConfig.create()
31+
+ .targetLanguage(
32+
+ SAPDocumentTranslationOutputTargetLanguage.create("de-DE"))
33+
.sourceLanguage("en-US")));
34+
```
935

1036
### 🔧 Compatibility Notes
1137

0 commit comments

Comments
 (0)