aiExtractRules
to define custom rules for extracting structured data from any web page using large language models (LLMs). This is ideal when you don’t want to write manual CSS selectors and need clean, field-level data in JSON format.
Each key you define represents a field you want to extract. You provide a type
and (optionally) a description
to help the model understand what data to look for.
string
– plain text valuenumber
– numeric valueboolean
– true or falselist
– an array of valuesitem
– a nested object (with its own structure under output
)enum
to restrict a string to a fixed set of values.
list
fields can output flat values ("output": "string"
) or objects ("output": { ... }
).null
.