# gowtham2891/ai-meeting-summarizer architecture

> Architecture diagram of the GitHub repository gowtham2891/ai-meeting-summarizer, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/gowtham2891/ai-meeting-summarizer
- Repository: https://github.com/gowtham2891/ai-meeting-summarizer

## Overview

This is a meeting-recording summarizer with Streamlit and CLI entry points. Its principal workflow validates and optionally chunks audio, transcribes it, extracts a structured summary, then attempts selected deliveries while preserving per-channel outcomes. Built-in mock and live providers support offline and credentialed use; the README also documents connection checks and downloadable exports. The graph uses excerpts, the SOURCE INDEX, and README statements; some UI/export and health-check internals were not sampled, so those links rely on documented capabilities.

Main entry points: [`meeting_summarizer/pipeline.py`](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/pipeline.py) (Pipeline orchestrator), [`meeting_summarizer/delivery/channels.py`](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/delivery/channels.py) (Delivery channels), [`meeting_summarizer/models.py`](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/models.py) (Transcript and summary models), [`app.py`](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/app.py) (Streamlit UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["User interfaces"]
  node_app["Streamlit UI<br/>[app.py]"]
  node_cli["CLI<br/>[cli.py]"]
end

subgraph group_orchestration["Pipeline and configuration"]
  node_pipeline["Pipeline orchestrator<br/>[pipeline.py]"]
  node_audio["Audio validation and chunking<br/>[audio.py]"]
  node_settings["Runtime settings<br/>[config.py]"]
  node_health["Provider checks<br/>[health.py]"]
  node_models["Transcript and summary models<br/>[models.py]"]
  node_registry["Provider registration<br/>[__init__.py]"]
end

subgraph group_transcription["Transcription"]
  node_transcriber["Transcriber registry<br/>[base.py]"]
  node_mock_transcriber["Mock transcription<br/>[mock.py]"]
  node_sarvam["Sarvam transcription<br/>[sarvam.py]"]
end

subgraph group_extraction["Summary extraction"]
  node_extractor["Extractor registry<br/>[base.py]"]
  node_mock_extractor["Rule-based extraction<br/>[mock.py]"]
  node_llm["LLM extraction<br/>[llm.py]"]
  node_prompts["Extraction prompts<br/>[prompts.py]"]
end

subgraph group_delivery["Delivery"]
  node_channel_registry["Delivery registry<br/>[base.py]"]
  node_channels["Delivery channels<br/>[channels.py]"]
end

node_user(("Recording user"))
node_sarvam_service{{"Sarvam speech service"}}
node_llm_services{{"OpenAI or Gemini"}}
node_external_destinations{{"Email and WhatsApp services"}}
node_file_output["Markdown and JSON files"]
node_console_output["Console output"]

node_user -->|"uploads recording"| node_app
node_user -->|"runs command"| node_cli
node_app -->|"runs pipeline"| node_pipeline
node_cli -->|"runs pipeline"| node_pipeline
node_app -->|"checks providers"| node_health
node_pipeline -->|"validates audio"| node_audio
node_pipeline -->|"resolves provider"| node_transcriber
node_pipeline -->|"resolves provider"| node_extractor
node_pipeline -->|"resolves channels"| node_channel_registry
node_transcriber -->|"selects implementation"| node_mock_transcriber
node_transcriber -->|"selects implementation"| node_sarvam
node_sarvam -->|"splits recordings"| node_audio
node_sarvam -->|"sends audio chunks"| node_sarvam_service
node_sarvam -->|"creates transcript"| node_models
node_mock_transcriber -->|"creates transcript"| node_models
node_extractor -->|"selects implementation"| node_mock_extractor
node_extractor -->|"selects implementation"| node_llm
node_llm -->|"uses prompts"| node_prompts
node_llm -.->|"requests structured summary"| node_llm_services
node_llm -->|"builds validated summary"| node_models
node_mock_extractor -->|"builds summary"| node_models
node_pipeline -->|"passes transcript and summary"| node_models
node_channel_registry -->|"selects implementation"| node_channels
node_channels -->|"sends email or WhatsApp"| node_external_destinations
node_channels -->|"writes Markdown and JSON"| node_file_output
node_channels -->|"prints summary"| node_console_output
node_pipeline -->|"delivers summary"| node_channels
node_app -->|"configures providers"| node_settings
node_cli -->|"configures providers"| node_settings

click node_app "https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/app.py"
click node_cli "https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/cli.py"
click node_pipeline "https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/pipeline.py"
click node_audio "https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/audio.py"
click node_settings "https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/config.py"
click node_health "https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/health.py"
click node_models "https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/models.py"
click node_registry "https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/__init__.py"
click node_transcriber "https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/transcription/base.py"
click node_mock_transcriber "https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/transcription/mock.py"
click node_sarvam "https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/transcription/sarvam.py"
click node_extractor "https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/extraction/base.py"
click node_mock_extractor "https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/extraction/mock.py"
click node_llm "https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/extraction/llm.py"
click node_prompts "https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/extraction/prompts.py"
click node_channel_registry "https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/delivery/base.py"
click node_channels "https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/delivery/channels.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_cli,node_user toneBlue
class node_pipeline,node_audio,node_settings,node_health,node_models,node_registry toneAmber
class node_transcriber,node_mock_transcriber,node_sarvam toneMint
class node_extractor,node_mock_extractor,node_llm,node_prompts toneRose
class node_channel_registry,node_channels,node_sarvam_service,node_llm_services,node_external_destinations,node_file_output,node_console_output toneIndigo
```

## Components

### User interfaces

- [Streamlit UI](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/app.py): `app.py`
- [CLI](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/cli.py): `meeting_summarizer/cli.py`

### Pipeline and configuration

- [Pipeline orchestrator](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/pipeline.py): `meeting_summarizer/pipeline.py`
- [Audio validation and chunking](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/audio.py): `meeting_summarizer/audio.py`
- [Runtime settings](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/config.py): `meeting_summarizer/config.py`
- [Provider checks](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/health.py): `meeting_summarizer/health.py`
- [Transcript and summary models](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/models.py): `meeting_summarizer/models.py`
- [Provider registration](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/__init__.py): `meeting_summarizer/__init__.py`

### Transcription

- [Transcriber registry](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/transcription/base.py): `meeting_summarizer/transcription/base.py`
- [Mock transcription](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/transcription/mock.py): `meeting_summarizer/transcription/mock.py`
- [Sarvam transcription](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/transcription/sarvam.py): `meeting_summarizer/transcription/sarvam.py`

### Summary extraction

- [Extractor registry](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/extraction/base.py): `meeting_summarizer/extraction/base.py`
- [Rule-based extraction](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/extraction/mock.py): `meeting_summarizer/extraction/mock.py`
- [LLM extraction](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/extraction/llm.py): `meeting_summarizer/extraction/llm.py`
- [Extraction prompts](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/extraction/prompts.py): `meeting_summarizer/extraction/prompts.py`

### Delivery

- [Delivery registry](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/delivery/base.py): `meeting_summarizer/delivery/base.py`
- [Delivery channels](https://github.com/gowtham2891/ai-meeting-summarizer/blob/main/meeting_summarizer/delivery/channels.py): `meeting_summarizer/delivery/channels.py`

### Other components

- **Recording user**
- **Sarvam speech service**
- **OpenAI or Gemini**
- **Email and WhatsApp services**
- **Markdown and JSON files**
- **Console output**

## Connections

- Recording user → Streamlit UI: uploads recording (evidence: `README.md`)
- Recording user → CLI: runs command (evidence: `README.md`)
- Streamlit UI → Pipeline orchestrator: runs pipeline (evidence: `app.py`)
- CLI → Pipeline orchestrator: runs pipeline (evidence: `meeting_summarizer/cli.py`)
- Streamlit UI → Provider checks: checks providers (evidence: `app.py`)
- Pipeline orchestrator → Audio validation and chunking: validates audio (evidence: `meeting_summarizer/pipeline.py`)
- Pipeline orchestrator → Transcriber registry: resolves provider (evidence: `meeting_summarizer/pipeline.py`)
- Pipeline orchestrator → Extractor registry: resolves provider (evidence: `meeting_summarizer/pipeline.py`)
- Pipeline orchestrator → Delivery registry: resolves channels (evidence: `meeting_summarizer/pipeline.py`)
- Transcriber registry → Mock transcription: selects implementation (evidence: `meeting_summarizer/transcription/mock.py`)
- Transcriber registry → Sarvam transcription: selects implementation (evidence: `meeting_summarizer/transcription/sarvam.py`)
- Sarvam transcription → Audio validation and chunking: splits recordings (evidence: `meeting_summarizer/transcription/sarvam.py`)
- Sarvam transcription → Sarvam speech service: sends audio chunks (evidence: `meeting_summarizer/transcription/sarvam.py`)
- Sarvam transcription → Transcript and summary models: creates transcript (evidence: `meeting_summarizer/transcription/sarvam.py`)
- Mock transcription → Transcript and summary models: creates transcript (evidence: `meeting_summarizer/transcription/mock.py`)
- Extractor registry → Rule-based extraction: selects implementation (evidence: `meeting_summarizer/extraction/mock.py`)
- Extractor registry → LLM extraction: selects implementation (evidence: `meeting_summarizer/extraction/llm.py`)
- LLM extraction → Extraction prompts: uses prompts (evidence: `meeting_summarizer/extraction/llm.py`)
- LLM extraction → OpenAI or Gemini: requests structured summary (evidence: `README.md`)
- LLM extraction → Transcript and summary models: builds validated summary (evidence: `meeting_summarizer/extraction/llm.py`)
- Rule-based extraction → Transcript and summary models: builds summary (evidence: `meeting_summarizer/extraction/mock.py`)
- Pipeline orchestrator → Transcript and summary models: passes transcript and summary (evidence: `meeting_summarizer/pipeline.py`)
- Delivery registry → Delivery channels: selects implementation (evidence: `meeting_summarizer/delivery/channels.py`)
- Delivery channels → Email and WhatsApp services: sends email or WhatsApp (evidence: `README.md`)
- Delivery channels → Markdown and JSON files: writes Markdown and JSON (evidence: `README.md`)
- Delivery channels → Console output: prints summary (evidence: `README.md`)
- Pipeline orchestrator → Delivery channels: delivers summary (evidence: `meeting_summarizer/pipeline.py`)
- Streamlit UI → Runtime settings: configures providers (evidence: `app.py`)
- CLI → Runtime settings: configures providers (evidence: `meeting_summarizer/cli.py`)
