UNPKG

@promptbook/google

Version:

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

26 lines (25 loc) 1.14 kB
/** * Generator form factor represents an application that generates content or data based on user input or predefined rules. * This form factor is used for apps that produce outputs, such as text, images, or other media, based on provided input. * * @public exported from `@promptbook/core` */ export declare const GeneratorFormfactorDefinition: { readonly name: "GENERATOR"; readonly description: "Generates any kind (in HTML with possible scripts and css format) of content from input message"; readonly documentationUrl: "https://github.com/webgptorg/promptbook/discussions/184"; readonly pipelineInterface: { readonly inputParameters: readonly [{ readonly name: "inputMessage"; readonly description: "Input message to be image made from"; readonly isInput: true; readonly isOutput: false; }]; readonly outputParameters: readonly [{ readonly name: "result"; readonly description: "Result in HTML to be shown to user"; readonly isInput: false; readonly isOutput: true; }]; }; };