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.

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

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.0.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

llm_venice-0.0.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llm_venice-0.0.1.tar.gz
  • Upload date:
  • Size: 2.3 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.0.1.tar.gz
Algorithm Hash digest
SHA256 225d335262da441a53aea71b10aa1fd68673a7ab90083226785214c90849aecc
MD5 784d44b06f3bd612150725df85f3b5d3
BLAKE2b-256 8637958eca630bf9aa2e96e960ff96e13bb8c4d0979d5e78ed91066d6a096df8

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

  • Download URL: llm_venice-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.5 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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 526c5822ca51811b79747f74c0eb971360ef09e025bcc4158b71adb50dfe6b7a
MD5 b3c3eca6848cdae8f40fc943b4905695
BLAKE2b-256 cdb562b0f2e7e7170a1d2cd3098644111ef0195a0cfd6e269da5d81e482eb650

See more details on using hashes here.

Provenance

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

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

Attestations:

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