Commit Graph

16 Commits

Author SHA1 Message Date
f140f8f75c no 2026-02-16 13:16:18 -06:00
d262d80199 debug: add API call logging to medication take action 2026-02-16 12:46:22 -06:00
7cf0681deb debug: add logging and partial name matching for med context lookup 2026-02-16 12:30:25 -06:00
a53187d6a9 fix: make AI parser async to prevent Discord heartbeat blocking 2026-02-16 12:24:13 -06:00
9cc2f19ce8 fix: include scheduled_time when logging medication intake from reminders 2026-02-16 12:13:25 -06:00
398e1ce334 fix: correct embedding model name from l2 to v2 2026-02-16 11:32:06 -06:00
d407a4bd9d Add knowledge base RAG module for book Q&A 2026-02-16 11:27:48 -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
1621141e76 fix(bot): use duration_minutes instead of duration_seconds when creating steps
- API expects duration_minutes field, not duration_seconds
- Fixed in both create_with_steps and add_steps actions
2026-02-16 06:16:02 -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
7d7d6fb3a0 fix(bot): fix syntax error in f-string with backslash 2026-02-16 05:57:45 -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
3e1134575b First synculous 2 Big-Pickle pass. 2026-02-12 23:07:48 -06:00
25d05e0e86 first commit 2026-02-12 22:11:52 -06:00