Package com.sap.ai.sdk.orchestration
Interface TranslationConfig
- All Known Implementing Classes:
TranslationConfig.Input,TranslationConfig.Output
public interface TranslationConfig
Configuration helper for SAP Document Translation.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classInput configuration for translation.static final classOutput configuration for translation.static enumSupported values foritems[]whencategory=template_roles. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic TranslationConfig.InputtranslateInputTo(String targetLanguage) Create a new input translation configuration.static TranslationConfig.OutputtranslateOutputTo(String targetLanguage) Create a new output translation configuration.
-
Method Details
-
translateInputTo
Create a new input translation configuration.- Parameters:
targetLanguage- The target language code
-
translateOutputTo
Create a new output translation configuration.- Parameters:
targetLanguage- The target language code
-