Getting error trying to add helper code to our custom theme | Community
Skip to main content

Getting error trying to add helper code to our custom theme

  • May 6, 2024
  • 2 replies
  • 0 views

Jimmy11

Upon trying to add this {{generative_answers}} code to our custom theme, I'm getting the following error:

 

1 error

'generative_answers' does not exist

2 replies

Jimmy11
  • Author
  • May 7, 2024

CC @ana jones @Cory Vegel 


Tetiana12
  • May 14, 2024

Hi Jimmy, 

I will duplicate my response here so other community members know why they might have the same issue. 

It is required to have templating API v3 to add {{generative_answers}} to the theme. 

You can test generative search in Knowledge in the Agent workspace, it doesn't require any theme changes.