promptly-ai
Version:
A universal template-based prompt management system for LLM applications
14 lines • 514 B
TypeScript
import { LLMAdapter, LLMConfig, LLMUsageResult } from '../types';
export declare class AnthropicAdapter implements LLMAdapter {
readonly name = "anthropic";
private readonly client;
constructor(apiKey?: string);
supportsModel(model: string): boolean;
generate(config: LLMConfig): Promise<LLMUsageResult>;
private validateApiKey;
private initializeClient;
private generateWithStreaming;
private generateStandard;
private buildResult;
}
//# sourceMappingURL=anthropic.d.ts.map