OpenAI function calling - result in an array

I’m using OpenAI’s function calling feature, which returns a GPT query as a JSON array.

I’ve added the API call, however bubble sees this as a JSON text string within the results array.

Is there a way for bubble to correctly identify the contained JSON string as as object, or is there a way to convert string containing JSON text in to an object?

Ideally the initial API call could identify the function JSON, as I’ve specified that it will always appear in a specific structure.

1 Like

Many thanks, I’ll have a watch of this tonight - but it looks like this is the solution!

Thank you very much :slight_smile:

Yep, to confirm - this worked! Thank you.

Please what is the solution? The video has been taken down.