Get feedback
# 🤝help
j
So I want to get feedback from a user with raw input and an AI task. Im using the raw input to get the users "negative" feedback about the chatbot and im using the "AI TASK" to summarize that information and save the key points into a variable example: Why is my feedback bad? Because you didnt answer my question Im sorry, I will improve my Knowledge base next time we visit each other Seeing that "didnt answer my question" is part of the Knowledge base, it will say "improve my Knowledge base."
f
Workflow.feedback should be in AI Task Input
Task Instructions: Here you should let the AI know what its purpose / job is and how it should do it and in which variable it should save the result. AI Task Input: This is for giving it the information it needs to do the job, like workflow.feedback
Check out the AI task in this bot created by Gordy, it is really good. https://discord.com/channels/1108396290624213082/1121494527727902891/1197586881286766662
j
not working man :(((
f
What is not working about it?
j
ill try to improve SEE YOU NEXT TIME !
its saying that
its supposed to say what its going to improve
f
workflow.feedback is empty
j
why. IDK lol
f
It can't work with an empty variable
j
it caputres the variable
f
Try and print workflow.feedback
j
print ?
f
Add a text card with {{workflow.feedback}}
j
ok
f
Seems like it doesn't save it to the workflow.feedback variable
Have you set the capture information card to save it to the variable?
j
HOLY SHIT !!
I DID IT !
I DIDI IIIIITITTITITI
f
Amazing Theo! Great job!
j
check this !
f
That is actually really cool!
j
thank you
ill share my prompt
Summarize the user's negative feedback. Get key points of what was wrong with his interaction with the ai chatbot Read the user's feedback and think about how you can improve on the negative feedback the user has given you. Save the information you think you can incorporate into the following variable: {{bot.summary}} Provide the text in this format: i will improve [what has to be improved] Thank you for your feedback, goodbye ! And provide the user with information about what you will improve as a result of his negative review example: user: you didnt answer my question correctly bot: sorry, I'll improve my knowledge base
f
Thanks a lot for sharing that, will be useful
j
no problem
c
Language please 🙂
j
So so sorry miss
Have bean trying to do that for a full day and i finally got it to work