Answer the question
In order to leave comments, you need to log in
Conversational chatbot?
Imagine that users chat on the site, after each message I write it to the database. Tell me, how will it be correct to generate the text that the bot will send? (Words/sentences should be taken from the database, for example: there are such entries as "hello", "how are you", "what are you doing", "what's your name?", these phrases were written by the users themselves in the chat, they ended up in the database I would like to make the bot be a little smart and respond normally, for example "hello, what's your name?". Any options, how can I implement?
Answer the question
In order to leave comments, you need to log in
We create a virtual interlocutor
True, there is python, but it is also interesting on the topic.
Google about the Levenshtein algorithm.
As a result, the bot will be very stupid, but it will seem to the user that this is a real person.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question