Commit 3d14578
committed
Add VO2 max metric support and fix identifier extraction for VO2
- Added VO2 max as new metric with comprehensive synonym support
- Added 23 synonyms including: vo2, vo2 max, aerobic capacity, cardio fitness, cardiovascular fitness, oxygen uptake, endurance capacity, fitness level
- Added vo2Regex pattern for context detection
- Updated extractUnit to return 'ml/kg/min' for VO2 context
- Added unit default 'ml/kg/min' in SetThreshold metric switch for both Kotlin and Swift
- Added 9 inference patterns for recognizing VO2-related queries
- Fixed extractIdentifier to skip 'maximum' pattern when VO2 context detected (prevents 'max' in 'vo2 max' from being interpreted as maximum identifier)
- Maintained platform parity between Android (Kotlin) and iOS (Swift)
- Updated TFLite model to 'Intent classifier 10-12-2025.tflite' in Android
- VO2 metric now fully functional in QueryPoint, SetGoal, and SetThreshold intents1 parent 0fc7497 commit 3d14578
File tree
4 files changed
+427
-85
lines changed- examples
- whisper.android/app/src/main
- assets
- java/com/whispercppdemo/intent
- whisper.swiftui/whisper.swiftui.demo/Intent
4 files changed
+427
-85
lines changedBinary file not shown.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments