In the previous article, we built a working RAG pipeline. Now let's step back and ask why we made each design decision — and what alternatives exist when your requirements change.

The Full Picture

Here's what we built:

Ingest phase

Text → gemini-embedding-001 (RETRIEVAL_DOCUMENT, 768 dims)