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'
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.1.tar.gz
(7.2 kB
view hashes)
Built Distribution
Close
Hashes for llm_claude_3-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f9e564ca35558082eb099eb68ed39ea3aba0bbec753772d52f5967bc5484834 |
|
MD5 | 952d891ec9c45aa5bb6e9872e0f3fab0 |
|
BLAKE2b-256 | 1d671b93ef1d705a1f90833ec449103baffc81b0738b6484a2917ec07db2c531 |