Assess data quality (0.0-1.0)
Per-row — runs once for each row.
QUALITY({{ value }})QUALITY({{ value }}, '{{ expected_type }}')| name | type | description |
|---|---|---|
| value | VARCHAR | — |
| expected_type(optional) | VARCHAR | Expected type hint: address, name, phone, email, etc. |
Perfect email should score high
SELECT
quality ('john.smith@gmail.com')Malformed email should score low
SELECT
quality ('j@g')Empty value should score near zero
SELECT
quality ('')Clean name scores high when hinted
SELECT
quality ('John Smith', 'name')Identify target audience via zero-shot NLI
LLM-backed audience identification (escape hatch for AUDIENCE)
Assess authenticity of content via zero-shot NLI
LLM-backed authenticity assessment (escape hatch for AUTHENTICITY)
Classify text into user-specified buckets via zero-shot NLI
LLM-backed bucketing (escape hatch for BUCKET)
Assess data quality (0.0-1.0)
Per-row — runs once for each row.
QUALITY({{ value }})QUALITY({{ value }}, '{{ expected_type }}')| name | type | description |
|---|---|---|
| value | VARCHAR | — |
| expected_type(optional) | VARCHAR | Expected type hint: address, name, phone, email, etc. |
Perfect email should score high
SELECT
quality ('john.smith@gmail.com')Malformed email should score low
SELECT
quality ('j@g')Empty value should score near zero
SELECT
quality ('')Clean name scores high when hinted
SELECT
quality ('John Smith', 'name')Identify target audience via zero-shot NLI
LLM-backed audience identification (escape hatch for AUDIENCE)
Assess authenticity of content via zero-shot NLI
LLM-backed authenticity assessment (escape hatch for AUTHENTICITY)
Classify text into user-specified buckets via zero-shot NLI
LLM-backed bucketing (escape hatch for BUCKET)