ChatGPT Treats Uploaded JSON as Plain Text Instead of Structured Data
Upload a JSON file expecting ChatGPT to query keys and aggregate values. It instead reads the file as a wall of text and answers by string-matching.
Articles tagged with #json
Upload a JSON file expecting ChatGPT to query keys and aggregate values. It instead reads the file as a wall of text and answers by string-matching.
You asked for JSON matching a schema. Most calls return valid JSON, some return prose with JSON inside, some omit fields. Description vs enforcement, and how to fix at the API layer.