Skip to main content

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

PyPi License

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

Screen Shot 2022-12-16 at 6 09 31 PM

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpt-repl-0.4.13.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gpt_repl-0.4.13-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file gpt-repl-0.4.13.tar.gz.

File metadata

  • Download URL: gpt-repl-0.4.13.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for gpt-repl-0.4.13.tar.gz
Algorithm Hash digest
SHA256 1e660035a6ff5cd6a8f5f752cc169c0257b3429253445f3604e239cb46a66250
MD5 6f00987ef14777522f9e51a28d95960d
BLAKE2b-256 89976804032251627ee2286c0394169e5b808a7308ece76c4f8fda62e1a10425

See more details on using hashes here.

File details

Details for the file gpt_repl-0.4.13-py3-none-any.whl.

File metadata

  • Download URL: gpt_repl-0.4.13-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for gpt_repl-0.4.13-py3-none-any.whl
Algorithm Hash digest
SHA256 18aefc4ed00dac801d81eaa8cfd98ec29979bc02d10cc7d5af0bfdc42369fdc5
MD5 fe03ad42ca82275db5ef49be71244554
BLAKE2b-256 969e7557cb88acac412d22ac735b2047786ca7edabdcd3939c570485a564ceba

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.21

2 files

0.4.20

2 files

0.4.19

2 files

0.4.18

2 files

0.4.17

2 files

0.4.16

2 files

0.4.15

2 files

0.4.14

2 files

This release

0.4.13 This release

2 files

0.4.12

2 files

0.4.10

2 files

0.4.9

2 files

0.4.8

2 files

0.4.7

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page