I wanna create a chat bot with Bubble using ChatGPT API using repeating group (usual chat bubbles). I have 2 text elements within a repeating group: prompt on the left and answer on the right below. When I submit my prompt:
- I create a new entry and fill a Prompt field in the Message data type and leave the Answer field empty.
- Then I reset empty relevant fields
- Trigger the ChatCPT API call
- When results are fetched update the entry with the Answer field
My problem is that the prompt text element only shows togehter with the answer, and not immediately after submitting it as intended…
How can I reach that the prompt text element does not wait for the results of the API call?
Ps.: of course, all the repeting group cells are fetching data dynamically from the DB.