"GPT-BOT" is a project that replicates the functionality of a real-time conversational chatbot, one of the features of the Chat GPT mobile app, into a Python program. This project allows you to use a real-time conversational chatbot in the terminal, just like in the mobile app.
This project has been confirmed to be issue-free as of August 18, 2024. If any issues occur during execution, please refer to the official API documentation
| Python | Version 3.12.1 or higher |
|---|---|
| Chat GPT | Plus subscription account |
#1 Clone the Repository:
git clone https://github.com/accio3014/GPT-BOT.git ~/GPT-BOTcd ~/GPT-BOT#2 Set Up a Virtual Environment:
python3 -m venv GPT-BOTsource GPT-BOT/bin/activate#3 Install the Dependencies:
pip3 install -r requirements.txt#4 Modify api key, model, voice:
Modify the information inside the GPT_BOT.py file. There is a reference link for each line.
| Line number | Content |
|---|---|
| 7 | API key |
| 42 | Model type |
| 57 | Voice type |
#1 Add Permission:
chmod +x ~/GPT-BOT/GPT_BOT.py#2 Create an Alias:
Bash shell:
echo "alias GPT-BOT='python3 ~/GPT-BOT/GPT_BOT.py'" >> ~/.bashrcZsh shell:
echo "alias GPT-BOT='python3 ~/GPT-BOT/GPT_BOT.py'" >> ~/.zshrc#3 Apply:
Bash shell:
source ~/.bashrcZsh shell:
source ~/.zshrc#4 Run GPT-BOT:
GPT-BOT