![]() ![]() If we now take a closer look at the utterances, we will find that certain words have a key function. This script uses the VoicebotExchange action, but the process of integrating custom payload is the same. This script is an example of how to integrate custom payloads with Google Dialogflow ES bots. Example Script for CustomPayload with Google Dialogflow ES. The bot must therefore be able to detect where the user is in order to present information adapted to the current weather situation.Įntities help the bot to play out the right information Example Script Using VoiceBot Conversation. The weather changes daily and is also location dependent. However, the answer to the question "How is the weather?" cannot always be the same. It is irrelevant whether the user is in Berlin or Munich and whether the question is asked today or tomorrow. Intents can be divided into two different types: Intents, where the response of the bot is always the same, and intents, where the response has to be customized.įor example, the answer to the question "How long does an internship last?" is always "An internship in our company lasts 6 months". The total number of all intents in a chatbot depends on the use case as well. Whether these are useful depends on the corresponding use case. Usually one response is sufficient as an answer. The creation of several utterances is necessary because every user can formulate their question a little differently. Therefore, the chatbot will give out the same sentence every time the intent is hit. As you can see in the illustration, in the field with the utterances there are several variations of the question "How is the weather in Würzburg?", but in the field with the response there is only one sentence. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |