Topic: Snowflake Cortex LLMs And Model Selection
A global support organization needs to classify 8 million short customer messages each month into a fixed taxonomy. The pipeline must run in Snowflake, avoid sending data to an external service, and keep inference cost low; latency of several minutes per batch is acceptable. Most messages are in English, and the team does not need generated prose or long-context reasoning. Which approach best meets the requirements?
A Cortex classification function is designed for assigning inputs to supplied categories and executes within Snowflake, avoiding a per-row generative prompt when generation is unnecessary. A large general-purpose LLM adds cost and variability. Cortex Search retrieves relevant indexed content rather than directly performing the requested closed-set classification. An external endpoint violates the data-boundary requirement and adds infrastructure.