Access the Cohere Command R family of models
Project description
llm-command-r
Access the Cohere Command R family of models via the Cohere API
Installation
Install this plugin in the same environment as LLM.
llm install llm-command-r
Configuration
You will need a Cohere API key. Configure it like this:
llm keys set cohere
# Paste key here
Usage
This plugin adds two models.
llm -m command-r 'Say hello from Command R'
llm -m command-r-plus 'Say hello from Command R Plus'
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-command-r
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-command-r-0.1.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for llm_command_r-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 762a93ca40d2bc27da217cf9ad1f072512138a5a516a6a36ac05e9aea1ec4bb6 |
|
MD5 | 38d309303dcdc17c4c9d476e180cfc19 |
|
BLAKE2b-256 | 437d414639a84fcda0510feb281f77fd61c9de59d13eae5549609d89ee19db36 |