https://discord.gg/botpress logo
Best Practice: Large Book (400K Chars) KB Upload S...
# 🤝help
m
Hi, everyone! We are in the process of training an agent for our project and are looking to optimize how we upload an extensive knowledge base, specifically a book containing approximately 400,000 characters. We have noticed that Botpress accepts tables and .txt and .docx files for training. We would like to know your recommendation and the best practices for a scenario like ours, where accuracy in information retrieval is crucial. Our specific questions are as follows: 1- What technique do you most recommend for training an agent with the content of a full book of this length? - Do you recommend uploading the complete book as a single .docx file? - Or is it preferable to divide the book into fragments (chunks) and upload multiple .txt files (one per chunk)? - Or do you advise uploading a single .csv (table) file containing the chunks and their associated metadata? 2- In case you recommend segmenting the content (chunks), how many characters do you suggest each chunk should have for optimal agent performance? Thank you very much for your time and help!
p
Unfortunately, there is no set recommended approach for this task. My best advice would be to try each of these options to find out which works best. Sorry I couldn't be of much help.
m
Thanks for responding, Leanne! That's what I'm doing: I'm using the entire book in .dox format and, in the meantime, I'm figuring out how to iterate on something more elaborate.
p
Awesome, do let me know what your findings are, we are currently working on building best practices guides.
5 Views