Source Code:
src/gaia/apps/summarize/app.pyComponent: SummarizerApp - Meeting and email summarization
Module:
gaia.apps.summarize.app
Import: from gaia.apps.summarize.app import SummarizerApp, SummaryConfigOverview
SummarizerApp processes meeting transcripts and emails to generate structured summaries with multiple styles (executive, detailed, bullets, action items, participants). Supports auto-detection of content type and multi-style output in a single LLM call. Key Features:- Auto-detect content type (transcript vs email)
- 6 summary styles (brief, detailed, bullets, executive, participants, action_items)
- Combined or individual style generation
- Multi-model support (local, Claude, ChatGPT)
- Performance statistics tracking
- Retry logic for reliability
- File and directory batch processing
API Specification
SummaryConfig
Summary Styles
SummarizerApp
SummarizerApp is a thin wrapper that delegates to
SummarizerAgent
for the actual prompt construction, retry logic, and multi-style generation.
The app class itself exposes just four public methods:
Internal pipeline helpers like
detect_content_type, generate_summary_prompt,
generate_combined_prompt, summarize_with_style, and summarize_combined
live on SummarizerAgent, not on SummarizerApp. Subclass or import
SummarizerAgent directly if you need to override those.Module-level helpers
gaia summarize --email-to/--email-cc CLI flags.
Usage Examples
Example 1: Single Meeting Transcript
Example 2: Multiple Styles
Example 3: Batch Processing
Example 4: Email Summarization
Output Format
Single Style Output
Multiple Styles Output
Testing Requirements
Dependencies
SummarizerApp Technical Specification