Command line REPL for ChatGPT
Project description
gpt-repl
Interactively play with GPT-based tools from the command line
Description
gpt-repl
is a REPL interface for interacting with GPT-based tools. The base mode is synth-chat
which mimics ChatGPT functionality using the normal OpenAI GPT-3 API and iterative self-summary.
Install
pip install -U gpt-repl
If you don't have an OpenAI API key create one here and set it:
export OPENAI_API_KEY="<your api key>"
Usage
gpt-repl @thread-name [-m mode-name]
Type .help
for a list of commands and keyboard shortcuts.
Use gpt-repl modes
to list available REPL modes and gpt-repl threads
to list open threads.
Custom Modes
Add a Python file that looks like this to $GPT_REPL_CONFIG_PATH/plugins/
. By default this will be ~/.config/gpt_repl/plugins/
.
See gpt_repl/modes for more complete examples.
Screenshot
Project details
Release history Release notifications | RSS feed
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
Hashes for gpt_repl-0.4.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 049cdd53fee95c79ac0110ffb88f43aac29711577bd7d04942e8d06672925ed3 |
|
MD5 | c64492709c0b539f5d8824241741cb94 |
|
BLAKE2b-256 | 3de96381beb3312bf650007fcdb68da928ab8d99a4bae61bfd8615d57fe7c5b7 |