@promptbook/langtail
Version:
It's time for a paradigm shift. The future of software in plain English, French or Latin
14 lines (13 loc) • 634 B
TypeScript
import type { PipelineJson } from '../../pipeline/PipelineJson/PipelineJson';
import type { PipelineCollection } from '../PipelineCollection';
/**
* Creates PipelineCollection from array of PipelineJson or PipelineString
*
* Note: Functions `collectionToJson` and `createCollectionFromJson` are complementary
* Note: Syntax, parsing, and logic consistency checks are performed on all sources during build
*
* @param promptbookSources
* @returns PipelineCollection
* @public exported from `@promptbook/core`
*/
export declare function createCollectionFromJson(...promptbooks: ReadonlyArray<PipelineJson>): PipelineCollection;