https://discord.gg/botpress logo
KB Web page indexing / index retention bug?
# 🤝help
w
While troubleshhoting another issue, I noticed that my prod bot , whose KB data comes only from web pages specifically created for the purpose, was returning strange answers to some basic informational queries. I did some test runs in the emulator and discovered that under some conditions, the KBs were not returning the most relevant data chunks All the KB data sources show as indexed. However, when ckicked on, some of them show no pages. All were added as individual web pages. (See screenshots) Is there an issue with KB Web source indexing, or a possibility that indexed pages are somehow being 'dropped' by the KB? https://cdn.discordapp.com/attachments/1394359437199933573/1394359437547802764/Screenshot_2025-07-14_at_09.15.16.png?ex=687685eb&is=6875346b&hm=62b3d1e82e8238694fe4554b5bd58661f4d370ed4993668d803be286c80a5902& https://cdn.discordapp.com/attachments/1394359437199933573/1394359437891731538/Screenshot_2025-07-14_at_09.15.31.png?ex=687685eb&is=6875346b&hm=33406bf7f58e1e7370417f7f0f4c263ee1d1905d4b25de2a547c0a9b88f1039a&
p
Would you be able to provide a report id and the list of links you had added?
w
Sure, thanks! Will do momentarily. Re: list of links: there are a slew of em, i'll just include those for one KB (and specify which)
@prehistoric-airplane-85682 report_01K05CYJANMFH4GQRHRF35FA6K // i included link info in the report as opposed to here, for business data reasons --- thanks again and please let me know if I can provide any other info etc!
p
I believe the pages get removed from the kb when the sites have problems. When I opened the first link you provided I got a 404 error. You might want to validate they are not broken.
w
@prehistoric-airplane-85682 that is odd, I pasted those in from my browser after loading the pages themselves -- if any 404'd, must have been a bad paste , sorry about that -- the pages fed to the KBs are static URLs that have not changed since the bot went live and are hosted on Google Sites -- can I message you the URLs again via discord?
@prehistoric-airplane-85682 followup question: even if a link were to "go bad" after initial index, in a case like this where there is no re-indexing, how would the KB "know" the link had gone bad? And why would the default behavior be to silently jettison indexed data?
p
Yes, for sure :))