Change the entry message in the knowledge agent
# 🤝help
I want to transform a user's statement into a question when using an AI function. Ex: User types: "I want the offer of 100 reais." I want to change it to something like: "What is the offer of 100 reais?" I tried to change it by creating a code with the variable
, but at that moment the bot has already answered the question "I want the offer of 100 reais". How can I make this change?
what you want to do is turn the user's input into a question
you can use the capture card to save the input, then use an AI task to convert that to a question
then you can pass that question to your knowledge agent using the manual "Query knowledge bases" card, available through the card tray
Thank you so much!