UNPKG

mlld

Version:

mlld: llm scripting language

18 lines (16 loc) 789 B
import { PipelineExecutor } from './chunk-IA26UJYI.mjs'; import { __name } from './chunk-NJQT543K.mjs'; // interpreter/eval/pipeline/index.ts async function executePipeline(baseOutput, pipeline, env, location, format, isRetryable = false, sourceFunction, hasSyntheticSource = false, parallelCap, delayMs, options) { const executor = new PipelineExecutor(pipeline, env, format, isRetryable, sourceFunction, hasSyntheticSource, parallelCap, delayMs); if (options?.returnStructured) { return await executor.execute(baseOutput, { returnStructured: true }); } return await executor.execute(baseOutput); } __name(executePipeline, "executePipeline"); export { executePipeline }; //# sourceMappingURL=pipeline-6P6GNLL2.mjs.map //# sourceMappingURL=pipeline-6P6GNLL2.mjs.map