Retrieval

RAG: the pages it generated

Retrieval-augmented generation over this dealer's data. Every vehicle and store page is expanded into plain-text Markdown you can browse below, pull as one bulk corpus, or query live with the rag_search tool.

How the RAG corpus works

Each vehicle and store page is written out as clean Markdown and concatenated into a single bulk corpus, llms-full.txt (530 KB). An agent can ingest the whole corpus, or call rag_search(query) over the MCP endpoint to retrieve just the matching chunks with source links. Everything below is a real generated page you can open.

474vehicle pages (.md)
17store pages (.md)
530 KBbulk corpus

Every document is checked against an admission policy before it joins the corpus. Search-results and filter pages are refused, interface furniture and text that repeats across the corpus is removed, thin and near-identical documents are refused, and each refusal is recorded with its reason.

Document typeDocuments
site17
MeasureValue
Documents evaluated for admission61
Admitted17
Refused44
Average unique words per admitted document188.6
Repeated blocks lifted into a single document43
Near-duplicate ratio0.033
ReasonDocuments
Too little unique content33
Mostly repeated boilerplate8
near duplicate of finance-locations.md jaccard1
Navigation or utility page1
near duplicate of scheduleservice.md jaccard1
PageSource page
Castle Cars – Buy New & Used Cars Online in Chicagolandhttps://www.castlecars.com/about-us
Buy Online at Castle Cars | Naperville IL | Schaumburg | Villa Parkhttps://www.castlecars.com/buy-your-new-car-online
Castle Cares | Castle Carshttps://www.castlecars.com/castle-cares
Castle Upgrade Program - Castle Carshttps://www.castlecars.com/castle-upgrade-program
Castle Cars | Auto Financing in Naperville, Schaumburg & NW Indianahttps://www.castlecars.com/finance-locations
Castle Cars Dealer Information - Chicago & Northwest Indianahttps://www.castlecars.com/hours-and-directions
Our Locations | Castle Carshttps://www.castlecars.com/locations
Castle Cars | Auto Service in Chicago, Downers Grove & NW Indianahttps://www.castlecars.com/scheduleservice
Sell Your Used Car, Truck or SUV to Castle Carshttps://www.castlecars.com/sell-my-car
Service Financing at Castle Cars | Naperville IL | Schaumburghttps://www.castlecars.com/service-now-pay-over-time
Castle Cars Service – Auto Repairs by Factory-Trained Techshttps://www.castlecars.com/servicing-at-castle
Castle Cars Serving Portage IN | Cars for Salehttps://www.castlecars.com/serving-portage-in
New Vehicles for Sale Near Chicago, IL | Castle Carshttps://www.castlecars.com/test
New DealerGroup and Black Vehicles for sale Near Chicago, IL | Castle Carshttps://www.castlecars.com/test2
DealerGroup Blackhttps://www.castlecars.com/testing
Castle Cars | Trade-In Locations in Chicago, Downers Grove & NW Indianahttps://www.castlecars.com/trade-in-locations
our Hassle-Free Guide to Car Buying at Castle Automotive Grouphttps://www.castlecars.com/what-to-bring-when-buying-your-car

All 474 vehicles are in the corpus as one Markdown record per VIN, addressed by the pattern https://ai.castlecars.com/v/{VIN}.md (and https://ai.castlecars.com/v/{VIN}.json). A few samples:

How to query this dataset
Bulk corpus
Live tool
rag_search(query, limit?) over the MCP endpoint
Per vehicle
https://ai.castlecars.com/v/{VIN}.md
curl
curl -s -X POST https://ai.castlecars.com/api/ucp/mcp \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"rag_search","arguments":{}}}'