You are viewing documentation about an older version (1.6.1). View latest version

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.