OpenAI Response Parsing

Hi Everyone

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?

Thanks!
Ravi

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.

Dear @tatiang

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!

Please re-read what I wrote. Without the response formatted the way I mentioned, I’m not able to help you. It needs to be:

  1. The full JSON response value from the green block
  2. Text, not a screenshot
  3. Formatted using the </> button

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.