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.2.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for llm_claude_3-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 930f30c4ff54aa12a984ed51bfd3c88c12791a791ba3a2cecdf61eb4af0e4d6c |
|
MD5 | e4567928566f65ddf49c47b83e11cf86 |
|
BLAKE2b-256 | 3a1c64b732834ba6f65ad942729f5023db9c9f14fa09f53ef1c9a0e7c4769ea7 |