Terminal-based chat window with the chatGPT API
The application currently supports:
- Markdown on the
user
prompt andagent
response vim
key bindings
Other features added soon (see roadmap at the bottom)
The TUI application is powered by textualize, and can be launched with the shell command ai
.
- clone this repo
- Add a
secrets.yaml
file at the root level with you company id and api key pip install -e .
- You can now start the chat from any directory by typing the command
$ ai
esc
puts you into vim
cmd mode. i
or a
puts you back into insert mode.
pressing v
in cmd mode will open a vim editor so you and write multi-line prompts with full key bindings.
- Add
vim
key bindings to prompt input - Open
vim
for multi line prompts - Support multi key vim keybindings. e.g.
dd
ciw
- Initialize conversations from different common personas. e.g. travel agent
- Save conversations to a database