Sub topic 2
ChatGPT search, Perplexity, and Copilot: where each gets its content
This chapter assumes you know how search engines crawl and index pages, can read HTML and HTTP requests, and have a general idea of what a large language model does.
Each answer engine needs web content before it can answer. The sources differ by product. The details below reflect vendor documentation at the time of writing. Crawler names and index sources change, so confirm them in each vendor's current docs.
Where each engine gets its content
| Engine | Content source | Notes |
|---|---|---|
| ChatGPT search | OAI-SearchBot builds OpenAI's search index, and third-party search providers also contribute | ChatGPT-User fetches pages for user-initiated requests |
| Perplexity | PerplexityBot builds Perplexity's own index | Perplexity-User fetches pages for user-initiated requests |
| Copilot | The Bing index | Pages reach Copilot through Bing's crawler, bingbot |
From question to search queries
The engine does not search with your exact words alone. A query rewriting step turns the question into one or more search queries. For example, "Does Perplexity cite forum posts?" might become "Perplexity citation sources" and "Perplexity forum post citations." Each query runs against the index.
Retrieving and ranking candidate pages
For each query, the engine pulls candidate pages from its index and ranks them. The ranking signals are not fully published. A page that never enters the candidate pool cannot be cited.
Extracting passages into the model's context
Engines do not send whole pages to the model. They split candidate pages into passages, select the most relevant ones, and place them in the model's context window, which is the text the model reads while it writes. Clear headings and self-contained paragraphs make passages easier to extract.
Writing a grounded answer and attaching citations
The model writes its answer from the selected passages. Grounding means the answer rests on that retrieved text. The engine then attaches links to the pages those passages came from. A citation shows where a claim may have come from. It does not prove the model used that exact sentence.
Exercise
A well-ranked page in a traditional search engine does not appear in an AI answer. Name two stages in the pipeline where it could drop out.
Show answer
It could be missing from the index, so it never becomes a candidate. It could also have no passage that matches the rewritten queries, so the engine never extracts it for the model.