Skip to content

Commit 13967c2

Browse files
authored
Merge pull request #380 from sigmacomputing/Cortex-Edits
Cotrex Changes 10 April 2025
2 parents c8dad2a + d75180e commit 13967c2

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed
-74.6 KB
Loading
12.5 KB
Loading
18.4 KB
Loading

site/sigmaguides/src/dataapps_snowflake_ask_cortex/dataapps_snowflake_ask_cortex.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,12 @@ The query will return about 900,000 rows and 14 columns. We can toggle the SQL s
234234

235235
<img src="assets/ct_1a.png" width="800"/>
236236

237+
<aside class="positive">
238+
<strong>IMPORTANT:</strong><br> Models used by Snowflake Cortex have limitations on size which are given in tokens. Tokens generally represent about four characters of text, so the number of words corresponding to a limit is less than the number of tokens. Inputs that exceed the limit result in an error.
239+
</aside>
240+
241+
For more information on current restrictions, see Snowflake's documentation on [Model restrictions.](https://docs.snowflake.com/en/user-guide/snowflake-cortex/llm-functions#model-restrictions)
242+
237243
Rename the table to `SALES_FACT_CURATED`.
238244

239245
Rename the data model to `Cortex QuickStart Data Model`.
@@ -452,7 +458,11 @@ To save time, the structure of the required input table is available as a CSV fi
452458

453459
<button>[Download Prompt Log.csv](https://sigma-quickstarts-main.s3.us-west-1.amazonaws.com/csv/prompt%2Blog.csv)</button>
454460

455-
On the `Data` page, add a `CSV input table` based on the downloaded CSV file. When prompted, use the same Snowflake connection you’ve already been using.
461+
On the `Data` page, add a `CSV input table` based on the downloaded CSV file.
462+
463+
<img src="assets/ct_17a.png" width="400"/>
464+
465+
When prompted, use the same Snowflake connection you’ve already been using.
456466

457467
You’ll need to adjust the `Last updated at` and `Date` columns to the `Date` data type, as the import did not detect the correct type from the CSV:
458468

0 commit comments

Comments
 (0)