Skip to main content

LLM plugin to access models available via the Venice API

Project description

llm-venice

LLM plugin to access models available via the Venice AI API. Venice API access is currently in private beta.

PyPI Changelog Tests License

Installation

Install the LLM command-line utility, and install this plugin in the same environment as llm:

llm install llm-venice

Configuration

Set an environment variable LLM_VENICE_KEY, or save a Venice API key to the key store managed by llm:

llm keys set venice

Usage

Run a prompt:

llm --model venice/nous-theta-8b "Why is the earth round?"

Start an interactive chat session:

llm chat --model venice/llama-3.1-405b

Update the list of available models from the Venice API:

llm venice refresh

Read the llm docs for more usage options.

Development

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

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

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_venice-0.1.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_venice-0.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file llm_venice-0.1.0.tar.gz.

File metadata

  • Download URL: llm_venice-0.1.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for llm_venice-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dc212a2566be35410fdb31574a9c1a66ba784f161f35c8292473b1560c130a64
MD5 9b0b198edf92af53359003296e38899c
BLAKE2b-256 36058ebf9a3784dd499279b5572a6b56e77420b7b389fbc0e418aff435d739fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_venice-0.1.0.tar.gz:

Publisher: release.yml on ar-jan/llm-venice

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llm_venice-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: llm_venice-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for llm_venice-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa48eb17db4a07ee5b8e53004b3b676a60306889d0523cad315cc0a9f7eb37e0
MD5 a2224e9b4e202aa13e66ef5661e0a58b
BLAKE2b-256 f1906c9c9bfde64ec3302274e8d31d1f1bbd08209efda38e2226d96ce88a1c30

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_venice-0.1.0-py3-none-any.whl:

Publisher: release.yml on ar-jan/llm-venice

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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