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.
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
- DocumentsPDF, TXT
- Chunking1000 chars
- Embeddings1536-dim
- FAISSVector store
Query · every question
- QueryUser input
- RetrieveTop-K
- 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.