NOTE: This is still under active development. It will have bugs and frequent breaking changes.
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
For now, Python >=3.9 is required.
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
Metadata
Release files for gpt-repl 0.4.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| gpt-repl-0.4.13.tar.gz | 20.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gpt_repl-0.4.13-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.5 kB
Release files / gpt-repl-0.4.13.tar.gz
| Download URL | gpt-repl-0.4.13.tar.gz |
|---|---|
| Size | 20.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e660035a6ff5cd6a8f5f752cc169c0257b3429253445f3604e239cb46a66250
|
|
BLAKE2b-256 checksum How to use checksums |
89976804032251627ee2286c0394169e5b808a7308ece76c4f8fda62e1a10425
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.1
|
Release files / gpt_repl-0.4.13-py3-none-any.whl
| Download URL | gpt_repl-0.4.13-py3-none-any.whl |
|---|---|
| Size | 23.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
18aefc4ed00dac801d81eaa8cfd98ec29979bc02d10cc7d5af0bfdc42369fdc5
|
|
BLAKE2b-256 checksum How to use checksums |
969e7557cb88acac412d22ac735b2047786ca7edabdcd3939c570485a564ceba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.1
|
Security for gpt-repl 0.4.13
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.