How Long Does the Bot Need to Respond to a KB Upda...
# šŸ¤help
h
I'm imagining a scenario where a bot is used to respond to user questions where some data is static but some data is updated fairly regularly. (Let's call these files 'latest news {dtg}'). What I'm curious about is if anyone has any idea of how long it would be for the bot to recognize a new 'latest news' file and integrate that into the KB. (There would also need to be a way to ignore & remove older 'latest news' files but I think I saw a function for that.) Does anyone have experience with this kind of process or is there any info that the dev team have? I can't find anything in the docs? Thanks everyone
b
what kind of KB are you talking about?
as in - which KB format will be "updated fairly regularly"?
h
Hi @bumpy-butcher-41910 - Iā€™m imagining a fast moving event like a fire or flood. So there would be text files with he latest incident information. ā€˜Staticā€™ information might help things like FAQs, contact lists, etc
b
KBs aren't updated dynamically at the moment - meaning when you upload a file, it'll always remain in that state until you upload a new one
that being said, as soon as you upload a new file, your bot will start querying that immediately
so you'd have to manually update the information provided to your bot
f
What if it was a web search. Doesn't that update dynamically?
b
I'm not sure if web search is what @helpful-intern-92844 is using, but that would indeed update dynamically - however scraping only happens periodically, so it wouldn't update automatically
f
Alright
h
Thanks @robert - updating the files manually is what I had in mind. So maybe a better question is : Is the bot querying the KB docs each time or does it create a DB of some kind with the docs that it then queries? If the former, the change would be picked up right away but if it was the latter, there would be a lag between the new doc being uploaded and the DB being refreshed.
b
ah gotcha! in that case then the first answer is correct - your bot will query the KB every time, so manual updates (i.e. deleting the old KB and uploading the edited one) will be picked up right away
h
Perfect. Thanks for clarifying @bumpy-butcher-41910
2 Views