Shaunwei / RealChar

🎙️🤖Create, Customize and Talk to your AI Character/Companion in Realtime (All in One Codebase!). Have a natural seamless conversation with AI everywhere (mobile, web and terminal) using LLM OpenAI GPT3.5/4, Anthropic Claude2, Chroma Vector DB, Whisper Speech2Text, ElevenLabs Text2Speech🎙️🤖
https://RealChar.ai/
MIT License
5.96k stars 730 forks source link

How to have a continuous conversation without interruption? #398

Closed guowc closed 1 year ago

guowc commented 1 year ago

I saw that the dialogue process in your demo video is continuous, but after I run the project locally, I need to manually turn on/off the recording button to end the recording. I hope to continuously monitor the input voice and interrupt the robot output like in your video demo, what should i do

pycui commented 1 year ago

Please use a headphone, or enable the "Open speaker" mode in advanced options.

guowc commented 1 year ago

I tried what you said but it doesn't seem to work? I still need to manually click the stop recording button to complete the speech-to-text operation. Like your demo video, the speech-to-text conversion cannot be automatically triggered when there is a long pause in speaking. Please tell me how to do it?

guowc commented 1 year ago

It seems to work fine in speech mode, but not consistently triggered by recording in conversation mode

pycui commented 1 year ago

oh in text mode, it's a push-to-talk mode, so it's expected you need to stop when you are done talking. If you want to do free speech please use the call mode.