Skip to content

Commit 7dbbb39

Browse files
Enhanced SlotExtractor with comprehensive time references, unit inference, and action extraction improvements
- Added extensive time reference patterns (tomorrow, this morning/afternoon/evening, this/next week/month, recently, all time, this/last year) - Separated 'now' as distinct time reference from 'today' - Refactored extractAction into intent-specific functions (extractTimerAction, extractMediaAction, extractAppAction, extractPhoneAction) - Enhanced extractUnit with context-based inference for stress (score), blood oxygen (percent), sleep (hours), sleep quality (score), distance, calories, and walking movement - Removed weight unit inference as requested - Improved slot extraction accuracy for different intent types
1 parent b790bf6 commit 7dbbb39

File tree

4 files changed

+595
-244
lines changed

4 files changed

+595
-244
lines changed

0 commit comments

Comments
 (0)