Hello everyone,
I need a way that the Convai character always recognizes a certain person as soon as someone speaks over the microphone.
I have a setup where the character streams on Twitch and interacts with several thousand people.
But as soon as the real streamer talks over the microphone, the name of the streamer must be set and the Convai character must also recognize it.
I have tried to adjust this in the Convai Baseplayer but no matter what I do there the chatbot always recognizes everything only with “user” Even if I change the name via the menu (F10) it does not get the name as information.
Please update the F_UpdateMainCharacterInEnvironment function inside the Convai Base Player as shown in the screenshot below. Also, make sure to include a description.
With this setup, you can set the player name either through the F10 Settings Panel or by editing the Player Name field in the Convai Player component.
Hey @K3, thanks for your answer. Unfortunately it doesn’t work properly, I can visually customize the name for the chat interface but the AI still doesn’t get this name. At what point is this name normally communicated to the AI?
The text is in German but it says it only ever sees the name as “user”
For me, no matter which name it recognizes, it always just says “User”.
Okay, I tested your character and you are asking for a username. Not a user/player name.
Please edit the description accordingly, This is the name and username of the person you're speaking to. Always mention their username in your replies to make clear who you're referring to.
Hello, I still need help with this issue. My Convai project is set up so that the chatbot is connected to Twitch, where it responds to viewers and sometimes talks to the streamer via microphone.
How do I set the name correctly? Unfortunately, the Set Main Character function rarely works. Sometimes it takes the name, but 90% of the time it just says “user.” Somehow, “user” is sent to the chatbot even though I haven’t specified that anywhere.
I’ve tried everything from the old post. The “In Main Character Description” is not reliable. The chatbot ignores the “Player Name” variable.
I also tested it in the Playground and it doesn’t recognize any names there either. Where does the “user” always come from?
Convai 3.6.6
Character ID: 0ad94f5a-fdc4-11ef-aae4-42010a7be01a
As a workaround, it would also help to edit the string that is passed to the chatbot via the microphone. In other words, adjust the speech-to-text string. Where can I find it? When writing directly, I found it in Base Player under Type Text, but unfortunately I can’t find anything under Voice Interaction.