Mapping Grounding Supports to URLs
The pipeline maps each groundingSupports segment to specific source URLs by reading its groundingChunkIndices to look up the corresponding web URIs in groundingChunks, which are then passed through resolve_vertex_url to obtain the final destinations.
flowchart LR
A[Gemini Response] --> B[groundingSupports]
A --> C[groundingChunks]
B -->|groundingChunkIndices| C
C -->|web.uri redirect| D[resolve_vertex_url]
D --> E[Resolved Source URL]Referenced by
- Grounded Web Search Responses
- Role of url_context in Veracity
- Selected Citations Explained
- Cross-Provider Citation Mechanics
- Vertex Redirect Resolution
- Grounded Search Execution Phase
- Veracity Fidelity Score Calculation
- Tracking Claims in Veracity Engine
- Grounded Citations Overview
- Attributed Segment Extraction Pipeline
