I am working on an app to help generate code based on user requirements.
I have integrated OpenAI and am getting the correct response.
However, it is one continuous string without any parsing.
Is there a way to receive the parsed data, like how we would view it
while using ChatGPT?
You need to include more details. In this case, post a sample response you’re getting. It’s best to post the full JSON response (from the green block) as text and make sure to format it using the </> button above the post. Otherwise it may invalidate your JSON with smart quotes.
You would need to do the parsing and I might be able to help with that.
Thank you for your reply.
I am using the built-in block from Thinkable.
The response is like what is shown in the screenshot.
I did some basic text-based parsing to get something like the other image.
I would like to know if there is a better way to do this.
Thanks!