llm-fireworks

Access fireworks.ai models via API


License
Apache-2.0
Install
pip install llm-fireworks==0.1a0

Documentation

llm-fireworks

PyPI Changelog Tests License

Access fireworks.ai models via API

Installation

Install this plugin in the same environment as LLM.

llm install llm-fireworks

Usage

Obtain a Fireworks API key and save it like this:

llm keys set fireworks
# <Paste key here>

Run llm models to get a list of models.

Run prompts like this:

llm -m fireworks/models/llama-v3-70b-instruct 'five great names for a pet ocelot'

Development

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

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

Now install the dependencies and test dependencies:

llm install -e '.[test]'

To run the tests:

pytest