I am having difficulty implementing a ‘looping’ process when using the Open API Assistants. OpenAI does not inform you when a job is completed, rather you need to poll the Run for a Completed status. I have a process set up create the Run (setting up the Threads, and the Messages), but I am having difficulty setting up Bubble in a loop until the Status is Complete.
I have a repeating group established to display the conversation and a Message Input with a Submit button.
The Submit button Creates the Thread, Adds Messages, and creates the Run. At this time I need to then loop on the Run’s Status for completion. I do not know exactly how to set up the Backend Flow with a Recurring event (every 2 seconds) to poll the Status.
Any assistance would be appreciated.