UNPKG

@promptbook/remote-client

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

18 lines (17 loc) 512 B
import type { ScriptLanguage } from '../../types/ScriptLanguage'; import type { CommonTaskJson } from './CommonTaskJson'; /** * Task for script execution * * Note: [🚉] This is fully serializable as JSON * * @see https://github.com/webgptorg/promptbook/discussions/77 */ export type ScriptTaskJson = CommonTaskJson & { readonly taskType: 'SCRIPT_TASK'; /** * Language of the script * - This is required only for taskType SCRIPT */ readonly contentLanguage?: ScriptLanguage; };