Support of entities for input validation dialogs
PlannedIt would be great if it would be possible to select an entity (user defined ones and system entities as well) in field "Format type" of an input validation dialog.
The input should be classified as valid if a valid entity value has been entered.
-
Official comment
Hi Peter,
Very good point - we're planning a rethinking of our input validation to make sure it works nicely with System Entities.
Best,
Joachim
-
Hi Joachim,
I think it would be very important that this will work with user defined entities, too.
0 -
Hi Peter,
That's already possible today - for example:
Input validation only
User: "I want to take the train" -> intent "book train", no entities
Bot: "Where do you want to go?" -> input validation linked to "book train" intent
User: "Amsterdam" -> saved as variable "destination"
Bot: "These are the options to Amsterdam..."
Input validation + entity
User: "I want to take the train to Amsterdam" -> intent "book train", entity "destination"
Bot: "These are the options to Amsterdam..." -> bot skips input validation, because the variable that is checked in the input validation matches what the bot already knows from the entity -> in both cases the variable is named "destination".
You can find more information about this here: https://docs.chatlayer.ai/tutorials/tutorial-request-and-use-information-using-input-plugins
Hope this helps,
Best,
Joachim
0 -
Hi Joachim,
I know the options you listed above, but the use case is a different one.
Unfortunately if the user did a typo when entering an entity value the bot is not able to handle this and will try to find an answer for this "newly identified entity".
What I want to do is check if the input of the user is a correct entity value and if not give him the possibility to correct this by telling him e.g. "I don't know this ENTITY." So he can correct the typing of the entity itself and the bot can find the correct answer.
For an example of the idea have a look at my bot 2749 (flow Lindi dialog AskForSight).
There the user wants to know the heigt of a certain sight. If he enters an unknown sight the bot asks him for which sight he wants to know the height. When the user enters just the name of the sight he will get the right answer.Kind regards,
Peter.0
Please sign in to leave a comment.
Comments
4 comments