UNPKG

@sap-ai-sdk/orchestration

Version:

SAP Cloud SDK for AI is the official Software Development Kit (SDK) for **SAP AI Core**, **SAP Generative AI Hub**, and **Orchestration Service**.

24 lines 895 B
/** * This selector allows you to define the scope of translation, such as specific placeholders or messages with specific roles. For example, `{"category": "placeholders", "items": ["user_input"], "source_language": "de-DE"}` targets the value of "user_input" in `placeholder_values` specified in the request payload; and considers the value to be in German. * */ export type SAPDocumentTranslationApplyToSelector = { /** * Category to apply translation to. */ category: 'placeholders' | 'template_roles'; /** * List of placeholders or roles to apply translation to * @example [ * "groundingInput", * "inputContext" * ] */ items: string[]; /** * Language of the text to be translated. * @example "de-DE" */ source_language?: string; }; //# sourceMappingURL=sap-document-translation-apply-to-selector.d.ts.map