← The Forge
Theory Lesson · Fundamentals

RAG & Vector Search, Actually

Not a lab — a read. What an embedding actually is, why documents get chopped into pieces before anything happens to them, and a real production system in this exact portfolio that solves the identical problem without touching a vector at all.
Done

Vector search is one way to solve "find the relevant part." Not the only way.

Everything in this lesson chains from one fact: a model's context window is finite and its training data is frozen, so anything specific and current has to be handed to it fresh, every call, and only the relevant slice of it. Vector search is the industry-default mechanism for finding that slice. Aperture proves the mechanism is swappable — an LLM-as-router and a structured graph do the identical job with zero vectors involved. Know both, and you'll recognize "RAG" as a shape, not a specific stack, the next time someone hands you a requirement instead of an implementation.
Aperture grounding: MEMORY_ENGINE.md, Saga's real, currently-running memory system.
1 / 1