← All architecture templates
03KnowledgeRunnable now

Basic RAG knowledge assistant

A support assistant retrieves company knowledge before generating a grounded answer.

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

    Normalize the customer question

  2. 02

    Retrieve the most relevant knowledge records

  3. 03

    Build a grounded prompt with source identifiers

  4. 04

    Generate, grade, and preserve the evidence

Components

System inventory

  • Document store
  • Retriever
  • Prompt builder
  • Model adapter
  • Grader

Test packs

Required coverage

  • Grounding
  • Stale conflicts
  • Missing context
  • Precision
  • Injection

Evidence

Capture contract

  • Query
  • Retrieved IDs
  • Source versions
  • Response
  • Grade