@promptbook/azure-openai
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
23 lines (22 loc) • 754 B
TypeScript
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>;
};