gpt 3 chatbot
1.0.0
The intent of this template is to serve as a reference guide for fellow developers looking to build, grow and monetize AI GPT-3 / GPT-4 chatbots on Web and Mobile.
Jeanie is an AI powered virtual girlfriend based on a version of the above code
git clone [email protected]:machaao/gpt-3-chatbot.git
cd gpt-3-chatbot
nano -w .env
API_TOKEN =
OPENAI_API_KEY =
BASE_URL = ex: https://ganglia.machaao.com
NAME = ex: Jess
.env
file under the entry API_TOKEN
.env
file under the entry
OPEN_AI_KEY
pip install -r requirements.txt
This is a discussion between [user] and [name]
[name] is a very understanding girl.
This is a discussion between user and Jess
Jess is a very understanding girl
def core(self, req: str, label: str, user_id: str, client: str, sdk: str, action_type: str, api_token: str):
python app.py
ngrok http 5000
Update your bot Webhook URL at MessengerX.io Portal If you use Ngrok.io, your webhook URL would be of the format as in the example below
https:///machaao/hook
Visit: https://messengerx.io/
We are assuming you have access to a heroku account and have installed heroku command line client for your OS.
heroku login
heroku create
git commit -m ".env updated"
git push heroku master
heroku logs --tail
Update your bot Webhook URL at MessengerX.io Portal with the heroku app url
Webhook Url: /machaao/hook
Visit: https://messengerx.io/