@promptbook/azure-openai
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
19 lines (18 loc) • 930 B
TypeScript
import type { PipelineJson } from '../pipeline/PipelineJson/PipelineJson';
import type { PipelineString } from '../pipeline/PipelineString';
/**
* Converts promptbook in JSON format to string format
*
* @deprecated TODO: [🥍][🧠] Backup original files in `PipelineJson` same as in Promptbook.studio
* @param pipelineJson Promptbook in JSON format (.bookc)
* @returns Promptbook in string format (.book.md)
* @public exported from `@promptbook/core`
*/
export declare function pipelineJsonToString(pipelineJson: PipelineJson): PipelineString;
/**
* TODO: [🛋] Implement new features and commands into `pipelineJsonToString` + `taskParameterJsonToString` , use `stringifyCommand`
* TODO: [🧠] Is there a way to auto-detect missing features in pipelineJsonToString
* TODO: [🏛] Maybe make some markdown builder
* TODO: [🏛] Escape all
* TODO: [🧠] Should be in generated .book.md file GENERATOR_WARNING
*/