Skip to content

simonw/llm-fireworks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Access fireworks.ai models via API

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages