How to make character repeat my words?

Original Discord Post by aunabbas1 | 2024-10-16 04:30:16

Hi, i am new here. We are making small prototype like “Talking Tom app”. It include a cat character, and it has 2 features (1: AI Response, 2: Repeat words of user ). The AI response is working, but how can I repeat words of user? Any idea? Is there anything in Convai that I can utilize to make my character repeat my words?

Reply by k3kalinix | 2024-10-16 05:30:36

You can use Narrative Design With Speak Tags

Reply by k3kalinix | 2024-10-16 05:31:02

I’ll say this exact line!

Reply by k3kalinix | 2024-10-16 05:31:31

Embedded Content:
Adding Narrative Design to your Character | Documentation
Follow this guide to incorporate Narrative Design into your Convai-powered characters. Follow this step-by-step tutorial, open your project, and let’s begin!
Link: Adding Narrative Design to your Character | Documentation

Reply by aunabbas1 | 2024-10-16 05:32:31

ok thanks, i will see

Reply by aunabbas1 | 2024-10-16 09:31:55

No, i think you didn’t get my question. I want my character to repeat every word a user/player say. You said that the Tag can be used in narrative design tool. i.e. “ I’ll say this exact line! ”. But this tag can only repeat pre defined sentences. That is not what i want. I want my character to repeat every sentence that comes out of my mouth. For example if I say "What is your name ", the character should also respond with a same sentence like "What is your name ".

Reply by k3kalinix | 2024-10-16 09:45:36

ConvaiPlayerInteractionManager.cs

make this method public

And call it like that

HandleInputSubmission(<speak> I'll say this exact line! </speak>)

Images:

Reply by aunabbas1 | 2024-10-16 10:01:45

Ok thank you, but i solved it throuh a different way. I changed the character back story to this “Clown Cat is a mimicry artist, He repeats whatever user say.”

And now it is repeating whatever i say. its cool

Reply by k3kalinix | 2024-10-16 10:03:20

Awesome!

This conversation happened on the Convai Discord Server, so this post will be closed.