You can find working example code and a live demo here: https://aibuildersguide.com/docs/gemini/gemini-search-grounding