Short answer: AI assistants answer in one of two ways. They either generate a response from patterns learned during training, which stops at a knowledge cutoff, or they run a live web search, read the results and write an answer grounded in those pages, usually with citations. Most modern assistants decide for themselves which route a question needs.
What actually happens when you ask an AI assistant a question?
When you type a question, the assistant first decides whether it can answer from what it already knows or whether it needs outside information. A request for a sonnet or a Python function rarely needs the web. A question about a company's current CEO or last week's news usually does.
If no search is needed, the model writes its answer token by token, predicting each next word based on patterns it absorbed in training. If a search is needed, the assistant writes one or more search queries, receives results, reads them and then composes a response that leans on what it found. The second path is a form of retrieval-augmented generation, and it is now the normal path for questions about real people and brands.
How do AI models use their training data?
Training data gives a model its general knowledge, but not a searchable database of facts. During training, the model learns statistical relationships between words and ideas across a huge collection of text. It does not store a tidy record for each person or company. It stores tendencies.
That has two consequences worth knowing:
- Well-documented subjects come out well. If a brand has been written about consistently across many sources, the model has strong patterns to draw on.
- Thinly documented subjects come out fuzzy. If a person appears in only a handful of pages, the model may blend them with someone else or fill gaps with plausible guesses. We cover that failure in detail in why AI gets facts wrong about people.
Training data also has an end date. Everything after the knowledge cutoff is invisible to the model unless it searches.
When do AI assistants search the web instead?
Assistants search when a question depends on information that is current, changing or outside their training data. Anthropic is unusually explicit about this. Its web search tool documentation says Claude searches for recent events, current prices and statistics, and "information about specific organizations, people, or products that might have changed," while answering directly for established facts, math, creative writing and greetings.
Google describes a similar decision for Gemini. Its Grounding with Google Search guide says the model analyzes the prompt and "determines if a Google Search can improve the answer," then generates queries, processes the results and returns a grounded response.
Notice what sits in the middle of Anthropic's list: specific people and organizations. Questions about a name are exactly the kind most likely to trigger a search, which means the pages that rank for that name matter a great deal.
How do ChatGPT, Claude, Gemini and Grok compare?
All four major assistants can combine trained knowledge with live retrieval, but they differ in the search systems behind them and in what their public documentation says. The table summarizes what each provider's own developer documentation describes.
| Assistant | Live retrieval described in official docs | Citations returned |
|---|---|---|
| Claude (Anthropic) | Web search tool; Claude decides when to search and can search several times in one request | Yes, always enabled for web search |
| Gemini (Google) | Grounding with Google Search; model decides whether a search would help | Yes, text segments linked to source URLs |
| Grok (xAI) | Web search tool that can search and browse pages in real time | Yes, returned with results |
| OpenAI (API models) | Hosted web search tool; on the default setting the model decides whether to search | Yes, inline URL citations by default |
OpenAI's web search tool guide says that by default the model's response "will include inline citations for URLs found in the web search results," and that a separate sources list can show every URL the model consulted. xAI's web search guide says the tool lets Grok "search the web in real-time and browse web pages," and that results come back with citations. Answer engines built around search go further: Perplexity's help center says it searches the internet in real time and that each answer includes numbered citations.
Because each assistant uses a different search index, ranking approach and model, the same question can produce different answers. That is a big enough topic for its own piece on why AI models give different answers.
How does an assistant turn search results into an answer?
An assistant turns search results into an answer by reading the retrieved pages, choosing which passages are relevant and writing a summary that attributes claims to sources. The process usually runs in a loop:
- The model reads the question and decides a search would help.
- It writes one or more queries, sometimes rephrasing the question in several ways.
- The search system returns pages, often with snippets or extracted text.
- The model may search again if the first results are thin or contradictory.
- It writes the final answer and attaches citations to specific claims.
Anthropic's documentation notes that the search step "can repeat multiple times throughout a single request," and that a single-fact question typically uses one to three searches while comparative research can use ten or more. The pages that survive this loop are the ones the answer is built on, which is why the kinds of sources AI cites most deserve attention.
Why does this matter for your name or brand?
It matters because an AI answer about you is only as good as the material the assistant can reach in that moment. If the model answers from training data alone, it may repeat outdated or blended information. If it searches, it will summarize whatever ranks well for your name, whether that is your own site, a news story, a review page or a stranger who shares your name.
In practice, three questions decide the quality of the answer:
- Is there enough consistent information about you for the model to have learned accurate patterns?
- Do accurate, current pages rank for your name so a search finds them?
- Is it clear which entity you are, so the assistant does not merge you with someone else? Our guide to identity confusion explains how that happens.
Search engines and AI assistants also behave differently even when they use similar indexes. A classic results page shows you ten links and lets you judge. An assistant reads for you and hands back one confident summary. Our comparison of AI answers versus Google results walks through what changes for reputation.
How can you see what AI assistants say about you?
The quickest way is to ask the same question across several assistants and compare what comes back, paying attention to which sources each one cites. Doing that by hand is slow and hard to repeat, which is why we built a structured check. JudgedbyAI asks ChatGPT, Claude, Gemini and Grok about a name, grounds the check in live search results, and scores the answers for accuracy, sentiment, identity confusion and source influence in about 90 seconds. You can run a free audit to see where you stand.