Skip to content

How AI chooses its sources for a legal answer

By The Pickedby team, AI visibility for law firms · Updated November 24, 2026

Short answer

AI answer engines choose sources in a fixed three-step order, retrieve, select, then cite, so optimization only works when it is aimed at the exact step your firm is losing.

An AI answer engine does not read the whole web when it answers a legal question. It works from a short candidate set, selects from it, and cites a few pages, and a law firm can be strong at one step and invisible at the next. Knowing which step you are losing is what makes the fix cheap instead of guesswork. Shaping pages for these steps is what generative engine optimization means, and the wider method for a firm is set out in GEO for law firms.

Where does source selection sit in the four-stage pipeline?

Source selection covers stages two, three and four of the crawl, retrieve, select, cite pipeline. Crawl access decides whether the engine holds your pages at all, and that stage runs before anything on this page applies. The three steps below assume the engine can already read your site, which is covered in AI crawler access.

For Google AI Overviews the entry bar is ordinary Search. In its guide to AI features and your website, Google says a page has to be indexed and eligible to show a snippet, and that no special file or markup is needed. Clearing that bar makes a page eligible; it does not mean the page will be shown.

The order matters more than any single step. Each step feeds the next, so a firm losing retrieval cannot be helped by better writing, and a firm losing the citation step gains nothing from more pages.

How does an engine retrieve candidate pages before it writes anything?

Retrieval pulls a small set of candidate pages that match the specific question, before the model writes a single word. The engine turns “who pays my medical bills after a rear-end collision in Phoenix” into a search, gathers a handful of pages, and only those pages can be cited. A firm whose site the engine has read still has to earn a place in that set.

That place is not the same thing as a Google ranking. In Pickedby research on Google AI Overviews, 59% of the pages the AI quoted were not on page one of Google’s results for that same search. The study covered one engine, one country (the US), one practice group (personal injury) and one month (June 2026), so it says nothing about the other three engines. On that engine, a page-one position was not required to be quoted.

Retrieval works on the question, not on the keyword. A page written for the phrase “personal injury attorney” frequently never gets retrieved for “who pays my medical bills after a rear-end collision”, because the two match different text. Pages fail retrieval for three reasons:

  • Thin pages. The page carries fewer facts than the question needs, so nothing in it matches the specific claim the engine is assembling.
  • Off-topic pages. The page covers the practice area in general and never states the jurisdiction, the deadline or the figure the question asked for.
  • Keyword pages. The page targets a search phrase rather than a question, so its sentences answer nothing directly.

Repeating the phrase does not rescue a keyword page. The research paper GEO: Generative Engine Optimization, by researchers at Princeton University and IIT Delhi among others, found that adding keywords gave little or no improvement in visibility in generative answers. Its tests used a general benchmark, not law-firm pages.

Do all AI engines retrieve sources the same way?

No. The four AI assistants Pickedby tracks, Google AI Overview, ChatGPT, Gemini and Perplexity, differ in how visibly they cite and in which crawler they send. Two differences are checkable from your own server:

  1. The crawler user-agent differs per engine. OAI-SearchBot fetches for ChatGPT search, PerplexityBot for Perplexity and Googlebot for Google Search, AI Overviews included, while Google-Extended is a separate control over Google’s use of pages for Gemini. A robots.txt line that names one of them leaves the others untouched, so a firm blocks itself from one engine at a time without noticing.
  2. Citation visibility differs per engine. Some engines attach a source list to nearly every answer, and others name firms in the text and link far less often. The same page earns a citation on one engine and a bare mention on another in the same week.

That second difference is why a single blended visibility score hides the problem. Being cited on one engine and absent on three is a different job from being mentioned on all four.

How does an engine select which retrieved pages to use?

No vendor documents how selection orders the retrieved pages, so treat this as what to check rather than how the engine works: does your page state the answer in its first sentence, in the right jurisdiction, or does it bury the same fact further down? A focused practice-area page gives a direct answer to that check more often than a firm’s generic services page does.

