@manekinekko

wassim chegham

Before We Begin...

Wassim Chegham

Dev Advocate

@manekinekko

let's chat irl

Going back in Time...

Remember this?

the new generation of BOTS

ML—Driven NATURAL LANGUAGE PROCESSING

ML—Powered Voice Recognition

Modern Chatbot Concepts

I am

Groot!

INTENT

ENTITY

CONTEXT

Hodor!!

* remember the details of the conversation

INTENT

Your Bot Workflow

Design

Develop

distribute

What to build

How to build it

How to ship it

Design

What to build

Start by creating your persona

give your bot a personality

core brand attributes

design principals

voice, style and dialog

bio sketch

Sample dialogs

Canonical “Happy path”

First-time experience

Return user

conversation Repair

Personality questions

Demo Time with DialogFlow

Develop

How to build your bot

Life of A

conversation

"Ok Google, talk to bot"

"Sure! Here is bot"

Invoke an action

"Hi!  Welcome to bot. i can help you do..."

"I want to hear more about Chatbots"

"Chatbots are…"

Speech to Text, NLP, Knowledge Graph, ML Ranking, User Profile Text to Speech

Speech to Text

Text to speech

intents matching

Cloud Function—

Function-as-a-service

A "serverless platform for building event-based microservices".

Microservices oriented Completely Serverless & fully managed service

Open and Familiar

triggers

Cloud Storage

Cloud Pub/Sub
Direct HTTP calls

Cloud Firestore*
Real-time Database*
Firebase Authentication*
Google Analytics for Firebase*

A sample use case

Preparing the

dev environment

ngrok

LiveReload

Debug in Chrome

Cloud Functions demo

distribute

How to ship your bot

Deploying A Cloud Function

# With gcloud
$ gcloud beta functions deploy agent \
	    --trigger-http \
	    --stage-bucket gs://my-agent/

# With Firebase
$ firebase deploy --only functions


# Deploy Locally
$ functions deploy agent --trigger-http

Review and Approval

Web-based portal
→Triggering Information
Merchandising and information

 

Approvals
Automatic and manual policy checks
Turn around in about 1 week

dialogflow integrations

Assistant surface area, and many others

dialogflow Integrations

Actions on Google
Google Home, TV, CARS… and more to come

External integrations
Slack, Facebook Messenger, Twitter, Twilio, Skype, Tropo, Telegram, Kik, LINE, Cisco Spark, Alexa, Cortana...

Conversational

design guidelines

Ressources

one more thing

think outside the box

 Thanks for listening...

@manekinekko

Ok Google! I'm Feeling Lucky...

By Wassim Chegham

Ok Google! I'm Feeling Lucky...

Ever wanted to build a chatbot? What if you could use a voice assistant to manage your agenda for the conference? Know if there are any presentations on Machine Learning, or Docker, or your favorite programming language? Find out more about a speaker...etc. In this session, we will look at how to build our own voice assistant, using Google Cloud's natural speech and voice recognition APIs with DialogFlow services, and Google Cloud Functions to implement necessary business logic.

  • 7,920