Skip to content

Commit 21dad50

Browse files
committed
add comment in release notes
1 parent a25279a commit 21dad50

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/release_notes.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
- Two fields in `OrchestrationModuleConfig` changed:
1717
- `inputTranslationConfig` is now of type `SAPDocumentTranslationInput`
1818
- `outputTranslationConfig` is now of type `SAPDocumentTranslationOutput`
19-
- When using `OrchestrationModuleConfig.withInputTranslationConfig()` and `OrchestrationModuleConfig.withOutputTranslationConfig()` consider the following diff:
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):
2020
```diff
2121
var config = new OrchestrationModuleConfig("some prompt");
2222
config
@@ -26,7 +26,10 @@
2626
- .config(SAPDocumentTranslationConfig.create().targetLanguage("en-US")))
2727
+ SAPDocumentTranslationInput.create()
2828
+ .type(SAPDocumentTranslationInput.TypeEnum.SAP_DOCUMENT_TRANSLATION)
29-
+ .config(SAPDocumentTranslationInputConfig.create().targetLanguage("en-US")))
29+
+ .config(
30+
+ SAPDocumentTranslationInputConfig.create()
31+
+ .targetLanguage("en-US")
32+
+ .applyTo(null)))
3033
.withOutputTranslationConfig(
3134
- SAPDocumentTranslation.create()
3235
- .type(SAP_DOCUMENT_TRANSLATION)

0 commit comments

Comments
 (0)