I had the same issue. I solved it by adding the following text to my prompt:
Provide the JSON object as a direct response without any additional comments or annotations - only output the JSON object and do not include ```json
example:
I had the same issue. I solved it by adding the following text to my prompt:
Provide the JSON object as a direct response without any additional comments or annotations - only output the JSON object and do not include ```json
example: