+ 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.
2 odpowiedzi
+ 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.
+ 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!