@promptbook/azure-openai
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
15 lines (14 loc) • 740 B
TypeScript
import type { PipelineString } from './PipelineString';
/**
* Function `validatePipelineString` will validate the if the string is a valid pipeline string
* It does not check if the string is fully logically correct, but if it is a string that can be a pipeline string or the string looks completely different.
*
* @param {string} pipelineString the candidate for a pipeline string
* @returns {PipelineString} the same string as input, but validated as valid
* @throws {ParseError} if the string is not a valid pipeline string
* @public exported from `@promptbook/core`
*/
export declare function validatePipelineString(pipelineString: string): PipelineString;
/**
* TODO: [🧠][🈴] Where is the best location for this file
*/