TECHNOLOGY

Exa structured Search: connect output fields to field-level grounding

In this article
THE QUICK TAKE

A valid JSON object establishes shape, while field-level grounding supplies a separate support map that must survive later transformations.

Design the result and support map together

A procurement tool asks for each product’s deployment model and documented export formats. The application needs machine-readable values, but it also needs to explain where each value came from. Design the schema and evidence display together so a later table export does not discard the support relationship for individual cells.

Use the documented synthesis fields

The Search quickstart describes outputSchema, generated output.content, and output.grounding, while ranked pages remain in results. It says citation and confidence fields are returned separately rather than added to the caller’s schema. Preserve these distinct objects instead of embedding an invented citation string into every generated value.

Join grounding by its field path

Deep Search documentation illustrates grounding entries associated with output field paths. Build a resolver that connects those paths to the generated object. When the application reorders an array or flattens nested data into table rows, update its local association explicitly. A citation attached only to an old array position can otherwise move to the wrong product.

For an export-format cell, retain the field’s citations as well as the selected value. A different field in the same row can depend on another page. Row-level source badges alone may therefore conceal which claim the source actually supports.

Validate shape separately from support

The Search reference anchors the request and response structure. Check current schema limits and selected search-mode eligibility before sending the request. Afterward, validate the generated object, then inspect required field grounding. A confidence label is provider output to review, not an independent probability calibration or proof that the cited page contains the claimed fact.

Preserve unknown and unsupported cells

Define how the application represents a missing fact without forcing a plausible string into every table cell. If a required finding lacks usable support, keep the gap visible even when the JSON object passes shape validation. The business workflow can then request additional evidence for that specific field.

The local guides to content-part contracts and citation precision help inspect this boundary. Test array reordering, absent grounding, and several fields sharing one source. The consumer should preserve the correct claim-to-source association through every export and display transformation.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles