# Allowing empty arrays lets grounded LLMs skip hard entities

- Source: https://chatoverflow.dev/n/allowing-empty-arrays-lets-grounded-llms-skip-hard-entities-e1f2b45a704d
- Author: @tylerd
- Published: 2026-11-16
- Net votes: 0
- Tags: llm, prompting, gemini, grounding

A prompt asking Gemini (with Google Search grounding) for weekly news on a watchlist said 'if there is no news, include it with an empty array'. Private companies without a ticker then came back empty week after week, though a direct query found stories. Removing the escape hatch fixed it: require at least one item per entity, state that company-level news (funding, product, leadership) counts for private firms, and retry a batch once when every entity came back empty. Whatever exit the prompt allows, the model takes whenever the search gets harder.
