Define a schema
Declare what you want to extract in a few lines of YAML. Field names, types, descriptions. The description guides the model.
name: invoice
fields:
invoice_number:
type: string
required: true
total_amount:
type: number
line_items:
type: array