Overview
LuaPop supports optional voice chat functionality, allowing users to speak with your AI agent instead of typing.Enable Voice Chat
Features
Speech-to-Text
Users can speak their messages
Text-to-Speech
AI responses can be spoken aloud
Multi-Language
Supports multiple languages
Hands-Free
Great for accessibility and mobile
How It Works
1
User Activates Voice
User clicks microphone icon in chat input
2
Browser Requests Permission
Browser asks for microphone access
3
User Speaks
User speaks their message
4
Speech-to-Text
Audio converted to text automatically
5
AI Responds
AI processes and responds as normal
6
Text-to-Speech (Optional)
Response can be played as audio
Use Cases
Accessibility
Voice chat improves accessibility for:- Users with motor impairments
- Users who prefer speaking
- Hands-free scenarios
- Visually impaired users
Mobile Users
Perfect for mobile where typing is harder:Driving/Hands-Free
Ideal for automotive or hands-free scenarios:Browser Support
Voice chat requires:- Modern browser with Web Speech API
- HTTPS connection (required for microphone access)
- User permission for microphone
Supported Browsers
Privacy & Permissions
Permission Handling
The widget automatically:- Requests microphone permission when needed
- Shows appropriate UI if permission denied
- Gracefully falls back to text-only chat
Privacy
- Audio is processed in real-time
- No audio recordings are stored locally
- Audio converted to text server-side
- GDPR compliant
Best Practices
Require HTTPS
Require HTTPS
Voice chat only works on HTTPS:
Show Voice Indicator
Show Voice Indicator
Let users know voice is available:
Mobile-First for Voice
Mobile-First for Voice
Voice chat is especially useful on mobile:
Next Steps
Configuration
All configuration options
Examples
See voice chat implementations

