Hypergraph is more powerful. Transform unstructured text into structured knowledge with LLMs. Graphs, hypergraphs, and spatio-temporal extractions — with one command.
Template Library
Choose a template based on what you want to extract.
I want to analyze...
:material-file-document:{ .lg .middle } Research Papers
Extract concepts, methods, results, and relationships
- Concept Graph — Recommended
- Knowledge Graph
- Document Structure
:material-account:{ .lg .middle } Biographies & Profiles
Extract life events, relationships, and timeline
- Biography Graph — Recommended
- Person Summary
:material-chart-line:{ .lg .middle } Financial Reports
Extract earnings, risks, and ownership structures
- Earnings Summary — Recommended
- Risk Factors
- Ownership Graph
:material-scale-balance:{ .lg .middle } Legal Documents
Extract obligations, cases, and compliance items
- Contract Obligations — Recommended
- Case Timeline
- Defined Terms
:material-hospital:{ .lg .middle } Medical Records
Extract symptoms, treatments, and timelines
- Hospital Timeline — Recommended
- Drug Interactions
- Discharge Summary
:material-leaf:{ .lg .middle } TCM Texts
Extract herb properties and formula compositions
- Herb Properties — Recommended
- Formula Composition
- Meridian Graph
:material-factory:{ .lg .middle } Industrial Documents
Extract equipment, safety, and operation flows
- Equipment Topology — Recommended
- Safety Controls
- Operation Flow
:material-school:{ .lg .middle } Course Materials & Syllabi
Extract knowledge-point dependencies and curriculum structure
- Course Concept Graph — Recommended
- Curriculum Structure
Not sure what to choose?
By task type:
| Task | Recommended Template |
|---|---|
| Summarize a document | general/model |
| Extract a list of items | general/list |
| Build a knowledge network | general/graph |
| Create a timeline | general/base_temporal_graph |
By output type:
| Output | Auto-Type | Use When... |
|---|---|---|
| Structured summary | AutoModel | Need a report |
| Network/Graph | AutoGraph | Need relationships |
| Timeline | AutoTemporalGraph | Need time sequence |
Quick Start
# List all templates
he list template
# Use a template
he parse document.md -t general/biography_graph -l en -o ./output/
from hyperextract import Template
# Create template
ka = Template.create("general/biography_graph", "en")
# Extract
result = ka.parse(text)
Browse All Templates
Create Custom Templates
Need something specific? Learn to create your own: