summarize function transforms any text into a concise summary, with optional instructions for
format and focus.
For complex summarization needs, consider creating a custom task. The summarize function is a
convenient wrapper around Marvin’s task system - see Tasks for more details.
Usage
Create a simple summary:Parameters
data: The content to summarizeinstructions: Optional guidance for the summaryagent: Optional custom agent to usethread: Optional thread for conversation contextcontext: Optional dict of additional context
