Description Type

(Autogenerated transcript)

[00:00:00]
 Alright, so now that we have gone through the basics of setting up the bot so that it shows on your site, next we are going to take a look at how to display rich response messages. So the first one I am going to consider is this description response type and you can see that it is actually a very simple type of rich response. There is a heading and it is bold text and then it is just a bunch of lines of text after that. There are other elements in this description response type. So what I am going to do is copy the whole thing and let's go to our Dialogflow agent and I am going to add a new intent called show description type and in the training phrase I am just going to say show me description or just let's just keep it like that, very simple show me description and you have to go to the custom payload here, you can't

[00:01:00]
 use this text response and just paste whatever you got from there and you can delete this text response if you want. Now save it, alright so this is what we have and just to make sure that it works, type that same phrase over here. Now you can see that the intent is firing correctly but unfortunately there is no way to preview that it is giving you the correct, I mean you can't preview what the output is going to be but we at least know that the intent is right. So what I am going to do now is go to my editor, open this page and I am going to just type show me description and you get it like that.

[00:02:00]
 So you have this title and this is text line 1, this is text line 2. So that's how the description type is going to be added into your chatbot, into your website chat widget and you can see that this is the same pattern that we are going to follow for the rest of the rich responses. Basically I am going to have this training phrase which says show me rich response of a certain type and I am going to have some information that some kind of a JSON object I am going to put into the custom payload and that JSON will be rendered as the appropriate rich response in the chat widget and that's the pattern that will keep repeating except that there are few nuances that you need to learn to make sure that you are, I guess don't

[00:03:00]
 mix up the type of response and its behaviors and things like that. So we will see all those things in the future videos.


About this website

BotFlo1 was created by Aravind Mohanoor as a website which provided training and tools for non-programmers who were2 building Dialogflow chatbots.

This website has now expanded into other topics in Natural Language Processing, including the recent Large Language Models (GPT etc.) with a special focus on helping non-programmers identify and use the right tool for their specific NLP task. 

For example, when not to use GPT

1 BotFlo was previously called MiningBusinessData. That is why you see that name in many videos

2 And still are building Dialogflow chatbots. Dialogflow ES first evolved into Dialogflow CX, and Dialogflow CX itself evolved to add Generative AI features in mid-2023