- Categories:
String & binary functions (AI Functions)
SUMMARIZE (SNOWFLAKE.CORTEX)ΒΆ
Summarizes the given English-language input text.
SyntaxΒΆ
SNOWFLAKE.CORTEX.SUMMARIZE(<text>)
ArgumentsΒΆ
text
A string containing the English text from which a summary should be generated.
ReturnsΒΆ
A string containing a summary of the original text.
Access control requirementsΒΆ
Users must use a role that has been granted the SNOWFLAKE.CORTEX_USER database role. See Required privileges for more information on this privilege.
ExampleΒΆ
In this example, a table named reviews
contains a column named review_content
containing the text of reviews
submitted by users. The query returns a summary of each review.
SELECT SNOWFLAKE.CORTEX.SUMMARIZE(review_content) FROM reviews LIMIT 10;
Legal noticesΒΆ
Refer to Snowflake AI and ML.
LimitationsΒΆ
Snowflake Cortex functions do not support dynamic tables.