Home / Blog / How does AI choose its sources for answers?
How does AI choose its sources for answers?
On what basis do ChatGPT or Gemini include a source? We cover access, extractable structure, and entity signals — with practical examples.
When a generative search engine gives an answer, there’s a process running in the background: the system decides which content it considers relevant and trustworthy. In this article, I’ll walk you through what influences this – and what you can do about it.
1. Access: robots.txt and llms.txt
Before anything else, the AI bot needs to be able to access your website. Two files control this:
- robots.txt tells bots what they can index. The AI bot ecosystem in 2026 is broader than it was a few years ago: it’s worth knowing user-agents like GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, and Google-Extended.
- llms.txt is a proposed ‘entry map’ for AI systems: it tells bots which of your content is most important. (See the details of the proposal at llmstxt.org.)
If you block OAI-SearchBot, you exclude yourself from ChatGPT’s web search feature – so always make allow/deny decisions consciously.
2. Structured data: the language of machines
AI doesn’t primarily read the visible text – it processes structured data. schema.org JSON-LD schemas clarify for bots:
- Organization / LocalBusiness – who the business is, where it is, what it does.
- Service – what services you offer.
- FAQPage – question and answer pairs AI can quote directly.
- Person – who the author or expert is.
- BreadcrumbList – how your site’s hierarchy is built.
Without schema, the system ‘tries to guess’ your content’s meaning – with schema, it understands it unambiguously.
3. Entity building: who are you in the knowledge graph?
AI systems think in terms of entities. An entity is strong if it:
- is presented consistently across every page (same name, address, phone number),
- is linked to its official profiles (
sameAsreferences to your social and professional profiles), - is linked to a real expert (Person).
This is the backbone of the GEO strategy: rather than stuffing keywords, you build a clear, well-connected entity.
4. Citability and credibility
Finally, the way your content is structured is key. AI prefers to quote content that:
- is organised into short, factual statements,
- is backed up by clear sources,
- is fresh (dated and regularly maintained),
- can be linked to a real author.
The good news: these are all measurable, and you can improve them. A free audit will show you exactly where you stand for each point.
In summary
The four pillars of source selection: access, structured data, entity, citability. If you keep all four in shape, you dramatically increase your chances of being cited by AI systems. If you want expert help to build this, check out our packages. For a practical, step-by-step guide: How does ChatGPT recommend your business?
Whether in practice AI actually cites you is measured with weekly prompt monitoring — using mention and citation ratios, by question.
Sources
- llms.txt proposal: llmstxt.org
- Schema.org structured data: schema.org
- Google – structured data: developers.google.com/search
We’ve dedicated a separate article to entity pages – what entities are, NAP consistency, and the role of the knowledge graph: Entity building for companies.
Curious how your own site performs in AI search engines?
Free AI Visibility Audit →