TheCLASSIFY_TEXTfunction performscategory assignmentfor free-form text. Users provide a list of predefined labels, and the function predicts the most appropriate category using a Snowflake-optimized LLM. It is ideal for automatically tagging customer feedback, routing support tickets, labeling product reviews, classifying email content, and segmenting operational logs.
The function outputs both the predicted label and an associated confidence score, enabling downstream filtering, dashboarding, and automated processing.
Other options belong to different Cortex functions:
TRANSLATEhandles multilingual translation.
COMPLETEgenerates natural language completions.
PARSE_DOCUMENTextracts structured information from documents.
Thus, CLASSIFY_TEXT is task-specific and optimized specifically for classification workloads.
====================================================
Submit