docs: fix architecture diagram alignment (ASCII-safe box drawing)
This commit is contained in:
80
README.md
80
README.md
@@ -246,47 +246,45 @@ The platform combines security compliance scanning, AI-powered chat with **RAG (
|
||||
## Architecture
|
||||
|
||||
```
|
||||
┌──────────────────────────┐
|
||||
│ User Browser │
|
||||
└────────────┬─────────────┘
|
||||
│ :8080
|
||||
┌────────────▼─────────────┐
|
||||
│ Nginx (React SPA) │
|
||||
│ Static files + API proxy │
|
||||
└────────────┬─────────────┘
|
||||
│ :8000
|
||||
┌─────────────────────────────────────▼──────────────────────────────────┐
|
||||
│ FastAPI Backend (Python 3.12) │
|
||||
│ 8 uvicorn workers × 10 threads │
|
||||
│ │
|
||||
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌───────────────────────┐ │
|
||||
│ │ Chat │ │ Terraform│ │ CIS │ │ Embedding Pipeline │ │
|
||||
│ │ Agent │ │ Agent │ │ Scanner │ │ (chunk + embed + │ │
|
||||
│ │ (RAG + │ │ (IaC │ │ (MCP │ │ purge + progress) │ │
|
||||
│ │ MCP │ │ Plan/ │ │ 12 │ │ │ │
|
||||
│ │ Tools) │ │ Apply) │ │ tools) │ │ Auto-map CSV→Table │ │
|
||||
│ └────┬─────┘ └────┬─────┘ └────┬─────┘ └───────────┬───────────┘ │
|
||||
│ │ │ │ │ │
|
||||
│ ┌────▼──────────────▼──────────────▼─────────────────────▼───────────┐ │
|
||||
│ │ Shared Services │ │
|
||||
│ │ OCI SDK → OCI APIs │ GenAI → LLM (16 models) │ │
|
||||
│ │ oracledb → ADB Vector │ Chromium → PDF generation │ │
|
||||
│ │ SQLite (agent.db) │ Terraform CLI 1.14.7 │ │
|
||||
│ └────────────────────────────────────────────────────────────────────┘ │
|
||||
└────────────────────────────────┬───────────────────────────────────────┘
|
||||
│
|
||||
┌────────────▼────────────┐
|
||||
│ agent-data volume │
|
||||
│ /data (SQLite, reports, │
|
||||
│ terraform workspaces, │
|
||||
│ OCI configs, wallets) │
|
||||
└─────────────────────────┘
|
||||
|
||||
┌─────────────────────────┐
|
||||
│ Oracle ADB (external) │
|
||||
│ 11 vector tables │
|
||||
│ (RAG + embeddings) │
|
||||
└─────────────────────────┘
|
||||
+-----------------------------------------------------------+
|
||||
| Docker Compose |
|
||||
| |
|
||||
| +------------------+ +-----------------------------+ |
|
||||
| | | | | |
|
||||
| | Nginx |--->| FastAPI Backend | |
|
||||
| | (React SPA) | | (Python 3.12) | |
|
||||
| | :8080 | | 8 workers x 10 threads | |
|
||||
| | | | | |
|
||||
| +------------------+ | Agents: | |
|
||||
| | - Chat (RAG + MCP Tools) | |
|
||||
| | - Terraform (Plan/Apply) | |
|
||||
| | - CIS Scanner (12 tools) | |
|
||||
| | - Embedding Pipeline | |
|
||||
| | | |
|
||||
| | Services: | |
|
||||
| | - OCI SDK --> OCI APIs | |
|
||||
| | - GenAI --> LLM (16 models)| |
|
||||
| | - oracledb --> ADB Vector | |
|
||||
| | - Chromium --> PDF gen | |
|
||||
| | - Terraform CLI 1.14.7 | |
|
||||
| | - SQLite (agent.db) | |
|
||||
| | | |
|
||||
| +-----------------------------+ |
|
||||
| | |
|
||||
| +----------v----------+ |
|
||||
| | agent-data volume | |
|
||||
| | /data (SQLite, | |
|
||||
| | reports, configs, | |
|
||||
| | terraform, wallets)| |
|
||||
| +---------------------+ |
|
||||
+-----------------------------------------------------------+
|
||||
|
|
||||
+----------v-----------+
|
||||
| Oracle ADB |
|
||||
| (external) |
|
||||
| 11 vector tables |
|
||||
| RAG + embeddings |
|
||||
+----------------------+
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user