Creating unique Convai characters for each concurrent user

I’ll start with what I’m trying to do and then ask if my proposed solution would work.

I have a Convai character, named Claire. I’d like her to hold onto unique information based on the current session but also not have that unique information be uploaded to her main character ID. So that if multiple players are interacting with a different instance of Claire, they all don’t get each players unique information.

So with that in mind, the idea would be to use the Character Base API to clone the Claire character and have each user interact with a cloned version. Deleting the cloned version when they are finished. Doing this would in theory allow us to add/modify knowledge base and or character backstory depending on each unique players need. → Would something like that work? and/or am I overcomplicating it and there is a simpler way?

I have not tried the Dynamic Information Context system yet. But the unique information I’d like Claire to know is more detailed than something akin to the players health. Unless I could do something like have Claires personality act one way if the players health is at 90, and then act differently when the users health is 20 (as an example).

Hello @VRSIM_Developers,

Your approach is partially correct, and you’re on the right track. You can also try using the Dynamic Information Context system, as it allows you to provide detailed information that the character needs to know. The examples like player health in the documentation are just for illustration; you can use this feature for more complex scenarios.

If Dynamic Information doesn’t meet your needs, consider using the Character Create API instead of cloning. With Character Create, you can generate a character with the desired details in a single API call. In contrast, if you use Character Clone, you’ll also need to update the character, resulting in two API calls. Keep in mind that Character Crafting APIs have a monthly request quota.

If you need more help or have further questions, feel free to ask!

1 Like