liveBook · Manning

Snowflake Cortex

As explained in Snowflake Data Engineering

Snowflake Cortex is a Snowflake service that provides selected machine-learning and large-language-model capabilities through Snowflake interfaces.

Snowflake Cortex provides selected machine-learning and large-language-model capabilities directly through Snowflake interfaces. It lets data teams apply forecasting, anomaly detection, classification, sentiment scoring, prompt completion, summarization, translation, answer extraction, and vector embedding without leaving Snowflake SQL workflows. section 1.4

Use Cortex for pipeline tasks such as:

  • Applying time-series forecasting, anomaly detection, or classification to data in Snowflake. section 1.4
  • Augmenting records with sentiment scores, summaries, translations, extracted answers, or vector embeddings. section 1.4
  • Calling an LLM from procedural logic, transforming its response, and saving the result to a Snowflake table. section 7.5

LLM-augmented pipeline

A pipeline can send a clearly specified prompt to a Cortex LLM function, parse and flatten the JSON response for SQL use, remove unprintable characters when necessary, and persist transformed results in a table. Prompt refinement may require several iterations, and generated results should be reviewed for accuracy. section 7.5

How Snowflake Data Engineering covers it

How deep it goes
Lists supported capabilities and describes response handling and stored-procedure integration, but does not specify function syntax or model internals.
Examples
Uses forecasting, anomaly detection, classification, sentiment scoring, summarization, translation, answer extraction, and vector embedding.
What it assumes
Assumes familiarity with Snowflake data workflows and prompts, while emphasizing prompt clarity, response parsing, and cautious result review.
What you can do after
Apply selected ML and LLM operations through Snowflake SQL, then transform, store, and review their outputs.
How it connects
Connects Snowflake SQL with Snowpark, machine learning, large language models, stored procedures, and data augmentation.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Snowflake Data Engineering. The section links point to the parts of the book it draws on.