Snowflake Cortex AI logo

[ AI tools · Enterprise platforms ]

AI on Your Snowflake Data, Without Moving It

We build with Snowflake Cortex AI: AI functions in SQL, Cortex Analyst for plain-language questions, Cortex Search and Cortex Agents, all running on models hosted inside Snowflake’s security boundary.

Team reviewing a data dashboard on a large screen in a meeting room

SELECT id, body, AI_CLASSIFY(body, ['Billing', 'Delivery', 'Product', 'Account']) AS topic FROM support.tickets;

idbodytopic
10482Parcel says delivered but nothing arrivedDelivery
10483Charged twice for the same orderBilling
10484Blender lid cracked on first useProduct
10485Cannot reset my passwordAccount
10486Driver left the box in the rainDelivery
10487Refund still not on my cardBilling

Example query and data. The model runs inside Snowflake; no rows leave the account.

Cortex in One Query

Cortex brings language models to the data instead of sending data to the models. Pick a note to see which line does what.

1SELECT ticket_id,2  AI_CLASSIFY(body, ['billing', 'delivery', 'product']) AS topic,3  AI_SENTIMENT(body) AS tone,4  AI_EXTRACT(body, {'order': 'order number'}) AS fields,5  AI_COMPLETE('claude', 'Draft a reply: ' || body) AS draft6FROM support.tickets7WHERE created_at > CURRENT_DATE - 1;
  • Data teamsAI functions in SQL, Python and dbt models.
  • Business usersCortex Analyst and Snowflake Intelligence answer questions about your numbers.
  • DevelopersCortex Search, Cortex Agents and REST APIs for apps.
[ Inside the boundary ]

The Models Come to the Data, Not the Other Way Round

Models from OpenAI, Anthropic, Meta and Mistral run inside Snowflake’s perimeter, so prompts and rows never go to an outside API. Scroll and the boundary closes around them.

Snowflake security boundary
Your tablesDocuments in stagesSemantic viewsClaudeGPTLlamaMistralCortex SearchRoles, masking policies
and audit apply here
[ AI functions in SQL ]

Eight Functions That Replace a Pipeline

Each one runs over millions of rows in a single query. We pick the narrowest function that does the job, because it is cheaper and easier to test than a general prompt.

  1. AI_CLASSIFY

    Puts each row into one of your categories, such as ticket topic or lead intent.

    Driver left the box in the rain → Delivery

  2. AI_EXTRACT

    Pulls named fields out of text or documents as structured values.

    Invoice INV-2207, due 14 Nov, total 4,180.00 EUR → { invoice: 'INV-2207', due: '2026-11-14', total: 4180 }

  3. AI_FILTER

    Returns true or false for a plain-language condition, usable in a WHERE clause.

    Does this review mention a refund? → TRUE

  4. AI_SENTIMENT

    Scores overall and per-aspect sentiment, such as price, delivery and quality.

    Great taste, but it took nine days to arrive → quality: positive · delivery: negative

  5. AI_AGG

    Summarizes or answers a question across many rows at once.

    What are customers asking for most this month? → Faster delivery to rural areas, and a refill subscription

  6. AI_PARSE_DOCUMENT

    Reads PDFs and scans in a stage into text that keeps tables and layout.

    supplier_contract_0412.pdf → 12 pages · 3 tables · layout preserved

  7. AI_TRANSLATE

    Translates text between supported languages inside a query.

    La entrega llegó tarde → The delivery arrived late

  8. AI_COMPLETE

    Runs a prompt on a chosen model for anything the specific functions do not cover.

    Draft a polite reply to this complaint → A reply draft, written to your tone guide

[ Beyond SQL ]

Questions, Search and Agents on the Same Data

The parts of Cortex we use when people, not pipelines, are asking the questions.

  1. 01Cortex AnalystPlain-language questions turned into SQL against a semantic view your analysts define, so “revenue” means what finance means by it.
  2. 02Cortex SearchManaged hybrid search over text and documents, kept fresh as tables change, for retrieval in assistants and apps.
  3. 03Cortex AgentsAgents that plan across Analyst, Search and your own tools, with each step traced and governed by Snowflake roles.
  4. 04Snowflake IntelligenceA ready-made agent app where business users ask questions of approved data and get charts and answers back.
[ Use cases ]

Cortex Builds We Are Asked For Most

  1. 01

    Support ticket triage

    Topic, urgency and sentiment on every ticket as it lands, feeding queues and weekly trend reports.

    AI_CLASSIFY, AI_SENTIMENT

  2. 02

    Contract and invoice extraction

    Fields from PDFs in a stage written straight into tables finance can reconcile.

    AI_PARSE_DOCUMENT, AI_EXTRACT

  3. 03

    Self-serve analytics

    Managers ask about their numbers in plain language and see the SQL behind each answer.

    Cortex Analyst

  4. 04

    Product feedback summaries

    Reviews and survey comments summarized by theme every week, with examples linked.

    AI_AGG

  5. 05

    Knowledge assistant on warehouse data

    An assistant that answers from documents and tables together, inside your Snowflake account.

    Cortex Search, Cortex Agents

Tell Us the Job, See Where to Start

What should Cortex do?
Our suggestion

Automation Audit and Build

We find the manual reading and tagging work in your data and replace it with Cortex functions in your pipelines.

$2,500 to $4,000

2 weeks

Snowflake credits for tag or classify text at hundreds of thousands are billed by Snowflake; we estimate them from a sample of your data during scoping.

Packages from $1,500; custom projects from $8,000.

Cortex Questions at a Glance

Does data leave Snowflake when we use Cortex?Snowflake states that Cortex models run inside its security perimeter, so prompts and data are not sent to outside model APIs, and that your data is not used to train the models. Access follows your Snowflake roles and masking policies.
Which models are available?Cortex offers models from providers including OpenAI, Anthropic, Meta and Mistral, plus Snowflake's own. Availability varies by region; we confirm what is available in yours before the build and can use cross-region inference if your policy allows it.
How is Cortex billed?Cortex usage is billed in Snowflake credits, by function and model, based on tokens processed or documents read. We test on a sample first and give you a cost per thousand rows before running anything at scale.
What is the difference between Cortex Analyst and an AI function?AI functions process data inside queries and pipelines, for example tagging every ticket. Cortex Analyst answers people's questions by writing SQL against a semantic view, for example a manager asking about last quarter's churn.
Should we build on Snowflake or Databricks?Build where your data and data team already are. Copying data to another platform for AI is rarely worth it. Snowflake is especially strong for SQL-first teams and governed self-serve analytics.
Can Cortex agents call systems outside Snowflake?Yes. Cortex Agents can use custom tools, such as stored procedures and external functions, and agents built elsewhere can call Cortex through its REST APIs or MCP.

On a lakehouse instead? See Databricks Agent Bricks. For the warehouse itself, read about Snowflake development, or see what Cortex looks like in a finished product: sentiment analysis and document processing.

[ Contact ]

Let's build your next product together

Book a free strategy call and leave with a clear plan and estimate. No commitment.

  1. 01Pick a time that suits you
  2. 0230 minutes on scope, stack, timeline and budget
  3. 03Fixed-price proposal, NDA on request
Prefer email? contact@sajaltech.com