summarize
Extract central sentences from long articles or documents to compress context into key points using term-frequency scoring.
Instructions
Perform extractive text summarization to identify and return the most informative, central sentences from long articles or documents based on term-frequency scoring. Use to compress long context into key points. Pure, deterministic, and idempotent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Raw text content to summarize (maximum 50,000 characters). | |
| num_sentences | No | Number of key summary sentences to extract (integer between 1 and 10, default 3). |