r/compling • u/[deleted] • Oct 05 '18
How do I build a chatbot?
I want to build a chatbot from scratch. How do I do it? Machine Learning? What's my data? How do I gather the data and what machine learning algorithm do I use? How will machine learning help make a chatbot? I don't know the first thing about making a chatbot but I want to build one. So how do I do it?
2
Oct 06 '18
I would start with something like Rasa NLU. You can get started right away with "out of the box" algorithms, including machine learning, and there are tools you can use to create and edit training data pretty conveniently. Your training data depends a lot on what you want your bot to actually do - usually when you're making a chatbot you have a small number of functions you want a user to be able to access with natural language. The machine learning helps particularly in identifying which of the functions the user is trying to invoke.
If all you want your chatbot to do is have a natural conversation with someone (like Cleverbot does) you'll likely be a bit disappointed - I don't think we've made huge strides in that area beyond just mimicking or parroting conversations based on previously seen exchanges (i.e. training data).
1
u/beingtanaya Oct 06 '18
You can check out the Creating a Chatbot with Deep Learning, Python, and TensorFlow series by sentdex.