Selection is where legal directories can take the result. A directory profile on Avvo, Justia, FindLaw or Martindale-Hubbell answers “who practises truck accident law in Reno” in a structured, quotable form, and a firm’s own page often answers it in three paragraphs of narrative. Keep the scale in view. In the same Pickedby research, Justia and Super Lawyers were among the most-quoted sites, alongside YouTube, Reddit and state .gov sites, yet 2,189 different websites were quoted and the large legal directories were 4% of the sources. Directories win some questions, not most. What makes a page selectable is covered in what makes a page citable.

What turns a selected page into a cited one?

A selected page becomes a citation when the engine links it as the source for a claim in the answer. Being retrieved and selected puts your page in the running, and the engine still chooses which sources to credit. It favors the page that most plainly supports the sentence it just wrote.

The unit being credited is small. In Pickedby research on Google AI Overviews, the typical quoted passage was 22 words, roughly one sentence. On a car-accident page, the sentence that matters is the one naming the state, the claim type and the answer to the client’s exact question, not the paragraph about the firm’s history.

This is the step where a firm gets named without a link, which is a mention rather than a citation. The two are produced by different mechanisms and earned in different ways, covered in a mention versus a citation.

How can a firm win retrieval but still lose the citation?

A firm loses the citation after winning retrieval when its page is present but not the clearest support for the claim. The engine retrieved the page, selected it into the working set, then credited a directory or a rival whose page answered the exact sentence more directly. Winning all three steps means being both retrievable and the easiest source to quote.

The gap between the two shows up as a specific pattern in tracked answers: your firm appears in the text of an answer, and the links underneath it point somewhere else. A firm reading only its mention count records that week as a win.

How do you find which step your firm is losing?

Diagnose the step by reading collected answers in a fixed order, starting at the cheapest check.

  1. Check crawl access first. Read your robots.txt the way each AI crawler would. A blocked crawler ends the question before any other step applies, and the free AI-crawler check answers it in one step.
  2. Check your server logs for AI crawler activity. Confirm the named user-agents appear and which paths they fetch. A crawler that is allowed but never visits a page tells you the page is unreachable in practice.
  3. Read the answers for the questions you care about. Collect the actual response for each tracked question rather than a score derived from it. Write the question the way a client would, with a place in it, such as “who pays my medical bills after a rear-end crash in Henderson”, rather than “Henderson personal injury attorney”. In Pickedby research, 70% of question-style searches got a Google AI Overview, against 14% for searches like “car accident lawyer”, so the keyword version often returns no AI answer to read.
  4. Sort each answer into cited, mentioned or absent. Absent points at retrieval or crawl access. Mentioned but not linked points at the citation step. Cited points at a page that is working. Note which source took the credit, whether a directory, a rival firm or a state .gov page, because that is the page yours has to beat.
  5. Fix the earliest failing step, then re-collect. Work in pipeline order, because effort spent on a later step returns nothing while an earlier one is failing.

Which step does each fix belong to?

Match the fix to the step, because the same work has no effect one step away.

  • Crawl fixes change robots.txt and server behaviour. Covered in how to allow AI crawlers.
  • Retrieval fixes create or reshape a page so it matches the question a client asks. Covered in structuring practice area pages.
  • Selection fixes rewrite the page so the answer arrives in the first sentences and carries the jurisdiction and the specifics.
  • Citation fixes make one passage the plainest available support for a claim, so the engine has a reason to link it rather than paraphrase it. The GEO paper found that citing sources, adding quotations and adding statistics gave the largest gains in its tests. On a law-firm page that means naming the statute or court rule a sentence relies on and stating the deadline that applies in your state rather than a general one.

Reading the steps for your own firm

You tell which step you are losing by reading the collected answers, not by guessing. Pickedby sorts every tracked answer into cited, mentioned or absent across all four AI assistants it tracks and keeps the three states apart, so the step you are losing is the one the data points to. The $49 14-day trial shows the current state for your own questions.

Stated limit: We report what the engines return and which crawlers reach your site. We do not publish claims about how any engine ranks internally, because no vendor documents it and inferring it from a sample of answers is guesswork. The Pickedby figures on this page come from one engine, Google AI Overviews, in one country, one practice group and one month.

Keep reading

Be the firm AI skips picks.

Every day, AI names only a few lawyers near you. Find out if you’re one of them, and what to change if you’re not.

14-day trial, $49$24.50 during Black Friday, credited to your first invoice if you subscribe before it ends. It never turns into a plan on its own.

Or get a free AI visibility report for your firm