How to plugin gpt "ASSISTANT "API on frontend

so I have already done the backend part but when it come to frontend, I am strugling with showing the assistant response on a repeating groupe, i spent about 3days trying to do it but I failed, please I need help

You need to keep polling the “list messages” api. to get the assistant response.

This is how you can keep polling the API.

Looking for a Bubble Coach? Buy mentorship