Original Discord Post by adoptedcyborg | 2024-09-04 16:52:29
Hey, Im want to use the chat widget inside of a blueprint that has the Convai Character as a world space Widget, but when I place it the generated texts / transcript doesnt show up on it, do I need to change its blueprint to achive that ?
Hi <@146276048068280320>, thank you for reaching out, although we have not extensively tried it but it should work the way you mentioned, could you try with a different bp widget that is yours just to check it is rendering correctly
Well yeah I was already using few other different widgets with the same method and haven’t encountered any issues, I feel like the texts aren’t getting initialized or something
It’s worth to note that I’m building for VR and the convai player is inherited inside my own pawn, could that be messing up it’s initialization or setup of the chat wb?
Reply by adoptedcyborg | 2024-09-04 17:48:37
It’s worth to note that I’m building for VR and the convai player is inherited inside my own pawn, could that be messing up it’s initialization or setup of the chat wb?
Reply by freezfast | 2024-09-04 17:49:19
no that should be fine, you can even explore not inheriting from the ConvaiBasePlayer by checking this guide if you would like: Simple Talking Cube | Documentation
Reply by adoptedcyborg | 2024-09-04 17:49:36
Also when I put ChatItemwb to the scene the demo texts on it are visible but not changing so I doubt it’s a visibility issue
Reply by freezfast | 2024-09-04 17:52:33
That’s rather strange, we have plans to seperate the chat widget from the actual class as well as add an option to use 3d chat widget for VR or any other use case for the next version, but in the mean time you can perhaps try to create your own version of the chat widget by checking out this video it is a bit old and deprecated but can help you understand the main events for the chatbot component responsible for receiving text
Embedded Content: Add Live Transcriptions and Events for AI NPCs in Unreal Engine | C…
After having set up conversation capabilities for your AI Characters in Unreal Engine 5, we dive into Part 2 of this tutorial series where we set up the Convai UE plugin for live AI transcriptions and events.
Reply by adoptedcyborg | 2024-09-04 17:49:36
Also when I put ChatItemwb to the scene the demo texts on it are visible but not changing so I doubt it’s a visibility issue
Reply by freezfast | 2024-09-04 17:54:47
You’re also correct here, you would need to bind the OnTextReceived and OnTranscribtion received events to the chat widget, so that incoming text would render correctly, you can check the ConvaiBasePlayer bp for how it is done there
Reply by freezfast | 2024-09-04 17:52:33
That’s rather strange, we have plans to seperate the chat widget from the actual class as well as add an option to use 3d chat widget for VR or any other use case for the next version, but in the mean time you can perhaps try to create your own version of the chat widget by checking out this video it is a bit old and deprecated but can help you understand the main events for the chatbot component responsible for receiving text
Reply by adoptedcyborg | 2024-09-04 18:08:10
Ayy yeah this was just what I needed, Thank you, I’ll try to hunt down the issue <a:sodaLove:787418708917485638>
Hey <@365628745886859267> I had a chance to look at this issue on my free time today, and after trying it out on a fresh project and getting the same issue I managed to solve it so I wanted to update you aswell
At first I tried to modify & insert the my widgets component reffs into SetupChatWidget but yall chat setup turned out to be way too elaborated than I tought, so my implementation had some issues ( Big ups btw, I discovered lots of features that I didnt even know yall implemented <a:sodaLove:787418708917485638>
So I just cheated and solved it by Setting the main ChatWb on the player to my widget component inside the Player bp <:PepeLaughOld:681206366400282680>
Hi <@146276048068280320>, thank you for the detailed update! It’s great to hear that you were able to get things working. We haven’t made much progress in the area of 3D widgets yet, but hopefully, we’ll have an official, one-click method available soon to support other developers.
I’m sorry you had to deal with that challenge. Could you clarify which features you discovered in the code but weren’t aware of? We’d love to improve our documentation to make these aspects more transparent.