@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**.
37 lines • 1.1 kB
TypeScript
/**
* Input Translation module result
*/
export type InputTranslationModuleResult = {
/**
* Status message describing the translation operation outcome.
* @example "Translated successfully placeholders 'issue_title', 'issue_description'."
*/
message: string;
data?: {
/**
* @deprecated
* @example "[{'role': 'user', 'content': 'translated content'}, ...]"
*/
translated_template?: string;
/**
* @example {
* "user": [
* "translated user content",
* "another translated user content"
* ],
* "system": [
* "translated system message"
* ]
* }
*/
translated_template_roles?: Record<string, string[]>;
/**
* @example {
* "groundingInput": "translated grounding input",
* "inputContext": "translated input context"
* }
*/
translated_placeholders?: Record<string, string>;
};
};
//# sourceMappingURL=input-translation-module-result.d.ts.map