A retrieval pipeline, end to end

Lesson 16 of 26 · Designing the AI parts · 2 min Get the course to watch

A model knows nothing about your company's documents, and it cannot be trusted to remember them. Retrieval augmented generation fixes that by finding the relevant passages at question time and handing them to the model along with the question.

It is two pipelines, not one: one that prepares the knowledge ahead of time, and one that answers with it when a person asks. They fail in different ways, so keep them separate.

The rest of this lesson

  • The ingest path
  • The query path
  • The judgement calls
  • Where it goes wrong
  • The idea to keep

The full lesson is animated and narrated, with a short quiz, and you can pause it to ask a question. It comes with System design for senior engineers, AI systems included.