This repo contains the source code and data for the CoViD-19 Bot backend.
This includes the chatbot Dialogflow WebHook, data retrieving/processing scripts and daily data.
- The public chatbot can be found here: CoViD19 Bot - AI4Bharat
virtualenv --python python3 ~/envs/covid19_webhooksource ~/envs/covid19_webhook/bin/activate
git clone repoandcd repo- Set service name in
app.yaml pip install -r requirements.txt- Optional:
python main.py(To check if working) - Optional:
gcloud app create(Only do this unless there's nodefaultservice)
gcloud app deploy app.yaml- Use the URL indicated for Dialogflow WebHook as
{URL}/webhook
- To install libraries:
pip install -r requirements.txt - To expose local server:
ngrok http 8000 - To run this WebHook server:
python main.py - Use
{HTTPS_URL_FROM_GROK}/webhookas Dialogflow webhook URL
- The chatbot data (intents, entities) can be found here: Dialogflow-Data.zip.
- Go to Dialogflow -> Project Settings (Gear Icon)
Export and ImportTab -> Choose an appropriate option and upload the zip.