An AI-powered chat system that allows users
to communicate through a terminal interface.
Uses ChatGPT's API by OpenAI.
Table of Contents
This project is an AI-powered chat system that is accessible through a terminal interface. It allows users to communicate with an artificial intelligence in a way that simulates human conversation. The AI is trained on a large dataset of human conversations and is designed to respond in a natural and engaging way. This terminal app is meant to be a fun and interactive way to learn more about AI and how it can be used to enhance human communication.
To get a local copy up and running follow these simple steps.
-
Clone the repo
git clone https://github.com/kamillobinski/chatgpt-terminal.git
-
Create a .env file in the root directory of the project
cd ./chatgpt-terminal type NUL >> .env # Windows touch .env # UNIX/Linux
-
Add the required environment variables to the .env file - follow this guide
AI_SESSION_TOKEN=session_token_value
-
Install required packages via requirements.txt
pip install -r requirements.txt
-
Execute app
cd ./app python main.py
Distributed under the GPL-2.0 License. See LICENSE
for more information.
This project involves the reverse engineering of an API owned by OpenAI, which may be a violation of the terms of service of the company. The author of this project is not responsible for any actions taken by users of this project, and by using this project, you acknowledge that you are doing so at your own risk. This project is for educational and research purposes only and is not intended for commercial use. The author does not endorse the use of this project for any illegal or unethical purposes.
The project uses tools listed below.