Make the AI character read out a paragraph word for word

Original Discord Post by suhaib0195 | 2024-10-09 13:56:09

is there a way to make the AI character read out a custom paragraph word for word? basically I have an app that uses my custom made AI to generate a paragraph, but then i need a ConvAi character to read out the paragraph generated along with lipsync, is this possible currently?

Reply by k3kalinix | 2024-10-09 14:13:42

Hello <@1133773012693434488> :wave:t2:,

Replying to suhaib0195’s Message

Reply by suhaib0195 | 2024-10-09 13:56:09
is there a way to make the AI character read out a custom paragraph word for word? basically I have an app that uses my custom made AI to generate a paragraph, but then i need a ConvAi character to read out the paragraph generated along with lipsync, is this possible currently?

Reply by haruncelik99 | 2024-10-09 14:14:13

you can use invoke speech component

Replying to haruncelik99’s Message

Reply by haruncelik99 | 2024-10-09 14:14:13
you can use invoke speech component

Reply by suhaib0195 | 2024-10-09 14:14:54

This doesn’t work for my use case since it tells the AI to respond to a message rather than read a paragraph

Reply by suhaib0195 | 2024-10-09 14:15:17

while i did try instructing it to read the paragraph word for word, it doesn’t seem to follow that order and just responds to it instead

Reply by k3kalinix | 2024-10-09 14:15:58

Make sure to use speak tag

Reply by haruncelik99 | 2024-10-09 14:16:09

type your sentences like that: Just say the sentence “blablablablal.”

Images:

Reply by haruncelik99 | 2024-10-09 14:16:18

to trigger message

Reply by haruncelik99 | 2024-10-09 14:16:41

it is about typing inside of triiger message section

Reply by k3kalinix | 2024-10-09 14:16:50

I’ll say this exact line!

Replying to haruncelik99’s Message

Reply by haruncelik99 | 2024-10-09 14:16:09
type your sentences like that: Just say the sentence “blablablablal.”

Reply by haruncelik99 | 2024-10-09 14:17:14

and u must enable generate actions and voice response

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-10-09 14:16:50
I’ll say this exact line!

Reply by suhaib0195 | 2024-10-09 14:26:04

this worked, however, it only works when i put like 40 word paragraph into it :frowning_with_open_mouth:

Reply by suhaib0195 | 2024-10-09 14:26:29

and usually my AI generates 200 words on average, so I guess thats not gonna work with the ConvAI

Reply by k3kalinix | 2024-10-09 14:27:01

Please use Narrative Design Triggers

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-10-09 14:27:01
Please use Narrative Design Triggers

Reply by suhaib0195 | 2024-10-09 14:38:58

Can I input run-time generated paragraph into that somehow? because i thought those are only pre-defined from the dashboard

Reply by suhaib0195 | 2024-10-09 14:40:00

anyway found a workaround for my use case, I will take my 200 word parargraph, divide it into a list of small paragraph strings, then use On Finished Talking to send another request to read the next paragraph, this seems to work.

Replying to suhaib0195’s Message

Reply by suhaib0195 | 2024-10-09 14:26:04
this worked, however, it only works when i put like 40 word paragraph into it :frowning_with_open_mouth:

Reply by k3kalinix | 2024-10-09 14:40:07

<@365628745886859267> Does the 40 word limit come from UE?

Reply by freezfast | 2024-10-09 14:43:21

No we don’t have any limits from Unreal, didn’t face this limitation brfore

Reply by suhaib0195 | 2024-10-09 14:51:29

ur right, it seems to be an issue only related to my text. when i tried some generic 270 word paragraph it worked, but i’m providing it with paragraphs of food recipes , and it seems to break on that one unless i split the string into multiple smaller ones

Reply by suhaib0195 | 2024-10-09 14:53:38

im guessing its taking too long to process that one and returning an error somewhere in the back-end