On Audio Finished is not working

Hi Folks

I am building an Metahuman in Unreal engine. So, I need to get when my metahuman stop talking.

According documentation, I should use an event : On Audio Finished in my blueprint of convai chatbot

But , when I use it, It didnt execute when my metahuman stop talking. But I noticed that in my logs I get this message ConvaiAudioStreamerLog: onAudioFinished, but On Audio Finished node never execute in my blueprint.

image

image684×265 23.8 KB

Log :

ConvaiAudioStreamerLog: onAudioFinished

Please, could you help me.

Thanks,

PAC

Unreal Engine version : 5.4

Hello @plinio.arbizu,

Which version of the Convai Plugin are you using?

Hi, I´ve updated to 3.6.6.

I need to control last chunk to convai send to my character.

I use “on finished talking” event. But this event does not have any IS_FINAL pin to determine if this is a final response of my character.

Usually convai send response in many chunks (many calls of “on finished talking”), but i need to determine which is the final.

Thanks for your help

After OnFinishedSpeaking is called, you can use the IsInConversation node. If it returns false, then that was the final response and the character will not continue talking.

For more information, you can check the documentation: Convai Chatbot | Convai Documentation

Great, it works. Thanks

1 Like