Adding a Python chatbot to a HTML page (running on express framework, node.js)

Hello,
I’ve been wanting to add a button to my HTML page that opens a chat with a chatbot. I planned to have the chatbot program run on Python, with chat responses (that are determined using python code) are appended to the chatbox area using javascript.

I currently use node.js and the Express framework for my backend. How should I approach creating a chatbot in this way? Or if it’s not a good idea to use Python to make a chatbot and try to display the results using Javascript, please let me know. Thank you. ^-^

*I’m a pretty beginner coder when it comes to stuff like this, so forgive me if I’m making a really glaring error.

Hi! If you want to code your own solution, I recommend you check out socket.io.
Else, try Discord or something else.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.