mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
1.5 KiB
1.5 KiB
Joe AI - Future Features TODO
Ready for Testing
- Multilingual support (responds in user's language)
- CGM status always in context
- CGM trends injection when asked
- News RAG injection when asked
- History RAG (past conversations)
- Concise, casual persona
Planned Features
-
Schedule/Calendar awareness
- Integrate with Google Calendar or iCloud
- Detect queries like "what do I have tomorrow?"
- Add
needs_scheduleto classifier
-
Class notes RAG
- Index notes/documents for specific classes
- Useful for study help, assignment reminders
- Add
needs_class_notesto classifier
-
Activity tracking (LOCAL on device, exposed via MCP)
- Use gyroscope + accelerometer for step counting
- Detect activity level (walking, stationary, sleeping)
- Expose as MCP tool:
get_activity_stats - Similar to existing
get_battery_levelpattern - Server can query when relevant to conversation
-
Reduce classifier latency
- Currently 4-7 seconds per call
- Consider smaller model for intent detection
- Or run classifier in parallel with other processing
Architecture Notes
- Context classifier:
core/utils/cgm_intent.py - Context injection:
core/connection.py(lines ~930-1000) - Client configs:
data/<client-id>/config.json - Persona prompts:
data/<client-id>/prompt.txt
To add a new context type:
- Update classifier prompt in
cgm_intent.py - Add injection logic in
connection.py - (Optional) Add config flag in client's
config.json