Field Mapping
ConceptsField mapping is the definition of how source content or document structure maps to target fields. In extraction, the schema defines field names and types; instructions and layout (e.g., form detection, table extraction) guide the model to map document content to those fields. In export (e.g., CSV), field mapping may define which schema fields become columns.
In Extraction
- Schema — Fields with names, types, and optional instructions (e.g., "Extract the invoice total; if multiple totals, use the grand total").
- Model — The LLM and layout information produce structured data that fits the schema; that’s the effective "mapping" from document to fields.
- Citations — Each field can have a citation (and bounding box) showing the source region.
Refining instructions and using ground truth improves mapping quality over time.
Related Concepts
Field mapping is realized through schema and extraction instructions. Output is structured data; field mapping for CSV export maps schema fields to columns.