This might be similar to what you want: OpenAI Showcase App
Same question, I like to integrate azure bot framework webchat with Mendix app. Any idea how to accomplish this task?