Anthropic (Claude)
Anthropic's models are a strong option if you prioritize safety and ethical considerations in AI.
Built on their Constitutional AI framework, Claude is designed with a focus on being helpful, harmless, and honest, reducing the risk of harmful or biased outputs.
Anthropic also offers competitive performance on a variety of tasks, including text generation, summarization, and question answering, making it a versatile choice for different applications.
Setting up your agent
- After setting up your system, navigate to the "Add Panel" section and select your Anthropic plugin.
- Choose your desired model from the list of available options.
- Set a
System Message
, this will help guide your model if you'd like it to behave a certain way or do something specific. - Enter your OpenAI API key, which you can find here: https://console.anthropic.com/settings/keys
Once you've added your API key, your agent will be ready to use!
Models Available
Each model offers unique capabilities and costs. Consider your needs when selecting a model:
All Claude 3 models have a context window of 200,000 tokens.
- Haiku
- The fastest and cheapest model, ideal for quick responses and simple tasks like content filtering or basic information retrieval.
- Good choice if you prioritize speed and have a limited budget.
- Sonnet
- Balanced model offering faster performance than Opus while maintaining high intelligence.
- It's suitable for a wide range of tasks, including content creation, summarization, and analysis.
- Good balance of speed and capability.
- Opus
- The most powerful and intelligent model in the Claude family.
- It excels at complex tasks like in-depth analysis, coding, and reasoning.
- Good you require top-tier performance and have more demanding use cases.
Document upload ( and /append
command)
This plugin allows you to upload text-based documents (e.g., .txt, .doc, .md) to enhance your chat experience.
The plugin will:
- Convert your uploaded files into plain text.
- Store these text versions for your AI model to access.
When you want to use your document when chatting:
- Use the
/append
command in your chat - Followed by your document(s) filename(s)
/file filename.pdf
- And then any additional questions you have to add the documents to your context when chatting.
An example prompt with the command would look like:
/append /file filename.pdf What are the core themes I should be aware of in this document?
Note on longer context
If your document is too large to fit within your chosen model's context window it will be excluded from your message context and you will receive a warning.
For larger documents, consider using our Document Lookup (RAG) agent plugin.
Review the code
Want to review how this model is made, or use it as the base to creating a new agent plugin?
You can find the code that powers this plugin available here:
https://github.com/promptpanel/promptpanel/tree/main/plugins/anthropic