How matluch/klovia-ai works
Klovia’s main workflow listens to microphone speech, sends it to Google for transcription, classifies the text locally, extracts any numeric volume amount, and dispatches recognized commands to media or volume controls. A separate training path builds the classifier from phrase examples. The graph preserves the documented training/model relationship, but its exact artifact handoff is uncertain: the training script saves under the user’s Documents directory while the runtime loads the model from the repository. Edges reflect the shown entry-point calls or documented behavior; unsampled internals are not inferred.
Main entry points: Main.py Voice Loop · MediaControls.py Media Commands · TrainModel1.py Model Trainer · Run1.py Intent Classifier
Components 12
Voice Runtime
- Voice Loop
Main.py
Command Interpretation
- Intent Classifier
AI_Training/Run1.py - Number Locator
Tools/numberLocator.py
Model Training
- Model Trainer
AI_Training/TrainModel1.py - Training Phrases
AI_Training/TrainingDataTest.json - Trained Model
AI_Training/music_model.pth
System Controls
- Media Commands
Media_And_Volume/MediaControls.py - Volume Commands
Media_And_Volume/Volume.py
Other components
- Speaker
- Google Speech
- Media Apps
- Windows Audio
Connections 12
- Speaker → Voice Loop: speaks to
README.md - Voice Loop → Google Speech: transcribes via
Main.py - Voice Loop → Intent Classifier: classifies with
Main.py - Voice Loop → Number Locator: extracts number
Main.py - Voice Loop → Media Commands: dispatches commands
Main.py - Voice Loop → Volume Commands: dispatches commands
Main.py - Model Trainer → Training Phrases: loads examples
AI_Training/TrainModel1.py - Model Trainer → Trained Model: produces model
- Intent Classifier → Trained Model: loads weights
AI_Training/Run1.py - Media Commands → Media Apps: sends media keys
Media_And_Volume/MediaControls.py - Volume Commands → Windows Audio: sets volume
Media_And_Volume/Volume.py - Media Commands → Windows Audio: mutes audio
Media_And_Volume/MediaControls.py