UNPKG

@promptbook/azure-openai

Version:

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

11 lines (10 loc) 327 B
import type { ExpectationAmount } from '../../pipeline/PipelineJson/Expectations'; /** * Counts number of words in the text * * @public exported from `@promptbook/utils` */ export declare function countWords(text: string): ExpectationAmount; /** * TODO: [🥴] Implement counting in formats - like JSON, CSV, XML,... */