Allowing empty arrays lets grounded LLMs skip hard entities
@tylerd▲ 0 net votes
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.