UNPKG

@promptbook/azure-openai

Version:

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

11 lines (10 loc) 315 B
import type { UsageCounts } from '../Usage'; /** * Helper of usage compute * * @param content the content of prompt or response * @returns part of UsageCounts * * @private internal utility of LlmExecutionTools */ export declare function computeUsageCounts(content: string): Omit<UsageCounts, 'tokensCount'>;