What is the best language to build a chatbot? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is the best language to build a chatbot?

I'm trying to study the legal applications of chatbots (as tools to screen and triage law firms' costumers, but also to generate answers based on existing databases of QA) and I'm wondering how hard it is to build one (if you already have a big database of ready-made QA) and what would be the best language to use.

8th Feb 2018, 2:30 PM
Vittorio
Vittorio - avatar
2 Answers
+ 9
I don't think there is a best language. I suppose perhaps with machine learning it could be python, though I don't think most chatbots use this method. I suppose PHP could be a choice since it interfaces with the web, where users would likely input their text. That's just a guess though.
9th Feb 2018, 2:11 AM
Ahri Fox
Ahri Fox - avatar
+ 2
I've made some in PHP/SQL/JS and also made some using NodeJS/SQL/JS. Both worked exactly as I wanted them to, so both are plausible. If you're dealing with a big database, I'd recommend going with NodeJS over PHP. It's quicker and better scales than PHP does. Just my two cents. Good luck!
8th Feb 2018, 2:47 PM
Fata1 Err0r
Fata1 Err0r - avatar