In Ai.Dev or Google Ai Studio, I want it to refer to the latest documentation for the Google Cloud API, for code help. I’ve tried to prompt it to ground it’s code snippets with Google Grounding, I’ve provided the the links to the SDK, or the API documentation, I’ve tried using Collab with Gemini and it seems no matter what I try, I cannot get it to be convinced (for longer than 1 potentially halluncinated or injected reply) that it recognizes the 2.5 Pro model.
The prompt is simple, I have a list of 50 videos, that are about a minute long each, I have them stored on GCS buckets, using 2.5 Pro, iterate through each video, and provide a cataloged list of put in JSON format of the items.
Now it is a bit more complicated, but that is the general approach, and it will insist on using the “Stable 1.5 Pro” model.
What is the best practice to ensure that it’s using the latest API, or SDK examples, to provide the correct code I can use (in Colab) or locally?
In ohter words, how can I get Gemini to believe it’s Gemini and to beliive Gemin 2.5 Pro exists?