@promptbook/langtail
Version:
It's time for a paradigm shift. The future of software in plain English, French or Latin
13 lines (12 loc) • 436 B
TypeScript
/**
* Promptbook is the **core concept of this package**.
* It represents a series of tasks chained together to form a pipeline / one big task with input and result parameters.
*
* @see @@@ https://github.com/webgptorg/promptbook#promptbook
*/
export type PipelineString = string & {
readonly _type: 'Promptbook';
};
/**
* TODO: !! Better validation (validatePipelineString) or remove branded type and make it just string
*/