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
|
## Architecture
|
||||||
|
|
||||||
```
|
```
|
||||||
┌──────────────────────────┐
|
+-----------------------------------------------------------+
|
||||||
│ User Browser │
|
| Docker Compose |
|
||||||
└────────────┬─────────────┘
|
| |
|
||||||
│ :8080
|
| +------------------+ +-----------------------------+ |
|
||||||
┌────────────▼─────────────┐
|
| | | | | |
|
||||||
│ Nginx (React SPA) │
|
| | Nginx |--->| FastAPI Backend | |
|
||||||
│ Static files + API proxy │
|
| | (React SPA) | | (Python 3.12) | |
|
||||||
└────────────┬─────────────┘
|
| | :8080 | | 8 workers x 10 threads | |
|
||||||
│ :8000
|
| | | | | |
|
||||||
┌─────────────────────────────────────▼──────────────────────────────────┐
|
| +------------------+ | Agents: | |
|
||||||
│ FastAPI Backend (Python 3.12) │
|
| | - Chat (RAG + MCP Tools) | |
|
||||||
│ 8 uvicorn workers × 10 threads │
|
| | - Terraform (Plan/Apply) | |
|
||||||
│ │
|
| | - CIS Scanner (12 tools) | |
|
||||||
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌───────────────────────┐ │
|
| | - Embedding Pipeline | |
|
||||||
│ │ Chat │ │ Terraform│ │ CIS │ │ Embedding Pipeline │ │
|
| | | |
|
||||||
│ │ Agent │ │ Agent │ │ Scanner │ │ (chunk + embed + │ │
|
| | Services: | |
|
||||||
│ │ (RAG + │ │ (IaC │ │ (MCP │ │ purge + progress) │ │
|
| | - OCI SDK --> OCI APIs | |
|
||||||
│ │ MCP │ │ Plan/ │ │ 12 │ │ │ │
|
| | - GenAI --> LLM (16 models)| |
|
||||||
│ │ Tools) │ │ Apply) │ │ tools) │ │ Auto-map CSV→Table │ │
|
| | - oracledb --> ADB Vector | |
|
||||||
│ └────┬─────┘ └────┬─────┘ └────┬─────┘ └───────────┬───────────┘ │
|
| | - Chromium --> PDF gen | |
|
||||||
│ │ │ │ │ │
|
| | - Terraform CLI 1.14.7 | |
|
||||||
│ ┌────▼──────────────▼──────────────▼─────────────────────▼───────────┐ │
|
| | - SQLite (agent.db) | |
|
||||||
│ │ Shared Services │ │
|
| | | |
|
||||||
│ │ OCI SDK → OCI APIs │ GenAI → LLM (16 models) │ │
|
| +-----------------------------+ |
|
||||||
│ │ oracledb → ADB Vector │ Chromium → PDF generation │ │
|
| | |
|
||||||
│ │ SQLite (agent.db) │ Terraform CLI 1.14.7 │ │
|
| +----------v----------+ |
|
||||||
│ └────────────────────────────────────────────────────────────────────┘ │
|
| | agent-data volume | |
|
||||||
└────────────────────────────────┬───────────────────────────────────────┘
|
| | /data (SQLite, | |
|
||||||
│
|
| | reports, configs, | |
|
||||||
┌────────────▼────────────┐
|
| | terraform, wallets)| |
|
||||||
│ agent-data volume │
|
| +---------------------+ |
|
||||||
│ /data (SQLite, reports, │
|
+-----------------------------------------------------------+
|
||||||
│ terraform workspaces, │
|
|
|
||||||
│ OCI configs, wallets) │
|
+----------v-----------+
|
||||||
└─────────────────────────┘
|
| Oracle ADB |
|
||||||
|
| (external) |
|
||||||
┌─────────────────────────┐
|
| 11 vector tables |
|
||||||
│ Oracle ADB (external) │
|
| RAG + embeddings |
|
||||||
│ 11 vector tables │
|
+----------------------+
|
||||||
│ (RAG + embeddings) │
|
|
||||||
└─────────────────────────┘
|
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user