LLM access to Claude 3 by Anthropic
Project description
llm-claude-3
LLM access to Claude 3 by Anthropic
Installation
Install this plugin in the same environment as LLM.
llm install llm-claude-3
Usage
First, set an API key for Claude 3:
llm keys set claude
# Paste key here
Run llm models
to list the models, and llm models --options
to include a list of their options.
Run prompts like this:
llm -m claude-3-opus 'Fun facts about pelicans'
llm -m claude-3-sonnet 'Fun facts about walruses'
llm -m claude-3-haiku 'Fun facts about armadillos'
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-claude-3
python3 -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
llm install -e '.[test]'
To run the tests:
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
llm-claude-3-0.3.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for llm_claude_3-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7bd1ca94f012137a1c002dff84f34735028b02123003a68ad1ebcc1cf5ab8a5 |
|
MD5 | e478f99a69fa823c6c3e36893d688e37 |
|
BLAKE2b-256 | bb7bc32053b853c2fc6dad705064a942a6b81566ca867bd0e5ac4c28d1093ce6 |