Answer the question
In order to leave comments, you need to log in
An example of a neural network for a chatbot?
I searched Google for a neural network for a chat bot, but it’s only about the device. I understand the device, but I don’t know how to do it in code. Does anyone have a simple example of a neural network? Preferably in Python!
Answer the question
In order to leave comments, you need to log in
Why do you need a neural network for a chatbot?
The usual cycle with ifs is quite enough.
Then, if you want, you can dig in the direction of text recognition, but it's long, dreary and will most likely work poorly.
In pink dreams, the "neural network for chatbot" is the seq2seq model. We submitted a replica of the user to the input, received a replica of the operator at the output. You can read the info, starting with the term seq2seq itself, and further about attention and transformer.
In harsh realities, a “neural network for a chatbot” is just a text classification (intent = what the user is talking about in his remark) and then a bunch of ifs that describe the chatbot behavior scenario. Plus regular expressions / newspapers / ready-made libraries to highlight full name, phone number, address, url, etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question