Commit Graph

9 Commits

Author SHA1 Message Date
8ac7a5129a fixed spamming i hope 2026-02-17 18:11:44 -06:00
a53187d6a9 fix: make AI parser async to prevent Discord heartbeat blocking 2026-02-16 12:24:13 -06:00
0f270dbba2 Add knowledge base RAG module for book Q&A
- Create knowledge.py handler with dynamic book selection
- Support list/select/query actions for multiple books
- Implement vector search with cosine similarity
- Add knowledge detection to AI parser config
- Cache embeddings per-book for performance
2026-02-16 11:20:22 -06:00
20f995119c feat(bot): add delete action for medications and routines
- Added delete action to medications handler with confirmation flow
- Added delete action to routines handler with confirmation flow
- Updated AI config with delete examples for both meds and routines
- Added 'delete', 'remove', 'get rid of' to action recognition
2026-02-16 06:04:19 -06:00
c903363f6e feat(bot): comprehensive natural language command parsing
- Enhanced AI prompts with time/frequency conversion rules and 20+ examples
- Added smart medication name resolution and confirmation flows
- New medication commands: today, refills, snooze, adherence
- New routine commands: create_with_steps, add_steps, steps, schedule
- Added active session awareness with shortcuts (done, skip, pause, resume)
- Confirmation handling for destructive/create actions
- Improved help message with natural language examples
2026-02-16 05:53:40 -06:00
16d89d07f6 bug fixes 2026-02-16 05:34:27 -06:00
12bbc5c0b4 bot improvements 2026-02-16 04:49:31 -06:00
f8903f74cf discord bot fixes 2026-02-16 04:28:44 -06:00
25d05e0e86 first commit 2026-02-12 22:11:52 -06:00