llm together plugin
Project description
llm-together
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
Built Distribution
File details
Details for the file llm-together-0.4.tar.gz
.
File metadata
- Download URL: llm-together-0.4.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3aa9e27e9cfda7d5f2f79dcf56666b4e85c2deda2fe1b981cdad5c387464fad |
|
MD5 | c8c8d31aa29d79ee7bbeaab9cc67f3f0 |
|
BLAKE2b-256 | 274957627fc740a478135144f03b26604fcfe32fe24532624016366821961b35 |
File details
Details for the file llm_together-0.4-py3-none-any.whl
.
File metadata
- Download URL: llm_together-0.4-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.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42092bb599c68fbb464b945a6bc8514bddc8c34b70dad0cdf28b612e64a5ff68 |
|
MD5 | 5f7027348155cb4a53b21d6a3fb1d056 |
|
BLAKE2b-256 | 65c6c41aee3c6aa4249d7b25e870fae4e9c1423c2248019d5ba7347eae7b6cc6 |