I am getting results returned from my request made to my server. It is returning multiple lines, in which each line is a new entry into the array.
So right now I am logging it as:
completion.data.choices[0].text
and it is obviously only returning the first one. But i want it to return all of them. How would I do this?