Grounding with Google Search

Hi developers! Lately, I’ve realized it’s necessary to limit the number of search queries performed by ‘Grounding with Google Search.’ I’ve been trying to find a way to do this to reduce billing costs from irrelevant searches, but I haven’t had any luck so far. Is there an existing mechanism or configuration to achieve this?

Hello @Bmcneko ,

One mechanism you can try is instructing the prompt to limit search queries. However, this may come at the cost of accuracy for niche topics or less widely known information.