I am building a simple code review platform using Openai. The user writes code for a specific coding challenge. This code is then passed to Openai for a review.
Here is where my problem is, I keep getting a Json error. I tried replacing special characters and then added a formatted as Json safe at the end. I still keep getting the same error.
Keep in mind. When using ‘json safe’ it adds quotes. So in the API connector, you will need to remove the quotes for that part. That is typically the issue. Does that help at all? Then you won’t need all the find and replace parts.