daggerai
Version:
A simple and powerful Typescript based agent framework to help businesses thrive in the AI Agent revolution.
13 lines • 487 B
TypeScript
import Anthropic from '@anthropic-ai/sdk';
import { LLM, LLMParams } from '../llm/base';
export declare class ChatAnthropic implements LLM {
api: Anthropic;
private params;
constructor(params: ChatAhntropicParams);
invoke(prompt: string): Promise<string>;
}
export interface ChatAhntropicParams extends LLMParams {
model: 'claude-3-haiku-20240307' | 'claude-3-sonnet-20240229' | 'claude-3-opus-20240229';
apiKey?: string;
}
//# sourceMappingURL=anthropic.d.ts.map