“I created a standard blueprint using the Time of Day template, but when I launch the project, the character doesn’t tell me what time of day it is. Could the character description affect this if I added something like ‘do not respond to other topics’?”
Hello @Mountain,
Which version of Convai Plugin are you using?
This is not the version of the Convai Plugin. Please check it in the Plugins within the project.
Please use our latest version.
- Download the ZIP file matching your Unreal Engine version from our latest release:
Releases · Conv-AI/Convai-UnrealEngine-SDK · GitHub - In your Unreal project directory, create a
Plugins
folder if it doesn’t already exist. - Move the extracted
Convai
folder into thePlugins
folder. - Open your project.
- Navigate to Project Settings > Convai and enter your API key.
Do I need to disable the plugin before installation?
You can remove the old plugin.
Thank you, it works. Now I have another question — is it possible to insert dynamic values into responses taken from a Data Table? For example, I ask for a refrigerator, and the assistant searches through the answers in the table, finds the correct one, and replies that the refrigerator is located in sector A6.
I don’t understand exactly what you are doing or what you want to do. Could you explain in detail?
I need to implement a feature where the assistant listens to what I say, then searches a data table for matching product names. For example, if I say “refrigerator”, it finds that word in the table and responds: “The refrigerator is located in Sector B2”.
The table has two columns: one for product names and one for product locations.
Can this be done using variables in the narrative design system? Do you support dynamic variables that can pull and insert values from a data table into responses?
You can use our Action
feature for this and you can use the Invoke Speech Function with speak tags for your Action.
That’s not what I meant. I don’t need the assistant to show the product physically — I want it to say the location.
For example, I have a table with products — it could contain around 30,000 items. When I say the name of a product, the assistant should search the table using something like a “Contains” check, find the matching product, then find the row with its location, and respond by saying where I can find it.
- I ask: “Where can I find a refrigerator?”
- The AI responds: “Refrigerator” is located on shelf “A2.”
Just to explain: in Convai, an “Action” doesn’t always mean a physical animation or movement. It can simply be a way to trigger a custom Blueprint in response to what the user says. For example, when a user says “open the door,” the character doesn’t need to physically move. You can just play a door-opening animation via Blueprint. Similarly, in your case, your action could trigger a Blueprint that performs a search through your data.
However, given the size of your dataset (around 30,000 items), using actions might not be optimal for speed. Instead, the most efficient solution would be to upload this data to your character’s Knowledge Bank.
The Knowledge Bank doesn’t work reliably — sometimes the assistant responds correctly, and sometimes it doesn’t. That’s why I’d prefer to handle this using Narrative Design or some kind of dynamic variables. Ideally, the character would go through an array of data from a table and respond based on what it finds.
Also, I want to add another feature based on this: using filters. For example, I don’t want to create separate Actions for every possible price value. Instead, I’d like to say any number out loud, and have that number be passed into a filter that sets the value dynamically.
Are there any nodes in Unreal where the character can speak a pre-written line? For example, I say a keyword, and then the character replies with a pre-written text stored in a variable?