simonw / llm-reka

Access Reka models via the Reka API
Apache License 2.0
9 stars 1 forks source link

llm-reka

PyPI Changelog Tests License

Access Reka models via the Reka API

Installation

Install this plugin in the same environment as LLM.

llm install llm-reka

Usage

Get a Reka API key and configure it like this:

llm keys set reka
# Paste in the API key

Use llm -m reka-flash "prompt" to run prompts against reka-flash.

The other models supported are reka-core and reka-edge.

Core is the most expensive, then Flash, then Edge is cheapest. Pricing here.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-reka
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

llm install -e '.[test]'

To run the tests:

pytest