- Preserve field types and source identifiers.
- Distinguish missing values from zero or false.
- Validate a structured answer against its input.
When a task concerns records, fields or categories, a small explicit structure can be clearer than a paragraph. Structure is useful because it exposes ambiguity, not because JSON syntax makes an answer true. The key is to preserve the meaning and provenance of each value.
Define the record before asking
For a fictional workshop list, decide which fields are needed: session ID, start time, accessibility note and fee status. Specify units and allowed missing-value handling. A fee of zero means something different from a fee that was never supplied. If the model invents a default to fill every cell, the output may look complete while introducing a false statement.
Keep types and evidence together
Represent a boolean as a boolean only when the source establishes that state. Keep source IDs or line references beside extracted values, especially where several records share similar names. Do not mix a source fact with a model inference in the same unlabeled field. A structured output can include separate fact, inference and unknown sections so the reviewer can see which claims require further evidence.
Validate semantics after parsing
First check that the output is valid for the expected format. Then check required keys, value types, units and the original source. Finally check cross-field logic, such as an end time not preceding a start time. Syntax validation catches malformed representation; it does not determine whether the source supported the value or whether the business rule was correctly applied.
Illustrative worked example — Unknown is not free
Supplied input
Source: W-14 starts at 10:00. The fee is not stated.
Example result to inspect
{"sessionId":"W-14","start":"10:00","fee":null,"feeStatus":"not supplied"}The explicit missing state avoids presenting an unknown fee as zero. The source ID makes the extraction easy to revisit.
This is an authored teaching example, not a recorded live provider run or an independent performance test.
Make the idea concrete.
- Define a four-field schema for the fictional session.
- Extract values and preserve unknowns rather than filling convenient defaults.
- Check the output format, field types and every value against the source.
What a useful outcome looks like
A small record whose missing values are explicit and whose factual fields can all be traced to the original note.
Ask for reasoning you can verify.
Use fictional or permitted data. This is a copyable brief for a separate approved model; no model is called from this article.
Extract only the requested fictional fields into the stated structure. Preserve source IDs and units, use an explicit unknown state for absent values, and keep inferences separate. After drafting, list the semantic checks a human should perform against the source.
Turn reading into a reviewed checkpoint.
Complete the manual exercise, review each item, then answer the evidence question. This records self-study, not independent assessment of expertise.
Review the checklist and pass the question to save this lesson.
Primary references
References support further checking; cited organizations do not endorse AgentX. This guide is original AI-assisted educational content with illustrative examples. Read the editorial policy or report a correction.
Continue with a related task.
Separate the model from the product
An AI product combines several mechanisms that a chat window does not reveal.
Read a fluent answer as a candidate
A smooth answer can contain a mistaken date, fabricated quotation or an unsupported conclusion.
Distinguish training from inference
Training changes a model using a learning process; inference uses the resulting model to produce an output for current input.