@promptbook/vercel
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
21 lines (20 loc) • 963 B
TypeScript
import type { string_book } from '../book-2.0/agent-source/string_book';
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>): string_book & PipelineString;
/**
* TODO: [🧠][🈴] Where is the best location for this file
* Note: [💞] Ignore a discrepancy between file name and entity name
*/