Snowflake Cortex Analyst Tool¶
The Cortex Analyst tool leverages an existing Cortex Analyst object in your Snowflake subscription in order to answer questions from a Snowflake Semantic View or Semantic Model.
It empowers other agents to query structured data in the Semantic Model / View (Text-to-SQL).
Prerequisites¶
The Cortex Analyst Tool is a capability provided by the “Snowflake Cortex AI” plugin, which you need to install.
You need a Snowflake connection setup with OAuth 2, Keypair, or Programmatic Access Token authentication. Login/Password is not supported.
The default role of the user of the Snowflake connection needs to have access to the Cortex Analyst service.
Usage¶
Create a new Cortex Analyst tool
Select between using an existing Semantic View (recommended) or the location of an uploaded YAML file for a Semantic Model (legacy)