Interactive voice-enabled workshop facilitation system built with xRx framework for West London Forensic Services Cultural Competency Training.
- 🎤 Voice-based interaction with real-time transcription
- 🔊 Natural text-to-speech responses
- 📊 Interactive visual aids and widgets
- ⏱️ Automated session timing and management
- 📝 Real-time note-taking and feedback collection
- Cultural competency assessments
- Interactive case scenarios
- Demographic data visualization
- Service user journey mapping
- Action planning tools
- Docker and Docker Compose
- Node.js 16+ (local development)
- Python 3.9+ (local development)
- API Keys:
- Groq (LLM and STT)
- ElevenLabs (TTS)
- Clone repository with submodules:
git clone --recursive https://github.com/bytjn1416124/workshop-facilitator.git
cd workshop-facilitator
- Set up environment:
cp .env.example .env
# Edit .env with your API keys
- Build and start services:
docker-compose up --build
- Access components:
- Workshop UI: http://localhost:3000
- Reasoning API: http://localhost:8003
- STT Service: http://localhost:8001
- TTS Service: http://localhost:8002
pip install -r requirements.txt
python -m pytest tests/
uvicorn app.main:app --reload
cd client
npm install
npm run dev
workshop-facilitator/
├── app/ # Backend application
│ ├── agent/ # Agent logic
│ │ ├── executor.py # Main agent execution
│ │ ├── graph/ # Processing graph
│ │ ├── tools/ # Custom tools
│ │ └── utils/ # Utilities
│ ├── main.py # FastAPI application
│ └── workshop_content.json
├── client/ # Frontend application
│ ├── src/
│ │ ├── components/ # React components
│ │ └── app/ # Next.js app
│ └── public/
├── xrx-core/ # Core xRx framework
│ ├── orchestrator/ # WebSocket orchestration
│ ├── stt/ # Speech-to-Text service
│ ├── tts/ # Text-to-Speech service
│ └── client/ # Base components
├── tests/ # Test suite
└── docker-compose.yaml # Service configuration
-
ChecklistWidget
- Task completion tracking
- Self-assessment tools
- Action item management
-
FlowchartWidget
- Process visualization
- Decision trees
- Service user journeys
-
DataTableWidget
- Demographic data
- Service statistics
- Outcome measures
-
ChartWidget
- Data visualization
- Trend analysis
- Comparative stats
Run test suite:
# Unit tests
python -m pytest tests/
# Coverage report
python -m pytest --cov=app tests/
- WebSocket Connection
docker-compose logs xrx-orchestrator
- Audio Processing
docker-compose logs xrx-stt
- Voice Synthesis
docker-compose logs xrx-tts
- Documentation: Check
/docs
directory - Issues: Submit via GitHub Issues
- Questions: Use GitHub Discussions
MIT License - see LICENSE