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

Uploaded Source

Built Distribution

llm_together-0.3-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for llm-together-0.3.tar.gz
Algorithm Hash digest
SHA256 f63391b9f7387b7c4578ca0cb80ff13a5eb3612704d40c1009534de46c3b59e1
MD5 d2216623ef75fa472fb9ec75dacfa847
BLAKE2b-256 6089a0f51d5b874fabda76389a9146a1f89a2f2002450bb7d228ee752c774062

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for llm_together-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 aae428f3610a0842f02efd8b2a7a863204155ab4f861dec0783f098c609b4f76
MD5 57663bcbb01f196df42c25c901681c37
BLAKE2b-256 ab1271dfa7351456b4d42f1b13ce16fbaa7be7adab88103e941179a46ff8322e

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