Skip to content

How it works

graph TD
  Q[User query] --> R[Query understanding]
  R --> S[Multi-query expansion]
  S --> T[Retrieval from Google index]
  T --> U[LLM synthesis with grounding]
  U --> V[Citation attribution]
  V --> W[SGE answer rendered]
  W --> X[User reads or clicks]

The pipeline has five stages:

  1. Query understanding. The model parses the query, expands it into sub-queries, and decides whether a generative answer is warranted.
  2. Retrieval. Google retrieves candidate passages from its index using both lexical (BM25-like) and semantic (embedding) signals.
  3. Synthesis. The LLM composes a summary constrained to the retrieved passages. Hallucination is reduced by grounding — the model must cite.
  4. Attribution. Each claim is linked to one or more source URLs, rendered as inline chips.
  5. Rendering. The answer appears at the top of the SERP; classic results appear below.