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