Answer the question
In order to leave comments, you need to log in
How to determine how to merge several messages into one in cases where -- users -- send -- one message -- to several?
Condition: the user writes a message to the bot, dividing it into several. Example:
Time - message
12:01:01 - My name is
12:01:06 - Andrey
12:01:08 - Ivanovich
or
12:01:01 - My day
12:01:02 - birth
12:01:15 - was
12:01:30 - yesterday
The bot generates a response to these messages. The messages "my day" and "my birthday was yesterday" give different answers. We need to make sure that the bot waits until the user sends his message in full, and only after that he starts generating a response. What are the options for solving this problem or how best to google?
The simple option I see is to process messages only after a certain amount of time has passed since the last message. Or track the user's "typing message" status and only respond when it is false. But in these options, a "time lag" can be felt.
Thanks for the answer!
Answer the question
In order to leave comments, you need to log in
For this task, there is only one solution - the chatbot must understand the meaning of the text. So far this problem has not been resolved.
Until this problem is solved - swear at the user and ask him to enter the text in full. In voice input systems, the end of a sentence is determined by intonation. In text on completion of input.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question