Guide 02 — Architecture

The architecture.

Six components between a question and a grounded answer. Open any step to see why it exists, what it costs, and how it is configured here.

6 componentsClick to inspect

01 — Components

Open a step to inspect it.

02 — Data flow

Two lanes, one index.

Documents are indexed once per session; every question then runs the query lane against that index.

Ingest · once per document

  1. DocumentsPDF, TXT
  2. Chunking1000 chars
  3. Embeddings1536-dim
  4. FAISSVector store

Query · every question

  1. QueryUser input
  2. RetrieveTop-K
  3. GenerateGPT-4o-mini
Next

Watch the pipeline run.

Upload a document in the demo and every retrieved chunk, score and source is shown alongside the answer.