@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
14 lines (13 loc) • 420 B
TypeScript
import type { ExpectationAmount } from '../../pipeline/PipelineJson/Expectations';
/**
* Split text into sentences
*
* @public exported from `@promptbook/utils`
*/
export declare function splitIntoSentences(text: string): ReadonlyArray<string>;
/**
* Counts number of sentences in the text
*
* @public exported from `@promptbook/utils`
*/
export declare function countSentences(text: string): ExpectationAmount;