From the course: Building Generative AI Apps to Talk to Your Data
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Expanding the scope of the semantic model - Snowflake Tutorial
From the course: Building Generative AI Apps to Talk to Your Data
Expanding the scope of the semantic model
- Welcome back. Now that Cortex Analyst can answer questions in natural language about revenue and break it down by region, let's expand it to include breakdowns by different product lines. Jump back into your notebook to follow along. (air whooshing) Okay, we now have a model that allows Cortex Analyst to answer our revenue questions by region, but what would be even better is if we could include breakdowns for different product lines. This can open up the model to another business unit that can take advantage of what we've built here. In the next cell, we'll define an extension to our Semantic Model, semantic model product. We will name the table and give it a description that references it as a dimension table. Under dimensions, we'll set product ID and product line with some sample values. Then we'll just depend it onto our semantic model using replace so that it sticks in the right spot. Next, we need to make sure that semantic model includes their relationship between our…
Contents
-
-
-
-
-
(Locked)
Avoiding death by dashboard4m 51s
-
(Locked)
Setting up the app4m 58s
-
(Locked)
Understanding the semantic model8m 18s
-
(Locked)
Working with the semantic model4m 37s
-
(Locked)
Using Cortex Analyst5m 56s
-
(Locked)
From text-to-SQL to TAG: Creating table-assisted generation3m 17s
-
(Locked)
Expanding the scope of the semantic model12m 11s
-
(Locked)
Building the Streamlit app11m 41s
-
(Locked)
Congratulations!3m 6s
-
(Locked)