Can you please explain context variable naming for GenAINode and GenAIPrompt

I want to start using the GenAI functionality but can’t work out how to access the context variables.

In this example GenAINodeTest what is the full context variable familyName

And in this example GenAIPromptTest what is the full context variable for the content returned by the prompt.

I can see the response in the debug tool but can’t work out the context variable to access it.
Screenshot 2024-08-07 at 3.42.18 PM

Hello @andrew.speirsbridge ,

Welcome to Kore.ai Community.
We are checking this, please allow us sometime to verify and revert back to you.

Thank you,
Srujan Madderla
Kore.ai Community Team

Andrew,
Please try this naming structure:
GenAI Node: the entity would be context.AI_Assisted_Dialogs.GenAINodeTest.entities.familyName
GenAI Prompt: the text output would be context.GenerativeAINode.GenAIPromptTest.text

Be sure to check the output format of the GenAI Node…it may be an object or an array.

Thanks John.

The following formats worked:
{{context.GenerativeAINode.GenAIPromptTest.text}}

And
{{context.AI_Assisted_Dialogs.GenAINodeTest.entities[0].familyName}}