X-SourceQuote- Generates source quote fields alongside data fields, capturing the exact text from the document that justifies each extracted value.
Source Quote
AX-SourceQuote: true tag in the schema generates a source quote field alongside the data field. This is particularly useful for auditing, compliance, or when you need to verify where data came from.
Example: Contract Information Extraction
Contract.md
source___ fields capture the exact verbatim text from the document, allowing you to verify each extracted value against its source.
Key Benefits
- Traceability: Know exactly where each piece of extracted data came from
- Verification: Users can verify extracted values against the original text
- Compliance: Meet audit requirements by documenting data provenance
- Debugging: Quickly identify extraction errors by comparing source quotes with extracted values
- Trust: Build confidence in automated extractions with transparent sourcing
Best Practices
- Use source quotes for fields that require verification or audit trails
- Apply to high-value or legally significant data points
- Combine with Reasoning for complex extractions that involve both calculation and source verification
- Source quotes work best on leaf fields (strings, numbers, dates) rather than nested objects