Hi,
I have played with Google Assistant this year and built a chatbot that lets the users to manage team building locations (venues). A venue consists of these properties: number of rooms, number of guests, location and a short description.
The tools and technologies I’ve used are:
- Node.js
- DialogFlow – Platform used for building bots (owned by Google)
- Firebase – Development platform used to build, monitor and host projects (owned by Google)
- Cloud DataStore – NoSql database service (owned by Google)
If you want to create, test and deploy a chatbot you need to perform the steps below:
- Install Node.js.
- Install Firebase CLI – Firebase will be used to create the deploy Google cloud functions. The commands are listed below:
- npm install firebase-functions@latest firebase-admin@latest –save
- npm install -g firebase-tools
- firebase login
- firebase init – this command installs dependencies with npm. After that we can start writing our cloud functions. The code can be found here.
- firebase deploy – deploy the cloud functions as fulfillment to google cloud. You will see a functions url available:
3. Create the intents using DialogFlow console – the intents can be found here.
The source code can be found at this github repo.
Leave a comment