UNPKG

@promptbook/remote-client

Version:

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

24 lines (23 loc) 757 B
import type { InputParameterJson } from '../PipelineJson/ParameterJson'; import type { OutputParameterJson } from '../PipelineJson/ParameterJson'; /** * Defines the interface of a Promptbook pipeline, specifying its input and output parameters. * * Note: [🚉] This is fully serializable as JSON * * @see https://github.com/webgptorg/promptbook/discussions/171 */ export type PipelineInterface = { /** * Input parameters required by the pipeline. * * Note: Sorted alphabetically */ readonly inputParameters: ReadonlyArray<InputParameterJson>; /** * Output parameters produced by the pipeline. * * Note: Sorted alphabetically */ readonly outputParameters: ReadonlyArray<OutputParameterJson>; };