WhatsApp chatbot powered by GPT3.5! Made to resolve your parent's technology related questions.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
RPReplay_Final1684619356.2.MOV
RPReplay_Final1684619356.MOV
RPReplay_Final1684619251.MP4
Table of Contents
I wanted to hack and create a chatbot for myself. Ended up dciding to make a whatsapp chatbot which connects to GPT-3.5-Turbo. This behaves somewhat like chat-gpt. I was insipired by GOD IN A BOX. Do check them out!
To get a local copy up and running follow these simple example steps.
python 3.9.16
- Download
ngrok
from https://ngrok.com/download - Meta's developer account
- Get a free API Key and ORG Key at https://openai.com
- Clone the repo
git clone https://github.com/rrtyagii/mystic-mac.git
- Install Python packages and dependencies
pip install -r requirements.txt
- Enter your API in
web_server.py
openai.organization = 'ENTER YOUR ORG KEY' openai.api_key='ENTER YOUR API KEY' meta_token = 'ENTER YOUR META ACCESS TOKEN' meta_app_secret = 'ENTER YOUR APP SECRET' verification_token = 'ENTER YOUR OWN TOKEN TO VERIFY WEBHOOK'
- Run the ngrok port
ngrok http 5002
- Run the
Flask
web server
flask --app web_server.py run --debug --port 5002
- Support session history
- Reset Conversation after 10 minutes
- Add Speech to Speech response cabilities
- Multi-language Support on voice note messages
- English
- Spanish
- Information security (conversations, phone numbers, etc)
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Rishabh Tyagi - @AllAuover - rtyagi1@hawk.iit.edu
Project Link: https://github.com/rrtyagii/mystic-mac
Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!