Language Model
The Language Model interface provides a standardized way to interact with different LLM providers.
Usage
import { AnthropicModel } from 'agentscript-ai/anthropic';
const llm = AnthropicModel({
model: 'claude-3-5-sonnet-latest',
apiKey: process.env.ANTHROPIC_API_KEY,
});