Unable to Display Assistant Messages from Open AI

Hello! I’m building an AI Assistant for my users and I want to be able to display the message that is returned from the assistant to the user. I have set it up to display the following: “Result of Step X - Retrieve all Messages’s data: first item’s content: first item’s text value” as my text message but it never pulls the message text from OpenAI. Everything else is working and in Playground the assistant messages are displaying. When I enter arbitrary text it displays correctly. I’m only struggling with the dynamic data that is required to display the assistant message. What am I doing wrong?

Hi, I read your problem, and it looks like your step is almost completed. It sounds like the issue might be with how the response data is structured in Bubble.

Could you please share a few screenshots of your workflow and the “Retrieve all Messages” setup, including the data source and how you’re displaying the assistant’s response in the text element?

Are you using stream/Json in Api connector as return type?

This topic was automatically closed after 70 days. New replies are no longer allowed.