UNPKG

@promptbook/utils

Version:

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

20 lines (19 loc) 876 B
import type { PipelineString } from './PipelineString'; /** * Tag function for notating a pipeline with a book\`...\ notation as template literal * * Note: There are 3 similar functions: * 1) `prompt` for notating single prompt exported from `@promptbook/utils` * 2) `promptTemplate` alias for `prompt` * 3) `book` for notating and validating entire books exported from `@promptbook/utils` * * @param strings The static string parts of the template literal * @param values The dynamic values embedded within the template literal used as data * @returns the pipeline string * @public exported from `@promptbook/core` */ export declare function book(strings: TemplateStringsArray, ...values: Array<string>): PipelineString; /** * TODO: [🧠][🈴] Where is the best location for this file * Note: [💞] Ignore a discrepancy between file name and entity name */