Snowflake-Labs / sfquickstarts

Follow along with our tutorials to get you up and running with Snowflake.
Apache License 2.0
351 stars 657 forks source link

Required LLMs for Cortex Analyst not available in your region in "Getting Started with Cortex Analyst: Augment BI with AI" #1759

Open davidmwilliams opened 3 days ago

davidmwilliams commented 3 days ago

Describe the bug Run the Streamlit app and it doesn't work; we get an analyst API error saying the required LLMs for Cortex Analyst are not available in your region. Please enable cross region calls to use this API.

URL of where you see the bug https://quickstarts.snowflake.com/guide/getting_started_with_cortex_analyst/#4

To Reproduce Steps to reproduce the behavior:

  1. Live in Australia
  2. Have Snowflake account rep make new Snowflake account for you in Azure/Australia-East (Sydney)
  3. Work through the quickstart
  4. Paste in the StreamLit code
  5. Hit run

Expected behavior The StreamLit app would work.

Screenshots image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

davidmwilliams commented 3 days ago

I could get around it by executing this SQL -

use role accountadmin; ALTER ACCOUNT SET CORTEX_ENABLED_CROSS_REGION = 'AWS_US';