AI_SUMMARIZE_AGG
functiondeferredAI & MLSummarizes 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
| Name | Required | Description |
|---|---|---|
expr | required | This 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
- This function provides a general purpose summary. For a more specific summary, use AI_AGG.
Legal notices
Refer to Snowflake AI and ML for legal notices.
Known gaps
- The emulator does not run language, embedding, document or speech models, so Cortex AI functions have no model to answer with.