@promptbook/gemini
Version:
It's time for a paradigm shift. The future of software in plain English, French or Latin
11 lines (10 loc) • 363 B
TypeScript
import type { PromptResultUsageCounts } from '../PromptResultUsage';
/**
* Helper of usage compute
*
* @param content the content of prompt or response
* @returns part of PromptResultUsageCounts
*
* @private internal utility of LlmExecutionTools
*/
export declare function computeUsageCounts(content: string): Omit<PromptResultUsageCounts, 'tokensCount'>;