@promptbook/remote-client
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
14 lines (13 loc) • 504 B
TypeScript
import type { ExpectationAmount } from '../../pipeline/PipelineJson/Expectations';
/**
* Counts number of lines in the text
*
* Note: This does not check only for the presence of newlines, but also for the length of the standard line.
*
* @public exported from `@promptbook/utils`
*/
export declare function countLines(text: string): ExpectationAmount;
/**
* TODO: [🥴] Implement counting in formats - like JSON, CSV, XML,...
* TODO: [🧠][✌️] Make some Promptbook-native token system
*/