Command Line Loom
Command Line Loom is a Python command-line tool for generating text using OpenAI's GPT-3 and other models. It includes a modular model system that allows for easy integration of new models and customization of existing ones.
Includes templates, look in the Turbo Text Transformer Prompts repository for more documentation and to find a list of the templates!
Installation
To install Command Line Loom, you can use pip:
pip install command-line-loom
or clone the repository and install it manually:
git clone https://github.com/fergusfettes/command-line-loom.git
cd command-line-loom
poetry install
Usage
Should be self-documenting in the interface. Just type 'help'.
Some node manipulation: vid
Watch this for more advanced usage: vid.
Configuration
Before using Command Line Loom, you need to set up a configuration file. This should happen automatically when you run the cll command for the first time.
This will create a configuration file in your home directory. See the documentation for each model to learn how to obtain an API key.
api_key: sk-<your api key here>
engine_params:
frequency_penalty: 0
logprobs: null
max_tokens: 1000
model: davinci
n: 4
presence_penalty: 0
stop: null
temperature: 0.9
top_p: 1
models:
- babbage
- davinci
- gpt-3.5-turbo-0301
- text-davinci-003
etc.
Contributing
If you find a bug or would like to contribute to Command Line Loom, please create a new GitHub issue or pull request.
Inspiration/Similar
Inspired by Loom.
License
Command Line Loom is released under the MIT License. See LICENSE for more information.
Metadata
Release files for command-line-loom 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| command_line_loom-0.0.8.tar.gz | 23.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| command_line_loom-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.7 kB
Release files / command_line_loom-0.0.8.tar.gz
| Download URL | command_line_loom-0.0.8.tar.gz |
|---|---|
| Size | 23.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
964beb0f052b57bf51ac48c69d721a50b1b328baca8057cf19b20ccc1f12949a
|
|
BLAKE2b-256 checksum How to use checksums |
e6d08bd05f2592a6a2b10a375d477cd31c35a48d71d96b746ccc17a9e1dfcd28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.6 Linux/5.19.0-41-generic
|
Release files / command_line_loom-0.0.8-py3-none-any.whl
| Download URL | command_line_loom-0.0.8-py3-none-any.whl |
|---|---|
| Size | 26.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f995fde2f5226cf674f93455d6bcb17a6effe727e66dcdf48fe7fae0bb4f8a0
|
|
BLAKE2b-256 checksum How to use checksums |
c315f67bee3d1db7e8054aa1e3ff83d255a0d13a3aafbef2051ddec8451e0bcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.6 Linux/5.19.0-41-generic
|