← All architecture templates
04KnowledgeBlueprint

Advanced RAG with reranking

Hybrid retrieval, metadata filters, reranking, and citations improve precision over a larger corpus.

Runtime flow

What happens, in order.

The flow becomes the backbone of the audit trace. Every important boundary needs an input, an output, timing, and an owner.

  1. 01

    Rewrite and classify the query

  2. 02

    Run lexical and semantic retrieval

  3. 03

    Filter and rerank candidate evidence

  4. 04

    Generate an answer with verifiable citations

Components

System inventory

  • Vector index
  • Keyword search
  • Metadata filters
  • Reranker
  • Citation renderer

Test packs

Required coverage

  • Retrieval recall
  • Ranking
  • Citation fidelity
  • Freshness

Evidence

Capture contract

  • Rewritten query
  • Candidate set
  • Rank scores
  • Citation spans