Overview
The Dynamo voice agent provides hands-free access to your workshop data, making it easy for technicians and managers to get information without navigating through multiple screens or forms.Voice queries
Ask questions naturally using your voice while working on repairs
Text interface
Type queries when voice input isn’t practical
SQL mode
Direct database queries for structured data retrieval
RAG mode
Conversational queries with context understanding
Accessing Dynamo
The Dynamo page is accessible at/dynamo route. Users can access it directly from the navigation sidebar.
The Dynamo feature requires the ElevenLabs API key to be configured for voice synthesis. See Environment Setup for configuration details.
Interface Modes
Voice Mode
Voice mode enables hands-free interaction with your data. How to use voice mode:
Voice agent states:
| State | Description |
|---|---|
| Idle | Ready to accept input |
| Listening | Recording your voice input |
| Processing | Analyzing your query and fetching data |
| Speaking | Playing back the audio response |
Text Mode
Text mode provides a traditional chat-like interface for data queries. Features:- Type natural language queries
- Review conversation history
- Copy and share responses
- Switch between SQL and RAG modes
Query Modes
SQL Mode
SQL mode translates natural language questions into database queries for precise data retrieval. Example queries:Inventory queries
Inventory queries
- “What parts have stock below minimum?”
- “Show me all discontinued items”
- “List inventory at the downtown location”
Request queries
Request queries
- “What requests are pending approval?”
- “Show me recent transfers to the north warehouse”
- “Which requests were completed this week?”
Warranty queries
Warranty queries
- “How many warranty claims are open?”
- “Show me rejected warranties from last month”
- “Which technician has the most warranty reports?”
Movement queries
Movement queries
- “What parts did Juan load today?”
- “Show me undischarged movements”
- “List all movements for order #1234”
RAG Mode
RAG (Retrieval-Augmented Generation) mode provides conversational responses with context awareness. When to use RAG mode:- Exploratory questions: “Tell me about our inventory trends”
- Multi-step reasoning: “Why are we running low on brake parts?”
- Contextual queries: “Show me more details about that last warranty”
- Complex analysis: “Compare stock levels across all locations”
Chat History
The chat panel maintains a conversation history that persists during your session. Chat panel features:Message history
Review all queries and responses from your session
Unread indicator
See when new messages arrive while the panel is closed
Message selection
Select specific messages for follow-up or reference
Panel toggle
Open/close the history panel without losing context
Implementation Details
The Dynamo page is implemented using:Voice Agent Hook
TheuseVoiceAgent() hook from src/pages/dynamo/lib/useVoiceAgent.ts manages:
- Speech recognition for voice input
- Text-to-speech synthesis for responses
- API communication for query processing
- Error handling and session management
State Management
TheuseDynamoStore() hook from src/pages/dynamo/model/useDynamoStore.ts handles:
- Message history persistence
- Chat panel state
- Unread message tracking
- Message selection
Browser Compatibility
Check for browser support:Use Cases
For Technicians
While performing repairs:- “How many brake pads do we have in stock?”
- “Did we receive the order for motor controllers?”
- “Log a warranty claim for this faulty battery”
For Warehouse Staff
During stock management:- “Which parts need reordering?”
- “Show me today’s incoming requests”
- “What’s the location of reference AX-2045?”
For Managers
For operational oversight:- “Summary of open warranties this week”
- “Which locations have critical stock levels?”
- “Show me pending inter-location transfers”
Best Practices
Clear pronunciation
Clear pronunciation
Speak clearly and at a normal pace for best recognition accuracy
Specific queries
Specific queries
Be specific about locations, dates, and part references for precise results
Verify responses
Verify responses
Always verify critical information through the main interface before taking action
Quiet environment
Quiet environment
Use voice mode in relatively quiet areas for better recognition
Text fallback
Text fallback
Switch to text mode if voice recognition isn’t working reliably
Troubleshooting
Voice not recognized
- Check microphone permissions in browser settings
- Ensure microphone is not muted or used by another application
- Try switching to text mode and back to reset the voice interface
- Verify browser supports Web Speech API
No audio response
- Check that ElevenLabs API key is configured in environment variables
- Verify system volume is not muted
- Check browser console for API errors
- Ensure internet connection is stable
Incorrect query results
- Rephrase your question with more specific details
- Try using exact part references or location names
- Switch between SQL and RAG modes for different query types
- Check that your user role has permission to access the requested data
Related Features
- Inventory Management - Data queried by Dynamo
- Request Workflow - Request status queries
- Warranty Management - Warranty tracking queries
- Technician Movements - Movement history queries