Use this structure to create your visual architecture diagram in tools like Draw.io, Lucidchart, or Figma:
┌─────────────────┐
│ Browser │
│ (User/Client) │
│ │
│ 🌐 Web Interface│
└─────────────────┘
┌─────────────────┐
│ Nginx │
│ Reverse Proxy │
│ │
│ 🔒 SSL/HTTPS │
│ ⚖️ Load Balance │
└─────────────────┘
┌─────────────────┐
│ FastAPI │
│ Backend API │
│ │
│ 📡 REST APIs │
│ 🔄 CORS │
│ 📝 Validation │
└─────────────────┘
┌─────────────────┐
│ Agent Module │
│ RAG Pipeline │
│ │
│ 🤖 LlamaIndex │
│ 🧠 Processing │
└─────────────────┘
┌─────────────────┐
│ HuggingFace │
│ Embeddings │
│ │
│ 🔤 Transformers│
└─────────────────┘
┌─────────────────┐
│ ChromaDB │
│ Vector Database │
│ │
│ 🗄️ Vector Store│
└─────────────────┘
┌─────────────────┐
│ AWS Bedrock │
│ Claude LLM │
│ │
│ ☁️ Cloud AI │
└─────────────────┘
┌─────────────────┐
│ Google Sheets │
│ Chat Logs │
│ │
│ 📊 Analytics │
└─────────────────┘
┌─────────────────┐
│ Redis │
│ Session Cache │
│ │
│ ⚡ Fast Access │
└─────────────────┘
┌─────────────────┐
│ Local Storage │
│ Index & Logs │
│ │
│ 💾 Persistence │
└─────────────────┘
- User Interface: Light Blue (#E3F2FD)
- Infrastructure: Orange (#FFF3E0)
- API Layer: Green (#E8F5E8)
- AI Processing: Purple (#F3E5F5)
- AI Services: Dark Blue (#E1F5FE)
- Data Storage: Yellow (#FFFDE7)
- Main Flow: Browser → Nginx → FastAPI → Agent → AI Services
- Data Flow: AI Services → Data Storage
- Response Flow: Reverse of main flow
- 🌐 Browser/Web
- 🔒 Security/SSL
- ⚖️ Load Balancing
- 📡 API/REST
- 🔄 CORS/Middleware
- 📝 Validation
- 🤖 AI/Bot
- 🧠 Processing
- 🔤 Text/Embeddings
- 🗄️ Database
- ☁️ Cloud Services
- 📊 Analytics
- ⚡ Cache/Fast
- 💾 Storage
- "HTTPS Request"
- "Proxy Forward"
- "API Call"
- "RAG Processing"
- "Embedding Generation"
- "Vector Search"
- "LLM Query"
- "Context Retrieval"
- "Response Generation"
- "Log Data"
- "Cache Session"
- Draw.io (Free): Best for technical diagrams
- Lucidchart: Professional with templates
- Figma: Modern design tool
- Canva: Easy templates
- Microsoft Visio: Enterprise standard
- Format: PNG or SVG for web
- Resolution: 300 DPI for print
- Size: 1920x1080 for presentations
- Background: White or transparent