Extract specific information from unstructured text (zero-shot NER)
Per-row — runs once for each row.
{{ text }} EXTRACTS '{{ what }}'| name | type | description |
|---|---|---|
| text | VARCHAR | — |
| what | VARCHAR | What to extract (e.g., 'product name', 'complaint type') |
| threshold(optional) | DOUBLE | — |
Function: Price extracted
SELECT
semantic_extract ('The price is $49.99 per unit', 'price')Function: Email extracted
SELECT
semantic_extract ('Contact John Smith at john@company.com', 'email')Function: Order number extracted
SELECT
semantic_extract (
'Order shipped ref 12345 on Monday',
'order number'
)Infix EXTRACTS: time extracted from text
WITH
t AS (
SELECT
'Meeting with CEO scheduled for 3pm' AS msg
)
SELECT
msg EXTRACTS 'time'
FROM
tInfix EXTRACTS: product name extracted
WITH
t AS (
SELECT
'Product: iPhone 15 Pro Max - great camera!' AS review
)
SELECT
review EXTRACTS 'product name'
FROM
tCrawl a website and extract structured data from each page (via Firecrawl)
LLM-backed extraction (escape hatch for EXTRACTS)
Extract structured fields from text per a user-supplied schema
Merge multiple timelines into unified chronological sequence
Extract information from text using natural-language instructions
Parse, validate, or transform patterned strings using plain-English instructions
Extract specific information from unstructured text (zero-shot NER)
Per-row — runs once for each row.
{{ text }} EXTRACTS '{{ what }}'| name | type | description |
|---|---|---|
| text | VARCHAR | — |
| what | VARCHAR | What to extract (e.g., 'product name', 'complaint type') |
| threshold(optional) | DOUBLE | — |
Function: Price extracted
SELECT
semantic_extract ('The price is $49.99 per unit', 'price')Function: Email extracted
SELECT
semantic_extract ('Contact John Smith at john@company.com', 'email')Function: Order number extracted
SELECT
semantic_extract (
'Order shipped ref 12345 on Monday',
'order number'
)Infix EXTRACTS: time extracted from text
WITH
t AS (
SELECT
'Meeting with CEO scheduled for 3pm' AS msg
)
SELECT
msg EXTRACTS 'time'
FROM
tInfix EXTRACTS: product name extracted
WITH
t AS (
SELECT
'Product: iPhone 15 Pro Max - great camera!' AS review
)
SELECT
review EXTRACTS 'product name'
FROM
tCrawl a website and extract structured data from each page (via Firecrawl)
LLM-backed extraction (escape hatch for EXTRACTS)
Extract structured fields from text per a user-supplied schema
Merge multiple timelines into unified chronological sequence
Extract information from text using natural-language instructions
Parse, validate, or transform patterned strings using plain-English instructions