Autoplay
Autocomplete
Previous Lecture
Complete and Continue
Learn Dialogflow CX
What we are building
What is a state machine? (4:39)
What we are building (2:27)
Initial Demo (3:11)
Terminology (1:06)
Building the Vendee Bot
Initial View (4:12)
User Asks For Balance (6:02)
Testing it in the simulator (5:43)
No state transition (3:43)
Add state transitions (6:17)
Ask for balance after transition (2:28)
Download the agent
Completing the Vendee Bot
Assignment 1: What can I get? (2:23)
Assignment 2: Buy product (2:28)
Assignment 3: Return my balance (1:58)
Assignment Hints (5:28)
Download the Completed Vendee Bot
CX vs ES: A simple Yes/No Decision Tree Bot
What we are building (2:21)
Conversation Outline (4:58)
Initial flowchart (9:36)
Mindomo flowchart conventions (5:50)
Translate flowchart to Dialogflow ES intents (4:05)
Using the BotFlo app to speed up rich response construction (3:29)
Generating rich response for information card (5:09)
Implementing Start Over (2:55)
Dialogflow CX - Initial Routes (5:28)
Why a flowchart helps even for Dialogflow CX (6:08)
Complete and test the bot in the simulator (4:06)
Connect CX Bot with Dialogflow Messenger (4:51)
A summary of what we learnt till now (4:52)
The shape of a chatbot (3:36)
CX vs ES: Get User First and Last Names
Can you build this bot in Dialogflow ES? (3:09)
Flowchart for the ES Bot (9:31)
Defining the intents (8:56)
ES Bot Demo (4:02)
Extending the name system entity (5:10)
A note about entity annotation (2:45)
Building the bot in Dialogflow CX (9:19)
Testing the bot in the simulator (4:38)
Pros and Cons of Dialogflow CX for this bot (7:18)
Understanding scope in Dialogflow CX Part 1 (5:00)
Understanding scope in Dialogflow CX Part 2 (8:02)
Flowcharts and Test Cases
Why ES First (4:05)
Decision Tree Flowchart (4:32)
Initial Flow (11:58)
Some Housekeeping Tips (2:53)
Building the remaining pages (5:50)
Identifying test Cases (1:40)
Naming test cases (5:00)
Running Test cases (4:33)
Entities and Parameters
Planets Bot: Introduction (2:37)
Entity Definitions (7:31)
Original vs Resolved value (4:28)
Intent vs Session parameters (2:10)
Session Parameters Intro (4:00)
Using session params (6:02)
Keeping track of session parameters (5:32)
CX Webhooks using Python
Before you start: Ngrok Tutorial (2:09)
Handling multiple intents in ES Webhooks (3:41)
Skeletal Code (2:32)
Webhook Response Object (1:47)
ngrok setup (5:11)
Webhook Request Object (2:05)
Handling getplanetattribute (3:50)
Handling changesplanet (2:26)
Handling changesattribute (2:41)
Sample Code
A bug in Dialogflow CX webhooks (3:02)
Reroute conversation flow based on webhook response (14:49)
Dialogflow CX Slot Filling
What is slot filling? (3:31)
Defining the slots (3:28)
Demo of simple slot filling bot (3:23)
Adding phrase variants (6:20)
Reprompts (3:12)
Reprompts with no-match-default (3:40)
Reprompt to selection (6:46)
Exiting the slot filling loop on first retry (5:09)
Exiting the slot filling loop after second retry (5:03)
Conditional routes with expressions
Introduction to the quiz bot (2:36)
Start quiz intent (1:15)
Question 1 Page (3:46)
Question 2 Page (8:18)
Question 3 Page (6:20)
Display Score Page (7:25)
Scope and the flow start page (5:05)
Building a Dialogflow CX Custom Integration
4 Layers of a Dialogflow Bot
Set up the bot
Download service account credentials file
Code walkthrough
Why I don't recommend the client library
Defining the custom payload inside Dialogflow CX
Rich responses supported by Zoho SalesIQ
Hosting the middleware code on PythonAnywhere
Hosting the middleware code on Heroku
Hosting the middleware code on Google Cloud
Custom Integration using Flask
Flask App Sample Code
Exception Handling
DF Chooser Bot Demo (5:49)
Download the agent file
Does a flowchart help when creating a Dialogflow CX bot? (6:48)
Bot Design Part 1 (4:40)
Bot Design Part 2 (6:14)
Bot Design Part 3 (8:55)
Changing conversation topic
CCAI Vaccine Bot Demo (4:39)
Start Page Routes (1:26)
Simple FAQ Routes (1:20)
Eligibility Flow (7:25)
Eligibility Flow Conflict Part 1 (6:59)
Eligibility Flow Conflict Part 2 (5:00)
Vaccine Location Flow (2:59)
Vaccine Location Flow - Testing the agent (2:33)
System Functions
Introduction (0:51)
The quiz bot (5:03)
Text response (5:44)
Conditional response (4:44)
Custom Payload (2:01)
Parameter Presets (6:03)
Condition Routes (4:26)
Download the agent blob file
Dialogflow CX vs RASA NLU
Why I prefer Dialogflow ES to RASA NLU (3:18)
Designing Conversations as a State Machine (2:16)
Slot Filling (6:33)
Candidate Intents (5:38)
When your conversation goes off track (5:26)
Decision Tree Chatbots (6:15)
Are state machines inherently bad? (4:48)
Which bot framework is best for non-programmers? (7:04)
3 skills which can help you build better chatbots (2:13)
Quickstart Template 1
Getting a list of inputs from user (9:01)
Agent blob file
Quickstart Template 2: Initiate conversation from CX
Download agent blob file
Quickstart Template 3
Save data to Airtable (4:14)
Download agent blob file
Python Code Sample
Quickstart Template 4
Basic Slot Filling (7:20)
Download agent blob file
Quickstart Template 5
Confirm or update user input after slot filling (8:19)
Download agent blob file
Quickstart Template 6
Advanced slot filling (6:26)
Advanced slot filling Part 2 (8:20)
Download agent blob file
Quickstart Template 7
List and composite entities (5:44)
Download agent blob file
Quickstart Template 8
How to get user date of birth (8:44)
Download agent blob file
Quickstart Template 9
How to build a decison tree bot (6:28)
Download agent blob file
Quickstart Template 10
How to build a quiz bot (8:33)
Download agent blob file
Quickstart Template 11
How to use Google Sheets as the database (6:54)
Download agent blob file
Python Code Sample
Code samples
Python webhook to display dynamic data from a database inside Dialogflow Messenger
Assignment 1: What can I get?
Complete and Continue