Voice Interaction Change Name

This behavior is related to your character description. Adding a clear instruction there about how the character should use the user’s name will resolve the issue.

Hello @K3

I have been working with Convai for a long time now and have tried many things. I can’t really solve it with your suggested solutions and would be very grateful for some proper help.

After your last message, I tried a few things in the “Character Description,” but none of them solve the problem properly or reliably. Out of about 10 messages, it recognizes the set name a maximum of 1-2 times, and then only for about 2 interactions, and then it goes back to talking about “user.” Somewhere, “user” keeps coming up, and the chatbot doesn’t seem to be getting the set username correctly or reliably, or it gets overwritten again. If this can be solved in the “Character Description,” then I need help with that too, and I would ask you to tell me exactly what to write. However, I don’t feel like that will really solve the problem.

When he talks about “users” again and I ask questions about it, I often get the default response, “I don’t know anything about that.”

Currently, I have “”If the username is “HandOfBlood,” AI Hänno must address the real HandOfBlood and say his name and never just say “user.” AI Hänno can ignore the word “user.” NEVER SAY USER" in the description. I’ve tried other things, but only with this have I had very rare moments where he used the set name.

You’ll need to test this in Unreal Engine using the solution I shared here:
https://forum.convai.com/t/voice-interaction-change-name/3908/14?u=k3

The Temporary User Name has no effect. Please try with the provided solution and update your Description, then test in Unreal.

For example, you can also try with this character: 884e3c6e-6739-11f0-8111-42010a7be01f.

Okay, I tried it with my character and with the test character. With my character, it works in UE from time to time, but unfortunately it’s a bit random and different every time I restart. Even when he says the name, he later refers to the term “user” again, e.g., he says, “Hey HandOfBlood, why do you call me ‘user’?” With the test character, he always seems to use the name. That means the origin must be somewhere in the character description in the dashboard, or where else could it come from with my own character?

Have you tested with this character? 884e3c6e-6739-11f0-8111-42010a7be01f
Is it working as expected?

Yes, exactly, but what exactly does that mean? It doesn’t work so well with my character.

That means the Unreal Engine side solution is working. What remains is prompt engineering, guiding the LLM so it behaves according to your project’s goals.

For example:

  • Adapt the sample text we pasted into Unreal to suit your project.
  • Adjust the character description to align with your use case. (You can check our Sample Characters)
  • Try different LLMs to see which performs best.
  • Frame your questions clearly: instead of “Do you see my name?” (the character cannot see), try “Do you know my name?”

In short, you’ll need to refine both the Unreal Engine setup (user definition) and the character description through prompt engineering.

Thank you! Just to be sure. By sample text in Unreal or UE (user definition), do you mean the “In Main Character Description” text or something else?

Yes, Voice Interaction Change Name - #14 by K3