AI_SUMMARIZE_AGG

functiondeferredAI & ML

docs.snowflake.com ↗

Aggregate functionsString & binary functions

Summarizes a column of text data. For example, AI_SUMMARIZE_AGG(churn_reason) will return a summary of the churn_reason column. Unlike AI_COMPLETE and AI_SUMMARIZE, this function supports datasets larger than the maximum language model context window. See also: AI_AGG

Syntax

AI_SUMMARIZE_AGG( <expr> )

Parameters

NameRequiredDescription
exprrequiredThis is an expression that contains text for summarization, such as restaurant reviews or phone transcripts.

Returns

Returns a string summary of the expression.

Usage notes

Legal notices

Refer to Snowflake AI and ML for legal notices.

Known gaps

Parts not fully supported, and recorded divergences from Snowflake.