2 unstable releases
0.2.0 | Aug 8, 2023 |
---|---|
0.1.0 | Aug 7, 2023 |
#78 in #artificial-intelligence
1MB
222 lines
Terminal Chat Tool
A simple chat tool that allows user to chat with OpenAI from terminal.
Install
This tool can be installed using cargo install terminal_chat
.
Set up
- Obtain API key from OpenAI.
- Add an environment variable with name
OPENAI_API_KEY
to your system.
Usage
- To start the app: type
terminal_chat
in your terminal. - To chat with AI: type in your message and press
enter
orreturn
. - To exit the app: press
esc
.
Special Feature
- Code Blocks and inline code are displayed with a different background.
Dependencies
~8–21MB
~317K SLoC