UNPKG

@gptp/core

Version:

Library to supercharge your use of large language models

13 lines (12 loc) 591 B
import { PromptTemplatePipelineJson } from '../types/PromptTemplatePipelineJson/PromptTemplatePipelineJson'; import { PromptTemplatePipelineString } from '../types/PromptTemplatePipelineString'; /** * Parse prompt template pipeline from string format to JSON format * * Note: This function does not validate logic of the pipeline only the syntax */ export declare function promptTemplatePipelineStringToJson(promptTemplatePipelineString: PromptTemplatePipelineString): PromptTemplatePipelineJson; /** * TODO: Report here line/column of error * TODO: Use spaceTrim more effectively */