https://discord.gg/botpress logo
KB Skipping
# 🤝help
f
It seems no matter what I do when I am using an Autonomous Node to answer a user's queries, and even though we have our website indexed daily, with over 960 pages, every time a question is asked, it calls for a global search and will not access the Knowledge base. I get the same message over and over. The built-in Knowledge base Optimizer is explicitly disabling the KB lookup up. Has anyone else had these issues? It just seems to enact global search no matter what. Even though I have put in the autonomous node instructions not to do so
l
Hello @fast-controller-85245 Thank you for reaching out!
Could you provide some screenshots on your Autonomous node + workflow?
i reaslie the autonomous node instructions are detailed. However i have been trying unsuccesfully tot urn off the global search https://cdn.discordapp.com/attachments/1423622203521503263/1423687661515706531/BRIJJIT808.docx?ex=68e3daf5&is=68e28975&hm=5844bc358182f4f963fe314305dd010ce4aa7fae24465d93d9823b55d541295e&
Something I have noticed is that the website, which is comprehensive, 960 pages, and we are a publishing company so it is updated with 3-4 new articles a day, each time I look at the KB, I notice that it seems to be reloading the indexed pages, even though ti is set to crawl and index daily. So I wonder if that si why it is showing old news. You can see in the LOG it pulls stories from 2024, which is pointless. The website is https://new.brg-radio.com..I. I really appreciate the help, as I have been trying to solve this for what seems like months. I have rewritten the instructions many times. I have tried adding in hooks before the LLM Execution / after and before the knowledge base analytics hook. I am the point of giving up as no matter what I do I cant seem to stop the KB being skipped and the global search kicking in. The KN base built is comprehensive and contains a lot of data that should be easily searched . I'm honestly at the point of jsut giving up and trying another service . thank you for any sugegstions you have
l
@fast-controller-85245 I will do some digging and get back!
@fast-controller-85245 can you provide of a screenshot of the nodes before the AN? Your entire workflow is possible
A few things I can help clarify! - A Global Search = a Knowledge Base search (it is not browsing the internet) - That means it is gathering wrong info from the Knowledge base, it is possible old articles / out dates sources are being searched and used. - What you can do: - In your emulator, after it gives a response, click the green inspect button. It will tell you exactly where it got the information from. As you can see from my screen shot the response was gathered from 0,1,2,3,4 which you can see in the iterations section (under USER) https://cdn.discordapp.com/attachments/1423622203521503263/1423776405463765013/image.png?ex=68e18a9b&is=68e0391b&hm=8e38e082318bdcbf60459242cdac60faf1ea3dbaa19e6a42c5fc8c1ab385d75a& https://cdn.discordapp.com/attachments/1423622203521503263/1423776405807693874/image.png?ex=68e18a9b&is=68e0391b&hm=6506886c0a50d8ba084be38b51be48f4cca85e5dd55a695dbef6152945eb9da8&
@fast-controller-85245
a
Thank you for clearing up the global search issue. I have been using Inspector, but I will try again and pay closer attention . I did look at the global search definition that I found using the inspect tool, and it reads as the image attached . Do you have any suggestions or recommendations on how I can improve this? https://cdn.discordapp.com/attachments/1423622203521503263/1423916066203107398/globalsearch.JPG?ex=68e20cad&is=68e0bb2d&hm=d3133e9c89642074be07009ae5d5ddd77166e9c9afbc0bce38a2cabe6dbbdd8e&
f
Can I ask if an Autonomous Node needs a Search Knowledge base card to work? I ask because global search is, as I understand, built into an Autonomous node
l
Hey @fast-controller-85245 The AN includes a Search Knowledge Base Card that is pre-configured to search all Knowledge Bases by default.
In your case you want to remove the search knowledge base card?
f
No, I have not removed the search KB card. I was just wondering if they are actually needed for an Autonomous Node, given that global search is automatically built in. However, I can see that I can elect which knowledge bases to choose from
A separate question, please, Ross, though still related to the issue of KB Is there a limit on the number of pages that can be indexed for a website? Our site is alrge close to 960 pages, it seems we cant go past 100 pages. I have a different Agent that I use just to build with, and I had the same issue when I wanted to index the Botpress site; it seems not to go past 100 pages?
5 Views