mardi 5 janvier 2021

What is the best way to build a chatbot web UI to work with a custom API?

I currently have several Facebook Messenger chatbots but I want to find a solution that doesn't use Facebook. So I would like to implement a web chatbot user interface (accessible from a simple browser) that works with my current Python code (based on Flask).

Basically, I need :

  • A classical chatbot UI that has (or that can be improved with) the same features as Messenger (buttons, quickreplies, carousel, medias...)
  • When a user sends a message it triggers my webhook API (developped in python on my own)
  • When the interface receives a request from my API it sends the answer to the user.

I think it would be possible to build such a web app with SocketIO for example, but do you know if there is already existing solution or framework to achieve this ?

I would like to be able to edit web code so that it complies with how my requests are constructed on my python code (basically messenger format).

Thanks for your help 🙏




Aucun commentaire:

Enregistrer un commentaire