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 details)
Built Distribution
File details
Details for the file llm-command-r-0.1.tar.gz
.
File metadata
- Download URL: llm-command-r-0.1.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95d094aa415936ed2561038879fc1da298bb10c807c286ab908a7295d5f8462a |
|
MD5 | 86d8b9815e81739bd1a598211b0e1178 |
|
BLAKE2b-256 | 67c87f5b5a6403a0527065ba9248068446abb41813d7e1c48a2c0980e0342e12 |
File details
Details for the file llm_command_r-0.1-py3-none-any.whl
.
File metadata
- Download URL: llm_command_r-0.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 762a93ca40d2bc27da217cf9ad1f072512138a5a516a6a36ac05e9aea1ec4bb6 |
|
MD5 | 38d309303dcdc17c4c9d476e180cfc19 |
|
BLAKE2b-256 | 437d414639a84fcda0510feb281f77fd61c9de59d13eae5549609d89ee19db36 |