Pass string input manually (Unity)

Hi! First, thanks for the app. Im looking into using Convai but I want a simple setup where I can pass my own text as input (I do my own STT) directly to the avatar. Also I want to implement my own chat canvas. Can you give me some direction?
Thanks.

There is a command you can send to the character with the ConvaiNPC script on it with a Unity event. It’s called ‘Send text data async’ or something. To have it repeat back exactly what you send the format for the string would be: ‘Repeat the following exactly as it is: your text here’. I hope that’s it. If it doesn’t work I may have gotten the string wrong but it is what I remember.

Hello @Lucas_Martinic,

In ConvaiNPC.cs, you can use the SendTextDataAsync method to send text input directly to the character.

You can also create your own Chat UI, but if your Convai plan is below the annual Scale Plan, you won’t be able to remove the Convai logo.

Building a custom Chat UI requires general Unity knowledge. For details on Convai’s Transcript UI, refer to this documentation:

Convai Transcript UI Documentation

@Bob_Hawkey , thanks for your help as well! :blush: