Is there a 2-3 second delay before the Convai Character gets Initialized?

Original Discord Post by kyu.168 | 2024-09-20 03:35:16

When talking to an AI character across different simulations over the last 4-5 days, we’ve encountered a delay before the character responds. Sometimes it takes up to three messages before the AI responds back. Is this latency part of the API (e.g. hierarchy of traffic) or is this a bug?

Reply by k3kalinix | 2024-09-22 21:38:33

Hello <@961499420199890944>,

Reply by k3kalinix | 2024-09-22 21:39:01

Are you still facing the issue?
If so, could you please share the Session ID?

Reply by kyu.168 | 2024-09-23 04:07:59

yes still encountering it for every session using unreal engine. here’s my session ID: 7e045a18a18485dff9710761dbfe672a

Reply by k3kalinix | 2024-09-23 09:15:15

Thanks for the details.
I have informed my teammates.
We will get back to you.

Reply by kyu.168 | 2024-09-25 09:44:18

Hi <@1023671043287699568> any update for this? Unfortunately we’re still encountering the delay (it’s about 4-5 seconds).

Reply by k3kalinix | 2024-10-06 00:16:50

Hello <@961499420199890944> :wave:t2:,

Reply by k3kalinix | 2024-10-06 00:16:58

Could you please test?

Reply by nazbee | 2024-10-06 04:52:53

This happens on my project too. Seems maybe something related to setting the first session id. At this point im just resigned to it as part of working with convai. I tried pre-rolling conversations before the chat starts but that just created whole other problems so i gave up.

Reply by k3kalinix | 2024-10-07 22:49:01

<@191760948002947073> you can try to Initialize Session ID when the game starts.

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-10-07 22:49:01
<@191760948002947073> you can try to Initialize Session ID when the game starts.

Reply by nazbee | 2024-10-07 23:04:58

I tried that yeah. It works fine for 1 conversation i guess but I have a special case where i need to setup multiple conversations and it creates other issues, ends up not initializing them correctly or something. So i just stop pre-rolling the conversations and let the first message take longer. Least bad result

Reply by k3kalinix | 2024-10-07 23:05:34

Are you using Unreal Engine?

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-10-07 23:05:34
Are you using Unreal Engine?

Reply by nazbee | 2024-10-07 23:51:13

Yes, UE 5.3. Convai 3.2.1 beta. Its probably not worth the time trying to troubleshoot. Ive given up

Reply by k3kalinix | 2024-10-07 23:51:48

FYI: <@&1163218672580575372>

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