Implementing KBs to Task Ai
# 🤝help
l
Hi, I'm struggling with some logic here. Let's say a user asks a question that isn't available in the KnowledgeBase, but there might be related content in the KBs. However, when it doesn't find anything and passes the empty output to the AI task, it causes a problem. Desire Response If the KnowledgeBase fails to provide the desired response for a user query, instead of passing an empty query data to the AI task, I'd like the AI to generate a response related to the user query while also incorporating any remaining content present in the KBs that might be relevant.
f
Hey there @lemon-byte-70178 Take a look at this tutorial

https://www.youtube.com/watch?v=Q2VMitD6DMU&t

l
Thanks for sharing! I have another question. What if the bot is for ecommerce or SaaS, and it can't find an answer in the KBs, so it asks Chatgpt Like, what if it promotes or lists products similar to ours, competing or related to our own?
how can i avoid that from happing and make the response more related to data available in my KBs.
f
You can give it Task Instructions where you could tell it to only recommend these products: x, y, z.
l
okay i understand