Skip to main content

LLM plugin to access Venice.AI-hosted models

Project description

llm-venice

LLM plugin to access Venice AI models.

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 llm's keys:

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 docs for more llm 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.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

llm_venice-0.0.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for llm_venice-0.0.0.tar.gz
Algorithm Hash digest
SHA256 d0d71c0addcf7103112e43bd41105be5f6da7e4a0fb3685c78d9d4d3710fc75d
MD5 ce171abbae3b58d250c329f07e8ffa2b
BLAKE2b-256 fc8a0771e0bdb7dc7631ce8722ba59658d1a52711035c629b0c73c525584b9ad

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for llm_venice-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 074eb54625725b4ee848f4368b2f5fd078e35d672ee9ea5c0f5e0dac56b54e24
MD5 b75d5267cc0de1f97d4ef4156587f5c3
BLAKE2b-256 482db713dd0e7af58fd38c09bb27a5273745b8b9e1cd6d8497b7af28fd2ea6ce

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