Skip to main content

No project description provided

Project description

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.

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

command_line_loom-0.0.8.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

command_line_loom-0.0.8-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

Details for the file command_line_loom-0.0.8.tar.gz.

File metadata

  • Download URL: command_line_loom-0.0.8.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.6 Linux/5.19.0-41-generic

File hashes

Hashes for command_line_loom-0.0.8.tar.gz
Algorithm Hash digest
SHA256 964beb0f052b57bf51ac48c69d721a50b1b328baca8057cf19b20ccc1f12949a
MD5 4d5c8c9a5d083583721584457b2bd8d4
BLAKE2b-256 e6d08bd05f2592a6a2b10a375d477cd31c35a48d71d96b746ccc17a9e1dfcd28

See more details on using hashes here.

File details

Details for the file command_line_loom-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: command_line_loom-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 26.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.6 Linux/5.19.0-41-generic

File hashes

Hashes for command_line_loom-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 0f995fde2f5226cf674f93455d6bcb17a6effe727e66dcdf48fe7fae0bb4f8a0
MD5 c09212b2ebc0baff770fd3feb56296ea
BLAKE2b-256 c315f67bee3d1db7e8054aa1e3ff83d255a0d13a3aafbef2051ddec8451e0bcb

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