What you get from the API is guaranteed to be valid JSON, but if you ask a LLM to reply with JSON (i
What you get from the API is guaranteed to be valid JSON, but if you ask a LLM to reply with JSON (inside the
response property), it may not work. LLMs are trained to generate text not JSON.