What is Anthropic Claude?
Claude is Anthropic’s family of large language models known for sophisticated reasoning, nuanced analysis, and helpful, harmless, and honest responses. Claude models excel at complex tasks like analysis, summarization, creative writing, and detailed explanations.Key features
- Advanced reasoning: Superior performance on complex analytical tasks
- Long context: Support for extended conversations and large documents
- Tool use: Built-in function calling capabilities
- Safety-focused: Designed to be helpful, harmless, and honest
- Vision support: Analyze images with Claude 3 models
Prerequisites
To use Anthropic functions, you need:- An Anthropic API key from console.anthropic.com
- API key configured in your database (see configuration section below)
Quick start
Generate a completion
Generate text with Claude:Use a system prompt
Guide Claude’s behavior with a system prompt:List available models
See which Claude models you can use:Configuration
Store your Anthropic API key securely in the database:Available functions
Generation
anthropic_generate(): generate text with Claude models
Model management
anthropic_list_models(): list available Claude models
Available models
Anthropic offers several Claude model families:- Claude 3.5 Sonnet (
claude-3-5-sonnet-20241022): Best balance of intelligence and speed - Claude 3 Opus (
claude-3-opus-20240229): Most powerful for complex tasks - Claude 3 Sonnet (
claude-3-sonnet-20240229): Balance of intelligence and speed - Claude 3 Haiku (
claude-3-haiku-20240307): Fast and cost-effective