snowflake.cortex.summarize

snowflake.cortex.summarize(text: str | Column, session: Session | None = None) str | Column

Calls into the LLM inference service to summarize the input text.

Parameters:
  • text – A Column of strings to summarize.

  • session – The snowpark session to use. Will be inferred by context if not specified.

Returns:

A column of string summaries.