Skip to main content

Access fireworks.ai models via API

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_fireworks-0.1a0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

llm_fireworks-0.1a0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file llm_fireworks-0.1a0.tar.gz.

File metadata

  • Download URL: llm_fireworks-0.1a0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for llm_fireworks-0.1a0.tar.gz
Algorithm Hash digest
SHA256 972f227885e35bc43768dc4b1a8dc15a18794e9672f0cf322a44a545ef3fb6c2
MD5 e72dbcc11b1d6a003d2271db41302fa8
BLAKE2b-256 b73f68f5c9e6a7bf4f2df4ee9c43132bd899a5950b8fddc955213e922eddbf9a

See more details on using hashes here.

File details

Details for the file llm_fireworks-0.1a0-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_fireworks-0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 a538559fd4f01f25d47e3c09d8b32fe2cb33f5c765ccefe73b53fed3ae6f62ad
MD5 f482c4d5f412120f2c266f5950eefd9d
BLAKE2b-256 7509bc5c289188bf72c54085741bc29aeaf98186d6bb2c72fa0924cd512d6f9c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page