UNPKG

@promptbook/google

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

26 lines (25 loc) 1.22 kB
/** * Translator is form of app that transforms input text from one form to another, * such as language translation, style conversion, tone modification, or other text transformations. * * @public exported from `@promptbook/core` */ export declare const TranslatorFormfactorDefinition: { readonly name: "TRANSLATOR"; readonly description: "A text transformation system that converts input content into different forms,\n including language translations, paraphrasing, style conversions, and tone adjustments.\n This form factor takes one input and produces one transformed output."; readonly documentationUrl: "https://github.com/webgptorg/promptbook/discussions/175"; readonly pipelineInterface: { readonly inputParameters: readonly [{ readonly name: "inputMessage"; readonly description: "Input message to be translated"; readonly isInput: true; readonly isOutput: false; }]; readonly outputParameters: readonly [{ readonly name: "outputMessage"; readonly description: "Translated output message"; readonly isInput: false; readonly isOutput: true; }]; }; };