UNPKG

@promptbook/azure-openai

Version:

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

17 lines (16 loc) 917 B
import type { ExecutionTools } from '../execution/ExecutionTools'; import type { PipelineJson } from '../pipeline/PipelineJson/PipelineJson'; import type { PipelineString } from '../pipeline/PipelineString'; import type { PrepareAndScrapeOptions } from '../prepare/PrepareAndScrapeOptions'; import type { string_filename } from '../types/typeAliases'; import type { string_pipeline_url } from '../types/typeAliases'; /** * @see ./wizard.ts `getPipeline` method * * @private usable through `ptbk run` and `@promptbook/wizard` */ export declare function $getCompiledBook(tools: Required<Pick<ExecutionTools, 'fs' | 'fetch'>>, pipelineSource: string_filename | string_pipeline_url | PipelineString, options?: PrepareAndScrapeOptions): Promise<PipelineJson>; /** * TODO: Write unit test * Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment */