Generate concise summaries of longer texts.
Summary
) as the result_type
to define the structure of our output. This ensures that the summarization task returns both a summary and a list of key points in a well-defined format.
context
parameter is used to pass the input text and maximum word count to the task.
max_words
parameter in the task instruction, allowing for flexible control over the summary length.