snowflake.cortex.Summarize

snowflake.cortex.Summarize(text: Union[str, Column], session: Optional[Session] = None) Union[str, Column]

Summarize 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.