Diksha86 / dialogflow-chatbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:Apache License 2.0


Languages

Language:Jupyter Notebook 40.8%Language:TypeScript 37.8%Language:Python 6.9%Language:HTML 5.6%Language:JavaScript 4.9%Language:CSS 4.0%