#AI tasks much more inaccurate than using same model and prompt directly through Gemini

1 messages · Page 1 of 1 (latest)

grizzled lake
#

I'm using an AI Task to look up local sports game information. the AI task continuously reports the wrong information, while copy pasting the same prompt into Gemini directly (both are using the 2.5 flash model) gives me the correct information. What the heck am I doing wrong?

digital bramble
# grizzled lake I'm using an AI Task to look up local sports game information. the AI task conti...

I've never actually used Gemini with home assistant, but I have used the API directly. Not sure if Home Assistant supports this, but you likely need to enable Google Search Grounding.

https://ai.google.dev/gemini-api/docs/google-search

Google AI for Developers

Ground your model's responses in real-time information from Google Search to improve factual accuracy and provide citations.