Unsearchable feature not working
# 🤝help
b
Hi I want to use tables as knowledgebase , I made 6 Columns, A, B, C, D, E, F, and G. I want to people input and search in Column A, if information exist in Column A then reply in this format "Congratulations! You've successfully avoided a potential scam. This account is owned by @B, which provides or sells @C in @D. The affected individual made a payment to this account number at @E with name @F on @G. You can find more infromation by searching these names(can't search bank/Wallet) at hireloyal.com/awareandshare." if information doesnt match from Column A then just send simple message card. But it shouldnt answer if input is anything else, whatever it is, like if input is what is @F so bot shouldnt allow to analyse all table and respond that like it own by Column A, Column A is confidential and only user can search that particular in put and he will be provided info against that particular info. Last thing if you are going to tell me mark column unsearchable, I did that but he still responding from that column @Patrick 🐿 @Robert @devmik
q
I was also going to start by saying 'disable searchable.' If that doesn't work, here are some ideas on how you can use KB tables for things like that https://discord.com/channels/1108396290624213082/1195763907680280637 https://discord.com/channels/1108396290624213082/1163451008333123616 Then I would also use that prompt in AI Generate Text (if you're using AI Task), since it has given me much better results than AI Task (even with multiple Task Examples), but usually, I try both and compare the accuracy. https://cdn.discordapp.com/attachments/1231084649506148422/1231093825813090404/Screenshot_from_2024-04-20_06-59-35.png?ex=6635b478&is=66233f78&hm=5b707d046e0d4b0a7c74c508de4caa63fc39735ad19a5a35766d4f37b7084002&
I have found those filtering ideas to work best with KB tables to first return only the needed information, and then start working with that data. Another option is adding an Expression card if the answer is not found in the Knowledge Base !turn.KnowledgeAgent.answer which goes to that simple message card.
🛠️ just to give you some more ideas 🫡
Some ideas regarding AI Task and AI Generate Text to help them give better results https://discord.com/channels/1108396290624213082/1230289745171710164
"Last thing if you are going to tell me mark column unsearchable, I did that but he still responding from that column" (if you are using AI Task, maybe this helps also) From Botpress Announcements: 🛠️ Added ability to specify types within an object variable using schemas. Using custom object schemas will make the AI Task much better at extracting structured information!
⬆️ I haven't tried those yet, but sounds interesting.
b
Thank you very much for you efforts devmick, I am trying your given solutions but still couldnt finalize and get results
It still giving vice versa information to the users
q
I can also try to build this exact same use case after the weekend, so we can test everything and see which solution works best.
b
@quick-musician-29561 Thank you! Your highness, will be waiting for you
When providing a wrong account number (or whatever details are in Column A), if users write only the account number, or if the account number is included somewhere in the question, the chatbot returns only a simple text card stating, 'We have no information regarding that. Please provide a correct account number.' https://cdn.discordapp.com/attachments/1231084649506148422/1231271604583927889/image.png?ex=66365a0a&is=6623e50a&hm=ba674be9870b2db57535db1c3f79d50ab486317ab8710f191c783839ac457171&
2 Views