Answer the question
In order to leave comments, you need to log in
How to implement a bot dialogue with the user?
It is necessary to make a simple bot (without recognizing complex sentences, etc.)
Some of the answers will be presented simply with buttons, text input is mainly data such as full name.
The question is how to implement the behavior of the bot for scenarios like:
Ask for a name - Check and ask again - Ask for the date of birth ...
I read about finite automata and it seems that similar schemes are implemented with the help of them, the problem itself looks quite common, dialogs when calling a call centers, etc., are also based on questions and answers. It seems like it turns out a kind of tree along which you move, but you can return to previous steps.
I would be grateful for advice on this issue, references and patterns and implementation examples. Perhaps there are some frameworks for similar tasks. I would like to explore more options for solving such problems.
Answer the question
In order to leave comments, you need to log in
The first thing to do is decide what language you plan to write in. For simple bots, there are constructors in which you don’t need to program at all. For popular programming languages, as a rule, there are frameworks.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question