Skip to main content

LLM plugin to access models available via the Venice API

Project description

llm-venice

PyPI Changelog Tests License

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

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/llama-3.3-70b "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.1.tar.gz (6.8 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.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llm_venice-0.1.1.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for llm_venice-0.1.1.tar.gz
Algorithm Hash digest
SHA256 eaa42fa140553a0b1198e02f62f02959978c07e1005192371727c9348e789d15
MD5 6c94c0adda036bdd403a469c611f7187
BLAKE2b-256 2674156c829d3938b5bef0c9369487b797c4477643585a4629fac0c9428badb7

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_venice-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: llm_venice-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for llm_venice-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ef18aa905d7eca35106d590f18387f7e6d09078a2bcd3d568a0d16b19085addc
MD5 b97bcc8224cc5afa8b990a35b81322a4
BLAKE2b-256 1a82fe6ef15d3b652faeefff0d009ca99ba6d429f9392adca63c660acfb5f0c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_venice-0.1.1-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