Chatbot is repeating message
# 🤝help
g
I've got a knowledge base card that allows users to ask questions to the chatbot. What am I doing wrong here?

https://cdn.discordapp.com/attachments/1131787231212875847/1131787231472914472/image.png

https://cdn.discordapp.com/attachments/1131787231212875847/1131787231732973699/image.png

https://cdn.discordapp.com/attachments/1131787231212875847/1131787232018182144/image.png

https://cdn.discordapp.com/attachments/1131787231212875847/1131787232269832293/image.png

Any ideas here?
a
In your code card, swap "event.preview" with "turn.KnowledgeAgent.answer". "Event.preview" is what the user said, while the other variable is the knowledge base answer.
g
Awesome I’ll try that when I get home! Really appreciate your help @acceptable-kangaroo-64719
Hey @acceptable-kangaroo-64719 - I tried replacing "event.preview" with "turn.KnowledgeAgent.Answer" and now it's repeating the answer twice. I apologize if this is a basic coding error. I'm still learning over here! Appreciate any insight you might have.

https://cdn.discordapp.com/attachments/1131787231212875847/1132050040161050764/image.png

https://cdn.discordapp.com/attachments/1131787231212875847/1132050040555307008/image.png

https://cdn.discordapp.com/attachments/1131787231212875847/1132050040882466886/image.png

a
Check if manual answering is enabled for your Knowledge Agent?

https://cdn.discordapp.com/attachments/1131787231212875847/1132979759899488257/image.png