A new project needs text-to-SQL plus document answers in one chat. What does Snowflake recommend?
- Exam domain
- Text to SQL with Cortex Analyst
- Difficulty
- Medium
- In this mock
- 5 questions on this domainPractise this domain
Why C is the answer
Cortex Agents, which support every Cortex Analyst capability and add other tools
Snowflake recommends moving to Cortex Agents, which support every Cortex Analyst capability with higher answer quality and can also use Cortex Search and other tools.
Remember: New builds start with Cortex Agents.
In detail
- Agents include Analyst.
- One chat, many tools.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. AI_COMPLETE with the table schema pasted inWrong
Pasting schemas loses the semantic layer.
B. Cortex Analyst aloneWrong
Analyst alone covers only structured data.
C. Cortex Agents, which support every Cortex Analyst capability and add other toolsRight
New builds start with Cortex Agents.
D. Two separate chat apps, one for SQL and one for documents, joined by the userWrong
Two apps split the experience.
Use case
An illustrative scenario, not a real incident.
Illustrative: a revenue assistant answers "why did EMEA drop" from both sales tables and account notes.
See it in different ways
flowchart TD
Q{"What is the question about?"}
Q -->|"Documents and text"| A0["Cortex Search"]
Q -->|"Tables and metrics"| A1["Cortex Analyst"]
Q -->|"Both, in one chat"| A2["Cortex Agents"]How to read this chart
- At "What is the question about?": if "Documents and text", go to "Cortex Search"; if "Tables and metrics", go to "Cortex Analyst"; if "Both, in one chat", go to "Cortex Agents".
mindmap
root(("Cortex Agents"))
n1["Structured"]
n2["Cortex Analyst"]
n3["Unstructured"]
n4["Cortex Search"]
n5["Custom"]
n6["Procedures"]
n7["UDFs"]How to read this chart
- The centre is "Cortex Agents".
- "Structured" covers "Cortex Analyst".
- "Unstructured" covers "Cortex Search".
- "Custom" covers "Procedures", "UDFs".