🎙️ Voice Chat Demo
Init Target
🤖 Use `bot_id`
📘 Use `lesson_id`
Chọn tham số gửi khi gọi initConversation
Select Bot
Loading bots...
Search and select a bot for conversation
Bot ID (auto-filled)
Automatically filled from selected bot
Select Lesson
Loading lessons...
Search and select a lesson for initialization
Lesson ID (auto-filled)
Automatically filled from selected lesson
▶
Advanced Settings
User ID
Required for conversation initialization
Conversation ID
Unique ID for this conversation (auto-generated on page load)
ASR Type
gRPC ASR
gRPC + Silero VAD
gRPC Qwen
gRPC Qwen + Silero VAD
Elevenlabs
Elevenlabs VAD
Google + Silero VAD
Google STT
Select ASR (Automatic Speech Recognition) engine
WebSocket URL
Auto-detected from current page location
LLM Type
Specify which LLM backend should be used for responses
Enable Reopening Data
Send metadata about conversation reopening
Time Away (seconds)
Seconds since last conversation
Previous Lesson Name
Name of the previous lesson
Current Lesson Name
Name of the current lesson
Mode Selection
🎤 STT Mode (Web Speech API)
🎵 Direct Audio (16kHz PCM)
💬 Text Chat Mode
STT: Speech-to-text. Direct: Stream raw audio. Text: Text-based chat.
🔌 Connect & Auto-Start
❌ Disconnect
❌ Disconnected
🎤
Nhấn nút mic hoặc Space để bắt đầu ghi âm (Tự động dừng khi server phản hồi)
💬 Start chatting by typing a message below...
Send
🖼️ Chờ hình ảnh từ server...
📝 Transcript:
Chưa có văn bản...
📋 Log
Clear Logs