A full-stack application for speech therapy assistance, combining a Python backend with a React TypeScript frontend.
speech-therapy/
├── backend/
│ ├── services/
│ │ ├── agent_orchestrator.py # Orchestrates therapy agents
│ │ ├── mcp_server.py # MCP (Model Context Protocol) server
│ │ ├── recover_audio.py # Audio recovery utilities
│ │ └── repoint_jsonl.py # JSONL data management
│ ├── deprecated_app_v1.py # Legacy application (deprecated)
│ ├── sarvam_train.jsonl # Training data for Sarvam
│ ├── whisper_train.jsonl # Training data for Whisper
│ ├── whisper_train_clean.jsonl # Cleaned Whisper training data
│ └── whisper_train_fixed.jsonl # Fixed Whisper training data
│
├── frontend/
│ ├── src/ # React/TypeScript source code
│ ├── public/ # Static assets
│ ├── package.json # Frontend dependencies and scripts
│ ├── vite.config.ts # Vite build configuration
│ ├── tsconfig.json # TypeScript configuration
│ └── README.md # Frontend-specific documentation
│
└── .vscode/ # VS Code settings
- Language: Python
- Key Components:
agent_orchestrator.py- Agent coordination and orchestrationmcp_server.py- Model Context Protocol server implementationrecover_audio.py- Audio processing and recoveryrepoint_jsonl.py- Data pipeline management
- Framework: React 19.2.6
- Language: TypeScript (~6.0.2)
- Build Tool: Vite 8.0.12
- Development Tools: ESLint, TypeScript ESLint
- Python: 61.6%
- TypeScript: 22.4%
- CSS: 13.4%
- JavaScript: 1.6%
- HTML: 1.0%
cd frontend
npm installnpm run dev- Start development servernpm run build- Build for productionnpm run lint- Run ESLintnpm run preview- Preview production build
The backend includes:
- Model training data in JSONL format for both Sarvam and Whisper models
- An MCP server for protocol-based communication
- Agent orchestration for therapy workflow coordination
- Audio processing utilities
- Agent Orchestration: Coordinate multiple therapy agents
- Audio Processing: Recover and process audio data
- Model Training: Support for Sarvam and Whisper model fine-tuning
- MCP Server: Protocol-based communication interface
- React Frontend: Modern, responsive UI for therapy sessions
This is a full-stack application with clear separation between frontend and backend services. The backend provides APIs and services that the frontend consumes through the MCP server interface.
Not specified
Contributions are welcome! Please ensure code follows the project's ESLint configuration.
For frontend-specific details, see frontend/README.md