Skip to content

tlgevers/dialogflow-chatbot-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building Chatbot using Dialogflow

Repository contains three folders:

  1. Notebooks to process and store data
  2. Webhook for deploying chatbot on AppEngine
  3. Angular chatbot UI AppEngine application (Original code taken from repo special thanks to Jeff Delaney)

Notebooks to process and store data

  • ProcessHandbook.ipynb: Creates topic entity using HR handbook faq data.
  • ProcessSynonyms.ipynb: Creates synonyms entity using Google Cloud Natural Language API.
  • WebHook.ipynb: Creates webhook and provides web tunnel using ngrok.

WebHook AppEngine application

This folder provides code to deploy chatbot webhook to AppEngine.

pip install -t lib -r requirements.txt
gcloud app deploy

Angular chatbot user interface AppEngine application

First, create an agent on DialogFlow and then edit /src/environments/environment.ts and /src/environments/environment.prod.ts with your API client token

npm install
npm install -g @angular/cli@6.0.8
ng build --prod
gcloud app deploy