@promptbook/remote-client
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
12 lines (11 loc) • 401 B
TypeScript
import type { ExpectationAmount } from '../../pipeline/PipelineJson/Expectations';
/**
* Counts number of paragraphs in the text
*
* @public exported from `@promptbook/utils`
*/
export declare function countParagraphs(text: string): ExpectationAmount;
/**
* TODO: [🥴] Implement counting in formats - like JSON, CSV, XML,...
* TODO: [🧠][✌️] Make some Promptbook-native token system
*/