Template Expert - Type Expert for Template Documents
Identifies template files - reusable document structures with placeholders that serve as starting points for creating new documents.
Key signals:
- TEMPLATE in filename
- Placeholder patterns ([PLACEHOLDER], {{placeholder}},
) - "Fill in" or "Replace" instructions
- Generic/abstract content
- Section headers with placeholder content
File: template_expert.py
Classes
TemplateExpert
Expert for identifying template documents.
Functions
analyze(document, analyst_votes)
Analyze if document is a template.
generate_enhancements(document, analysis)
Generate enhancements for template documents.