Running GPT on a list of things

I have been using the API Connector on Bubble with OpenAI. How can I use ChatGPT to enrich a list of data in Bubble? I want GPT to analyze each row of data and then write the analysis in the DB. The logic would create a conversation based on the row analysis. This could scale to have different users uploading their content for analysis. Please advise how I might be able to achieve this.

Ideal I would upload a CSV, and it would trigger the workflow to write in DB, analyze each row, and store the returned analysis.

See Recursive API Workflows - Bubble Docs

In each workflow make API call to OpenAI & save content to the relevant database thing.

Thanks! This helped me get unstuck.

If you’re thinking of applying a single prompt to an entire CSV or database section, making an API call for each row would be inefficient in terms of workflow and time. Instead, it’s more practical to batch the rows, sending perhaps 15 to 100 rows in a single API call.

2 Likes