Scaling notebooks to hundreds or thousands of sources #1154
Replies: 3 comments 1 reply
|
Hi, here's what I found from the project docs and previous discussions: Hard limit: there was an artificial cap of 50 sources per notebook in the code, reported in #299. The maintainer (@lfnovo) fixed it and the fix has been rolling out in subsequent releases, on recent versions there shouldn't be a hard cap anymore. Worth confirming which version you're on. Practical recommendation: the official FAQ suggests 20–100 sources per notebook for best performance (docs/6-TROUBLESHOOTING/faq.md). If you're on an older version and still seeing the 50-source ceiling, updating to the latest release should unblock you otherwise, staying within the 20–100 range per notebook is the recommended sweet spot. |
|
Thanks for the clarification! For example: Does retrieval quality degrade significantly when a notebook contains several hundred or thousands of documents? I'd like to understand whether the recommendation of 20–100 sources is purely for performance, or if it also helps maintain retrieval and answer quality. |
|
Moving this from Q&A to Ideas and broadening the title so it can serve as the canonical product Discussion for large notebooks and retrieval quality at scale. There is no current hard limit on the number of sources in a notebook. The 20–100 figure in the FAQ is a practical rule of thumb, not a validated upper bound or a guarantee that quality changes at source 101. Document count alone is also a weak measure: ten books may contain more text than a thousand short notes. The current constraints occur at several layers:
Issue #473 tracks the larger RAG and context-selection architecture. Please use this Discussion for concrete corpus sizes, hardware/provider configurations, latency and quality observations, failure modes, and the benchmarks or controls users need. That evidence should help the architecture move from intuition to measurable targets. |
Uh oh!
There was an error while loading. Please reload this page.
Hi! Thanks for the great project.
I have a quick question regarding notebook capacity.
Is there a limit to the number of documents (sources) that can be added to a single notebook? If so:
I couldn't find this information in the documentation, so I wanted to ask here.
Thanks!
All reactions