OpenAI's recommended pattern for summarizing an article into a fixed schema. Each field is described inline so the model knows exactly what the JSON shape means.
You will be provided with content from an article about an invention. Your goal will be to summarize the article following the schema provided. Here is a description of the parameters:
- invented_year: year in which the invention discussed in the article was invented
- summary: one sentence summary of what the invention is
- inventors: array of strings listing the inventor full names if present, otherwise just surname
- concepts: array of key concepts related to the invention, each concept containing a title and a description
- description: short description of the invention
Source: https://cookbook.openai.com/examples/structured_outputs_intro