Skip to main content

llm together plugin

Project description

llm-together

PyPI Changelog License

Plugin for LLM adding support for Together

Installation

Install this plugin in the same environment as LLM.

llm install llm-together

Configuration

You will need an API key from Together. You can obtain one by creating an account and going to 'API Keys'.

You can set that as an environment variable called TOGETHER_API_KEY, or add it to the llm set of saved keys using:

llm keys set together
Enter key: <paste key here>

Usage

This plugin adds together models that support inference without VM start to increase speed.

llm models list
llm -m <one-together-model> "Three names for my new ai project"

Development

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

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

Now install the dependencies and test dependencies:

pip install -e '.[test]'

Test

Execute unit test with:

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-together-0.2.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

llm_together-0.2-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file llm-together-0.2.tar.gz.

File metadata

  • Download URL: llm-together-0.2.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for llm-together-0.2.tar.gz
Algorithm Hash digest
SHA256 28dfe53baee3d067c82320dbb60f46a57f85d65b428f702cd9fc580265d4c68f
MD5 2e66e5ed0690c3ace345b31555aaf7b5
BLAKE2b-256 0b88bebdae52dc49abf376711c72506fc2c8065232a668ee902547c32139fcca

See more details on using hashes here.

File details

Details for the file llm_together-0.2-py3-none-any.whl.

File metadata

  • Download URL: llm_together-0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for llm_together-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2e72e08e9bfe807400e58687d8fa06b320140526a744a837119dc5b68644f38d
MD5 38810f9458580056ba12ae3d4b17df03
BLAKE2b-256 48a5606d7e7dbbfc7197e2cbff14868de6063e29abfb8a6f813f5020d7a1546b

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