How to create a chatbot interface in Mendix

0
 Hi,   I'm working on implementing a chatbot interface in my Mendix application. I have already created a custom microflow that successfully generates a chatbot response from a prompt. However, I'm having difficulty with creating the user interface for the chatbot, sending the user prompt to the microflow parameter, and displaying the returned response in the chat interface. I want this chatbot to get requests and send their responses in realtime, like a real chatbot. I was just wondering of the best ways/practices to implement this?   Thanks
asked
1 answers
0

Hi Ethan,

 

have you used any platform-supported modules to call the model? (OpenAI, Bedrock, MxGenAI connectors?)

 

Please check out the documentation on how to Build a Chatbot from Scratch Using the Blank GenAI App. The ConversationalUI module might help you setting up the UI.

 

Furthermore, you can reivew the GenAI Showcase App or AI Bot Starter App for examples for chatbot integration.

 

Based on what you consider "real-time", but currently streaming is not supported out of the box (so users need to wait for the model to generate the whole response before it is shown).

 

Best regards

Liam

answered