Glossary
What are primary sources in RAG?
Primary sources in RAG are the original documents where information first appeared, retrieved in place of the summaries and rewrites made from them.
Copy as MarkdownOpen in ChatGPT (opens in a new tab)Open in Claude (opens in a new tab)
Primary sources in RAG are the original documents where information first appeared: research papers, official documentation, standards, filings, datasets and firsthand reports. Retrieving them instead of secondary summaries or aggregator rewrites gives a language model cleaner evidence, fewer copy-of-a-copy errors, and citations that end users can trust and verify.
Primary vs secondary sources: what's the difference?
A primary source is the document that said it first: the peer-reviewed paper, the vendor's own changelog, the court filing, the standards document, the earnings report, the maintainer's post announcing the change. A secondary source describes, summarizes or reacts to a primary one: news coverage of the paper, a listicle about the release, a forum thread paraphrasing the documentation.
Secondary sources are not worthless. They add interpretation and make hard material accessible. The problem is degree. On the open web one primary document often spawns many secondary rewrites, each a lossy copy competing to outrank the original.
Why do primary sources matter for RAG quality?
- Accuracy. Every rewrite is a chance to drop a caveat, garble a number or flatten nuance. Grounding on the original removes the telephone game.
- Citations users trust. "According to the regulator's filing" carries more weight, and survives scrutiny better, than "according to a blog post about the filing". For grounded systems, citation quality is product quality.
- Less redundancy. Secondary accounts of the same story are near-duplicates of each other, so retrieving three adds little beyond retrieving one. Separate primary documents are usually distinct, which helps source diversity.
- Detail. Summaries leave out the tables, parameters and edge cases that agents often need.
Why is retrieving them hard?
Search rankings lean on popularity signals, and secondary coverage is often written to win those signals. The original paper can sit below a dozen articles about the paper, so a naive top-10 retrieval fills the context window with noise before it reaches the source. Practical fixes include boosting authoritative domains, removing duplicate rewrites, searching collections that hold primary material directly, and filtering the most popular, most heavily optimized sites out of the results, which is the approach behind long-tail search.
Where MillionShort fits
Several MillionShort controls are aimed at this problem:
remove_top_sitesremoves results from the N most popular sites, so less-visited originals can rank.- Lenses:
boost_domainsmoves sites you trust up,bury_domainsmoves others down, andinclude_domainsrestricts the search to a list. - Sources such as
academic,medical,law(United States),financeandcontractssearch specialist material directly, next towebin the same call.
None of these labels a result as primary or secondary. That judgment stays with you or your model. Results come as snippets; include_content adds the page text we hold to web and news results, not to the specialist sources. Primary-source research walks through the use case.