Supported models
claude-3-opus-20240229claude-3-sonnet-2024022claude-3-haiku-20240307claude-2.1claude-2claude-instant-1.2
Parameters
An Anthropic LLM interface can have the following parameters:Usage
Here is how you setup an interface to interact with your Anthropic models.- w/ .env
- w/o .env
1
Create a
.env file with you ANTHROPIC_API_KEY2
In your python code, import LLM from llmstudio.
3
Create your llm instance.
4
Optional: You can add your parameters as follows:
You are done setting up your Anthropic LLM!
What’s next?
LLM.chat()
Learn how to send messeges and recieve responses next!
Tool calling Agent
Learn how to build a tool calling agent using llmstudio.