Access Reka models via the Reka API
Install this plugin in the same environment as LLM.
llm install llm-reka
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.
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