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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: llm-together-0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 084ca9066358c27a7e30a1fab3c6edb3f5a60c25d4fd81d6f86a0b20655227ee
MD5 a0c8afe7500b9e33b1507f9823b518be
BLAKE2b-256 139e93573d7338d20ced333369cc73dcbb63cadbad83e6ebec3c4089ea64cc07

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llm_together-0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7d51f13ef8b26f094bfb2b2487154053affb40f1147c30f91eaa3541b23a1be0
MD5 332e7f0eb52fcd2d32774183c37a3255
BLAKE2b-256 37b8d34d7d45efdb57ce9b45e34a20e9188636eace23ffe290bf2d847055c686

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