Start here. This is the direct spoken answer to practice first.
Overview
A reliable RAG system starts with controlled ingestion, not with the generation prompt.
I read from an approved source, assign stable document and version identifiers, extract text and structure, split it into retrievable units, attach metadata, create embeddings, and upsert the resulting records idempotently. Each chunk keeps a link to its source and source version. Parsing or embedding failures go to a visible retry or review path instead of leaving a silently partial index.