For Snowflake Cortex Analyst, send the following natural language query to the tool as is without any modification: [[query]].
Show me the results from the Search Snowflake with Cortex Analyst tool only. If there are more than 3 rows, show them as a table. Use the first row in the response from the tool for column names. Always show citations.
What was the total revenue last month?
using the Cortex Analyst feature and a semantic model or semantic view input.SELECT COUNT(*) FROM customers LIMIT 5
executed directly through SQL.<WAREHOUSE>
with your warehouse name and <ROLE>
with your role name.
DATABASE.SCHEMA.TABLE
). You must also grant the necessary USAGE privilege to the Snowflake role used by the action. Here are some example commands: