Grounding segments are mapped by parsing the provider's grounding metadata to connect text citation offsets to specific grounding chunk indices, which are then resolved from intermediate Location header redirects to final URLs.
flowchart LR
A[Grounded Response Text] -->|Character Offsets| B[Grounding Supports]
B -->|Chunk Indices| C[Grounding Chunks / URIs]
C -->|Resolve Redirects| D[Final Canonical URLs]Referenced by