Cheap RAG in Go with Gemini File Search: no vector DB, two calls, one hosted store
7.6 relevance
Score Breakdown
technical depth 8
novelty 7
actionability 9
community 5
strategic 6
personal 9
Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.
Practical RAG tutorial in Go without vector DB, directly relevant to AI/ML workflows.
Summary
A developer built a minimal RAG system in Go using Gemini File Search, eliminating vector databases by having Google handle chunking, embedding, and indexing with free storage and query-time embedding. The architecture uses two model calls, a SQLite backend via modernc.org/sqlite, and a REST client for Gemini; PDF-to-markdown conversion is handled by pymupdf4llm. The entire retrieval side runs on Gemini's free tier, with the store tied to the API key rather than a user account.