https://discord.gg/botpress logo
#🤝help
Repeated after the kb update.
# 🤝help
c

curved-traffic-50479

07/19/2023, 8:36 PM
After the new update KB and AI task. They become much better! But i noticed that if the answer doesnt exist in kb then it starting to repeat the user question. Or if i ask dumb question like what is weather. Any advice ? 🙂

https://cdn.discordapp.com/attachments/1131323588817997885/1131326428982562929/image.png

g

gray-leather-80995

07/19/2023, 8:58 PM
Probably the Summery Agent plays a role (?), i had something alike, but problem was solved by giving a good AI Task description
c

curved-traffic-50479

07/19/2023, 8:59 PM
Can you show me example bro ?
g

gray-leather-80995

07/19/2023, 9:00 PM
Np
Description: This AI Task is designed to provide accurate and reliable information about [NAME COMPANY]. The AI will only respond to questions if the answer is true and pertains to [NAME COMPANY]. Please ensure that the questions are fact-based and relevant to [NAME COMPANY]. Role: The AI will serve as a knowledgeable assistant representing [NAME COMPANY] It aims to deliver trustworthy and factual responses to users' inquiries, creating a positive and informative experience for anyone seeking information about [NAME COMPANY]. The AI's purpose is to strengthen [NAME COMPANY]' reputation and provide valuable insights about the office. Website Reference: Users can learn more about [NAME COMPANY] on the official website: [NAME COMPANY](WWW.WEBSITECOMPANY.NL).
I have documents in a knowledge base and also the website of that company
c

curved-traffic-50479

07/19/2023, 9:06 PM
Wow bro thaanks, do we need to put in knowledge base ?
g

gray-leather-80995

07/19/2023, 9:08 PM
Laat 2 lines is what i did in the knowledge base
Documents and a second kb with the website
c

curved-traffic-50479

07/19/2023, 9:09 PM
i will try it
g

gray-leather-80995

07/19/2023, 9:10 PM
The ai task description i put that on de ai task card
picture does sometimes say more then words
c

curved-traffic-50479

07/19/2023, 9:58 PM
still have the same problem

https://cdn.discordapp.com/attachments/1131323588817997885/1131344226102292622/image.png

g

gray-leather-80995

07/19/2023, 10:13 PM
AI Task input, try to use
{{event.preview}}
c

curved-traffic-50479

07/19/2023, 10:17 PM
What’s the difference between them?
g

gray-leather-80995

07/19/2023, 10:19 PM
i dont know 🫣 exactly but thats how mine is set up and it works perfectly
c

curved-traffic-50479

07/19/2023, 10:20 PM
Does it hold conversation history?
I will try Brb
g

gray-leather-80995

07/19/2023, 10:20 PM
yours is chathistory, event.previes is users message
c

curved-traffic-50479

07/19/2023, 10:22 PM
Bro its working very good!!! Thanks 😊
g

gray-leather-80995

07/19/2023, 10:23 PM
awesome !
c

curved-traffic-50479

07/19/2023, 10:23 PM
one last problem

https://cdn.discordapp.com/attachments/1131323588817997885/1131350648726761503/image.png

it answer twice there bro
one from kb and one from ai task
g

gray-leather-80995

07/19/2023, 10:24 PM
there was something about this last update that message came twice, let me check
c

curved-traffic-50479

07/19/2023, 10:24 PM
ok
g

gray-leather-80995

07/19/2023, 10:32 PM
cant find what i was looking for, but i bumped into this answer "Check if your knowledge agent is set to answer questions on the start node? If it is, that could be the cause of the double answers"
c

curved-traffic-50479

07/19/2023, 10:32 PM
truee
i wll try
i fixed as you said. And again thanks bro for your time ❤️
g

gray-leather-80995

07/19/2023, 10:41 PM
A nice to hear that works, i also found this "Yeah if you all refresh your Studio then click on each of your problematic AI Tasks, they should update to get the bug fix" just incase is pops-up again
c

curved-traffic-50479

07/20/2023, 1:35 PM
then ok i used this varible SummaryAgent.transcript and it dident work but it worked with {{event.preview}} @User is there any explanation? 🙂