Hi, this issue was solved during the office hours on 30 April 2024. I was instructed to post here with the issue and how it was solved.
Problem Introduction
Working with openai chat completion extension(official weweb one), and json mode with openai. The problem faced was that the json returned in the reply by openai wasn’t formatted properly as json.
Solution
Using just few words of code. We could parse the Not JSON into JSON.
The answer was given by one of the community members on the call. And it was using the JSON.parse method on the object that was being returned from openai.
Suggestion by Joyce was that json.parse wasn’t available under the formulas.
Please let me know if any other additional information was needed.