snowflake.cortex.summarize

snowflake.cortex.summarize(text: Union[str, Column], session: Optional[Session] = None) Union[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.