Home Guide (EN) Guide (JA) GitHub

Architecture Overview

Detailed design view for upload, processing, retrieval, ACL enforcement, and answer generation.

1. Design Goals

2. Component Diagram

Frontend FastAPI API Search + ACL Chat + Grounded Answer Document Processor Kafka PostgreSQL Redis MinIO Elasticsearch OpenAI APIs

3. Data Responsibilities

StoreMain role
MinIORaw files, chunk temp data, snapshot/image artifacts
PostgreSQLStatus, metadata, structured blocks, usage/eval records
ElasticsearchHybrid retrieval index (text + dense vectors)
RedisChunk bitmap/progress, session/cache support
KafkaAsync parsing tasks and decoupled processing

4. Key Paths

Upload Path
chunk upload -> merge -> task publish
Parse Path
parse/chunk/structure -> embeddings -> index
Query Path
intent/query understanding -> hybrid retrieval
Answer Path
ACL-filtered evidence -> grounded LLM response

5. Reliability and Governance