@wavequery/conductor
Version:
Modular LLM orchestration framework
13 lines (12 loc) • 559 B
TypeScript
import { LLMProvider, LLMConfig, LLMResponse, LLMFunction, LLMFunctionResponse } from "@/types/interfaces/llm";
export interface AnthropicProviderConfig {
apiKey: string;
defaultModel?: string;
}
export declare class AnthropicProvider implements LLMProvider {
private client;
private defaultModel;
constructor(config: AnthropicProviderConfig);
complete(prompt: string, options?: LLMConfig): Promise<LLMResponse>;
completeWithFunctions(prompt: string, functions: LLMFunction[], options?: LLMConfig): Promise<LLMFunctionResponse>;
}