9ce3d1b670
Implement comprehensive chat integration for voicebot system
...
Features added:
- WebSocket chat message handling in WebRTC signaling client
- Bot chat handler discovery and automatic setup
- Chat message sending/receiving capabilities
- Example chatbot with conversation features
- Enhanced whisper bot with chat commands
- Comprehensive error handling and logging
- Full integration with existing WebRTC infrastructure
Bots can now:
- Receive chat messages from lobby participants
- Send responses back through WebSocket
- Process commands and keywords
- Integrate seamlessly with voice/video functionality
Files modified:
- voicebot/webrtc_signaling.py: Added chat message handling
- voicebot/bot_orchestrator.py: Enhanced bot discovery for chat
- voicebot/bots/whisper.py: Added chat command processing
- voicebot/bots/chatbot.py: New conversational bot
- voicebot/bots/__init__.py: Added chatbot module
- CHAT_INTEGRATION.md: Comprehensive documentation
- README.md: Updated with chat functionality info
2025-09-03 16:28:32 -07:00
8ef309d4f1
Bots can now leave
2025-09-03 16:05:51 -07:00
3a72f6097e
Cleaning up
2025-09-03 13:31:09 -07:00
b7e5963597
Lots of changes/refactorings
2025-09-03 13:11:18 -07:00
2ad9871ea4
Added session cleanup
2025-09-01 20:09:49 -07:00
a292b14028
Added chat
2025-09-01 20:00:42 -07:00
e64edf92ca
Reload working
2025-09-01 15:59:16 -07:00
ba6aa697a4
Type conversion completed
2025-09-01 14:48:37 -07:00
3cb49c70ef
Pydantic -> Typescript conversion work
2025-09-01 14:29:49 -07:00
2908fe1ee7
Refactor: Create shared Pydantic models for API communication
...
- Created shared/models.py with all common Pydantic models
- Updated voicebot/main.py to use shared models and remove dd.get() calls
- Updated server/main.py to use shared models
- Fixed lobby_state message handling with proper validation
- Updated Dockerfiles to include shared/ directory
- Added comprehensive documentation and migration guide
Benefits:
- Type safety across both components
- Consistent data validation
- Eliminated unsafe dictionary access patterns
- Centralized model definitions for easier maintenance
2025-09-01 13:36:24 -07:00