llm-credit-sdk
Version:
SDK for estimating and reconciling LLM token costs using a credit system.
10 lines • 481 B
TypeScript
/**
* Token Extractors Library
*
* This library provides standardized token extractors for different LLM providers.
* Each extractor implements the TokenExtractor interface and can extract actual
* token usage from provider-specific response formats.
*/
export { openAIChatExtractor, openAIGenericExtractor, OPENAI_EXTRACTORS, type OpenAIChatCompletionResponse } from './openai';
export type { TokenExtractor, TokenUsage } from '../types';
//# sourceMappingURL=index.d.ts.map