AI article
Cheap RAG in Go with Gemini File Search: no vector DB, two calls, one hosted store
Community description: Hello, I'm Maneshwar, and I'm building LiveReview — a blast-radius aware AI code review built for...
Dev.to | Sep 22, 2026 | Athreya aka Maneshwar
Automated excerpt
My entire shelf, every book and every post converted to markdown, is 5. 3 MB. The search call tries store 0 with key 0, and only on a quota or auth failure falls through to store 1 with key 1. keys/rotate. txt is the long list, for any call with no tool attached: the analysis call, the corpus-index summaries. Call 2 gets the analysis from call 1, the File Search tool pointed at the store, and the instruction to search with those queries and then draft.
Selected automatically from source text; not independently written or fact-checked. Read the original for full context.