docs(presentation): add system ingestion voice and RAG pipeline diagrams

This commit is contained in:
amirhosein mazaheri
2026-10-14 15:07:27 +03:30
parent 2e8c179efc
commit e9797309f9
15 changed files with 674 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
flowchart LR
U[User / Admin] --> UI[Angular frontend]
UI -->|REST + session cookie + CSRF| API[FastAPI API]
UI <-->|WebSocket: PCM + JSON events| API
API --> AUTH[Authentication / role / organization]
API -->|Upload: independent document + job| DB[(PostgreSQL + pgvector)]
API --> FS[(Immutable originals / extraction artifacts)]
W[Separate ingestion worker] -->|Claim job + lease + heartbeat| DB
W -->|Read original / retain extraction| FS
W --> OCR[OpenRouter vision / Gemini Flash]
W --> EMB[Local Ollama / bge-m3]
W -->|Atomic chunks + vectors publication| DB
API --> RT[OpenAI Realtime adapter]
RT <-->|Provider WebSocket| OAI[OpenAI gpt-realtime-2.1 / Marin]
RT -->|Validated tools| SEARCH[Shared backend SearchService]
SEARCH --> EMB
SEARCH -->|Eligible document chunks| DB
API -->|Selection / revision invalidation| DB