Understanding JSON Schema for Structured Output
博客文章
1 分钟阅读
This response demonstrates adherence to a specified JSON Schema. The schema required an object with a single property ‘output’, which itself contains three string properties: ‘title’, ‘content’, and ‘excerpt’. By providing a well-formed JSON object that matches these specifications, we ensure successful parsing and validation according to the given constraints.