Menu

Use cases

Low-noise RAG

Much of what search hands a model is filler. MillionShort lets you cut the popular, repetitive layer out of retrieval and see what was removed.

Copy as MarkdownOpen in ChatGPT (opens in a new tab)Open in Claude (opens in a new tab)

RAG noise is retrieved text that looks relevant and adds nothing: ten pages that restate the same source, listicles written to rank, pages that mention your keywords in passing. A model given noisy context writes a bland answer or a wrong one, and it spends tokens doing it.

The problem

Most of the noise comes from one place. General search rewards popularity, and the most popular sites are often the ones that summarize, aggregate and repeat. Re-ranking the list afterwards does not help much, because the pages you wanted were never in it. The fix is to change which sites can answer.

How MillionShort addresses it

A low-noise call

The web and the small web without the 100,000 most popular sites, articles only among the web results (the page-type filter acts on web and news, so the response names smallweb in a filter_not_applied warning), with no site that carries a risk label and one site buried:

Example
Shell
curl https://api.millionshort.com/v1/search \
  -H "Authorization: Bearer $MILLIONSHORT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "sourdough starter hydration",
    "sources": ["web", "smallweb"],
    "remove_top_sites": 100000,
    "page_types": ["articles"],
    "bury_domains": ["example.com"],
    "exclude_risky": true,
    "max_chars_per_result": 1200,
    "explain": true
  }'

The loop keeps one passage per site, and exclude_risky leaves out any site that carries a risk label, which are two cheap ways to raise source diversity. The Python SDK is not published to a package registry yet; the curl request works today.

Choosing N

There is no single right value. Start at 10,000 and compare the list with the unfiltered one for a dozen of your own queries. Raise N when the same aggregators still appear, lower it when good reference sites disappear. For questions where the popular answer is the right one, leave it at 0, or use only_top_sites to do the reverse.

What it does not do

This page as Markdown ยท llms.txt