AI chatbots get most of their information from a very large amount of text collected before the model was released, much of it crawled from the public web, plus books, Wikipedia and similar sources. The model does not look facts up while it answers unless the product adds a search feature on top.
Two different things get confused here: where a model's knowledge came from (training data) and what it can see right now (its prompt, and any search results added to it). This article separates them, using the one major model whose training mix was published in detail.
What is the main source of an AI's information?
Google's Machine Learning Crash Course puts it this way: "The primary ingredient in building an LLM is a phenomenal amount of training data (text), typically somewhat filtered." The same course describes large language models as "essentially autocomplete mechanisms" that predict the next piece of text. What they know is whatever helped them predict text in that training collection.
So the honest short answer to "where does AI get its information" is: from people's writing, collected in bulk, then compressed into numbers. For how that compression happens step by step, see how AI learns.
What was actually in the training data? A documented example
Most vendors today do not publish a full list of what went into their newest models, so I can only show you a case where the list was published. The 2020 GPT-3 paper (Brown et al.) lists five datasets in its Table 2.2:
| Dataset | Tokens | Weight in training mix |
|---|---|---|
| Common Crawl (filtered) | 410 billion | 60% |
| WebText2 | 19 billion | 22% |
| Books1 | 12 billion | 8% |
| Books2 | 55 billion | 8% |
| Wikipedia | 3 billion | 3% |
Two details are worth reading closely. First, the "weight in training mix" is not the same as size. Wikipedia is the smallest dataset but was sampled 3.4 times over during training, while the biggest one, Common Crawl, was seen less than once (0.44 epochs, per the paper). Higher-quality sources were repeated on purpose.
Second, the web data was not used raw. The paper says the authors "downloaded and filtered a version of CommonCrawl based on similarity to a range of high-quality reference corpora," and then "performed fuzzy deduplication at the document level, within and across datasets." This is the "somewhat filtered" part of Google's description. Treat the table as a documented snapshot of one 2020 model, not as the recipe for any current product.
What is Common Crawl?
Common Crawl is a nonprofit archive of web pages. Its overview page describes a corpus of "raw web page data, metadata extracts, and text extracts," collected "regularly" since 2008 and measured in "petabytes of data." It says access to the copy hosted by Amazon is free, which is why so many research groups and companies start from it.
The crawler that gathers it is called CCBot. Anyone running a website can see it in their logs by this user agent string, which Common Crawl publishes: CCBot/2.0 (https://commoncrawl.org/faq/). Common Crawl also warns that some bots falsely claim to be CCBot, so a name in a log is not proof.
Can a website opt out of being used?
Partly. Common Crawl documents the way to stop its crawler: add these lines to the site's robots.txt file.
User-agent: CCBot
Disallow: /
Other AI companies run their own crawlers with their own names, and each documents its own rules, so one entry does not cover them all. Two limits apply to any robots.txt rule. It is a request that well-behaved crawlers follow, not a lock. And it affects future crawling only: pages already collected in an earlier crawl archive stay in that archive.
Does the AI learn from my conversations?
The training data above comes from before release. Chats are a separate question, and the answer is set by each provider's policy. As one example, Anthropic's page for its commercial products says: "By default, we will not use your inputs or outputs from our commercial products," with an opt-in exception under which "we may use your chats and coding sessions to train our models." That page covers commercial products; it says consumer plans are described in a separate article. Other providers differ, so check the privacy or data controls of the product you use.
Inside one conversation, the model uses what you typed earlier because the chat software sends it again as part of the next prompt. That is context the model reads, not training. If you are unsure what a provider does with your chats, check its data controls before pasting anything sensitive.
How can an AI know recent events?
A model's parameters are fixed at the end of training, so its built-in knowledge stops at some point in the past. To answer about newer material, a product has to bring that material in. The standard design is retrieval: fetch relevant documents first, then give them to the model with the question.
The 2020 paper by Lewis et al. on retrieval-augmented generation describes the split. Large pre-trained models "store factual knowledge in their parameters," which it calls parametric memory. Its proposed systems combine that with "non-parametric memory," an external store; in the paper it is "a dense vector index of Wikipedia." Modern chatbots with web search follow the same pattern with a search engine instead of a Wikipedia index, though how any specific product implements it is up to the vendor and varies.
In practice, you can tell which source an answer came from by looking for citations. If the product shows links to pages it fetched, the answer was grounded in those pages at least in part. If it shows none, assume it came from training. The index idea behind this is explained in semantic search explained.
Why does it matter where the information came from?
Three practical consequences follow from the sources above.
- Coverage is uneven. A model learns most about what was written about most often. A niche topic, a new product or a local event may have little or no coverage in its training text.
- Quality is mixed. The web contains errors and opinion. Filtering and weighting, like the choices in the GPT-3 table, reduce this but do not remove it.
- Knowing a topic is not the same as looking it up. The model produces likely text. When the training data is thin, it can produce confident text that is wrong. That failure mode is covered in why AI hallucinates.
The simplest habit: for anything where a wrong answer costs you something, such as dates, prices, medical or legal points, ask for the source and open it yourself. An answer with no checkable source is a starting point, not evidence.
Frequently asked questions
- Does AI look things up on the internet when I ask a question?
- Not by default. A language model answers from patterns stored in its parameters during training. Some products add a search or retrieval step that fetches documents and puts them in the prompt, and that is a separate feature you can usually see or switch on. Without it, the model has no live access to the web.
- Does AI copy answers from websites?
- It does not keep a database of pages to copy from. Training adjusts numeric parameters so the model predicts likely text. It can still reproduce wording that appeared often in its training data, and a retrieval feature can quote pages it fetched, so check the citations when a product shows them.
- Is my private chat used to train the AI?
- It depends on the provider and plan. Anthropic's page for commercial products says it does not use inputs or outputs by default, with an opt-in exception. Consumer plans and other providers have their own policies, so read the privacy settings of the product you actually use.
- Can a website keep AI crawlers out?
- A site can ask crawlers to stay away with a robots.txt file. Common Crawl documents that adding 'User-agent: CCBot' and 'Disallow: /' stops its crawler. Robots.txt is a request that well-behaved crawlers honor, not an enforcement mechanism, and it does not remove data already collected.
Sources
- Brown et al., Language Models are Few-Shot Learners (GPT-3 paper, arXiv:2005.14165)
- Common Crawl: Overview
- Common Crawl: CCBot
- Google Machine Learning Crash Course: Transformers (large language models)
- Lewis et al., Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (arXiv:2005.11401)
- Anthropic Privacy Center: How we use data from commercial products