Displaying data from OpenAI in table / repeating group

Hi! Started using Bubble a couple weeks ago so I’m pretty new here, but I am wondering how you would go about populating a repeating group or table using a return output from OpenAI? Namely, from OpenAI I get data in the format of

OutputA1, OuputB1
OutputA2, OutputB2
OutputA3, OutputB3

OutputAN, OutputBN

which is all in text format. Wondering how you would go about displaying this data in a repeating group/table on the front end?

Thank you!

If this is literally the data you receive (with commas and newlines), set the data type of the repeating group to text. You can split the text by newline (a literal press of the enter button when splitting). Then in each cell, you can split by ,. See the example below:

This repeating group splits the data by new line:

And each text field in the cell splits by , and gets some item:

You can check the example here: Test for Forum 12 | Bubble Editor