surfaceclassificationbucket_llm
Classificationdimension · returns varchar

BUCKET_LLM

LLM-backed bucketing (escape hatch for BUCKET)

Per-row classifier — stable across GROUP BY.

classificationllmllm-escape-hatchtext

Arguments

nametypedescription
textVARCHAR
bucketsVARCHAR
strictBOOLEAN

About

LLM-backed escape hatch for user-provided bucket classification. Use when BUCKET (zero-shot NLI) misclassifies due to subtle label semantics or when the bucket names require world knowledge to interpret.

Examples

LLM escape hatch buckets a value

SELECT
  bucket_llm (75, 'numeric,text,date')

Nearby rabbit holes

same domain
Climb back to The Looking Glass