https://discord.gg/botpress logo
Knowledge Base Not retrieving Data from Webpage
# 🤝help
s
I am trying to build a bot for a swim school and I'd like for the bot to be able to answer questions about the available times and days of the week for lessons. Here is the webpage I am trying to add to my knowledge base,: https://portal.iclasspro.com/frenchvalleyswimacademy/classes?openings=1 but I have been unsuccessful in having the bot be able to give available times. I have tried adding the page as a website in the KB and also tried KB with search the web function but just search that one page. So far I haven't figured it out. Please see attached screenshots. If anyone has any tips or suggestions I am all ears. Thank you! https://cdn.discordapp.com/attachments/1377868976478093412/1377868976725688420/image.png?ex=683a87fb&is=6839367b&hm=d1c3d972bae5a1d4e5c20be1e0bc93df3744cf2c8fbaea8c0fd2dff83a89372e& https://cdn.discordapp.com/attachments/1377868976478093412/1377868977014833203/image.png?ex=683a87fb&is=6839367b&hm=13486be3df104fe912df8246d20e9403bfca2346b71ada2a0cf1a72ef70a4a90& https://cdn.discordapp.com/attachments/1377868976478093412/1377868977333866557/image.png?ex=683a87fb&is=6839367b&hm=b3cafd750713e348e02dffa04de4e440a4a9604055a247e930c3a93a668589fa&
l
open your kb, click on the link of the website and check if bot was able crawl through the website and gather this information into chunks? Also you will have to ensure that the bot crawls this page every day, since this is going to be a dynamic page, even then changes within the day may not be updated till the next crawl The best way to know if you can access the information about the available times and days of the week for lessons via an API call to the school system, this way everytime the bot will have the most updated information
s
Thank you for your help! When i click on the link in the KB, the attached is all I get. I asked chatGPT about why this is happening and it said this type of website is typically Javascript heavy and the website dynamically loads content after the page has already rendered. I was able to manually use Firecrawl to get the page contents into markdown, then copied and pasted to a word doc and uploaded that and it worked. I will check to see if this website has an API (as I agree that would be the best option), but do you know of an integration within Botpress that would be able to crawl a website like this? https://cdn.discordapp.com/attachments/1377868976478093412/1378035636371460137/image.png?ex=683b2332&is=6839d1b2&hm=5270f91cf607a713e5a16748436df8abd967cf72302da727a8761c8f90433540&
l
The default crawler is the only one. However, you can refer to the API Documentation for pushing data into the KB
2 Views