Document Summarizer Pack
★Trustedv1.0.0MIT✔Verified88by AgentNode · published 22 days ago · toolpack
Summarize long documents into concise, structured text.
Extractive and abstractive summarization for PDFs, text files, and HTML content.
Quick Start
agentnode install document-summarizer-packUsage
From packagefrom document_summarizer_pack.tool import run
result = run(
action="summarize_document",
text="""Abstract: This study examines the impact of transformer-based architectures
on low-resource language translation. We evaluated mBERT, XLM-R, and a novel
fine-tuning approach on 12 African languages with fewer than 100,000 parallel
sentences each. Our method achieved BLEU score improvements of 4.2 to 8.7 points
over baseline models. The key innovation is a curriculum learning strategy that
gradually increases sentence complexity during fine-tuning. Results demonstrate
that pre-trained multilingual models can be effectively adapted for extremely
low-resource pairs when combined with strategic data ordering. We release our
fine-tuning toolkit and evaluation benchmarks as open source.""",
format="structured",
max_length=150
)
print(f"Title: {result['title']}")
print(f"Summary: {result['summary']}")
print(f"Key Points:")
for point in result["key_points"]:
print(f" - {point}")Verification
Package installs and imports correctly. runtime checks passed.
This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.
Last verified 18d ago· Runner v2.0.0
Use this when you need to...
- ›Summarize 50-page quarterly earnings reports into key bullet points
- ›Condense research papers into structured abstracts with findings
- ›Generate executive summaries from multi-chapter project proposals
- ›Extract action items and decisions from lengthy meeting transcripts
- ›Create concise briefs from legal contract documents
README
Document Summarizer Pack
Summarize long documents into concise, structured text. Handles research papers, meeting transcripts, reports, and contracts with configurable output formats.
Quick Start
agentnode install document-summarizer-pack
from document_summarizer_pack.tool import run
result = run(
action="summarize_document",
text="Your long document text here...",
max_length=200
)
print(result["summary"])
Usage
Bullet-Point Summary
result = run(
action="summarize_document",
text=long_report_text,
format="bullets",
max_points=5
)
for point in result["bullets"]:
print(f"- {point}")
Structured Summary with Sections
result = run(
action="summarize_document",
file_path="/data/quarterly_report.pdf",
format="structured",
sections=["overview", "key_findings", "risks", "recommendations"]
)
Meeting Transcript to Action Items
result = run(
action="summarize_document",
file_path="/data/standup_notes.txt",
format="action_items"
)
for item in result["sections"]["action_items"]:
print(f"[{item['owner']}] {item['task']}")
API Reference
| Capability | Description |
|---|---|
summarize_document | Condense long text into structured summaries |
Formats: paragraph, bullets, structured, action_items
Inputs: Plain text strings, .txt, .pdf, .docx files
License
MIT
Version History
Capabilities
Permissions
This package declares the following access levels. Review before installing.
agentnode install document-summarizer-packFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode