Getting response data as a fixed & Consistent JSON response

Hi @stouch

I tested your prompt above and got a valid JSON completion:

I slightly changed your prompt @stouch and got a valid JSON completion for your more “complcated request”.

In my test prompt, I instructed the API to not escape double quotes in the output, like this: Do not escape the double quotes in the output:

Create a valid JSON array of objects to list famous french books :
[{
\"title\": \"Book title\", 
\"release_date\": \"Release date in France, formatted as YYYY-MM\", 
\"subject\": \"Book subject\", 
\"location\": \"Place where lived the author\", 
\"characters\": \"3 characters and their characteristics, separated with linebreaks and tirets\"
}]

Do not escape the double quotes in the output: The JSON object is:

Hope this helps

:slight_smile: