UNPKG

@promptbook/azure-openai

Version:

Promptbook: Run AI apps in plain human language across multiple models and platforms

19 lines (18 loc) 814 B
import type { PipelineJson } from '../pipeline/PipelineJson/PipelineJson'; /** * Determine if the pipeline is fully prepared * * @see https://github.com/webgptorg/promptbook/discussions/196 * * @public exported from `@promptbook/core` */ export declare function isPipelinePrepared(pipeline: PipelineJson): boolean; /** * TODO: [🔃][main] If the pipeline was prepared with different version or different set of models, prepare it once again * TODO: [🐠] Maybe base this on `makeValidator` * TODO: [🧊] Pipeline can be partially prepared, this should return true ONLY if fully prepared * TODO: [🧿] Maybe do same process with same granularity and subfinctions as `preparePipeline` * - [🏍] ? Is context in each task * - [♨] Are examples prepared * - [♨] Are tasks prepared */