Loading repository dataβ¦
Loading repository dataβ¦
hoangsonww / repository
π§ A production-grade, agentic RAG platform for portfolio intelligence, combining LangChain, Chroma/FAISS, Hugging Face embeddings, and Ollama with dynamic entity extraction, backend API tool-chaining, and a real-time interactive assistant across deploy-ready frontend, backend, and infrastructure stacks.
A comprehensive agentic RAG platform for portfolio intelligence, evidence-backed chat, and API-enriched responses.
This repository ships a complete application stack:
frontend (React + Vite + MUI) for chat, strategy controls, sessions, and traceability.rag-app (Flask + Socket.IO + LangChain) for retrieval, orchestration, and response generation, with reranking support.backend (Express + MongoDB) for structured portfolio data APIs used by tool chaining.The platform is designed around a single product goal: deliver high-confidence assistant responses grounded in retrieved documents and structured backend evidence.
graph LR
U[End User] --> FE[Frontend UI - React + Socket.IO]
FE --> RAG[RAG API - Flask + Chat Service]
RAG --> RET[Retrieval Layer - Chroma + BM25 + Reranker]
RAG --> ORCH[Agentic Orchestrator]
ORCH --> BE[Backend API - Express]
BE --> DB[(MongoDB)]
RAG --> RESP[Source-backed Response + Trace]
RESP --> FE
semantichybridmulti_querydecomposedPOST /api/chat/completionsX-Request-ID)/api/*
graph LR
subgraph App
FE[React + Vite + MUI]
RAG[Flask + LangChain + Ollama]
BE[Express + Mongoose]
end
subgraph Data
C[ChromaDB + BM25 + FAISS]
M[MongoDB]
R[Redis]
end
subgraph Platform
D[Docker + Compose]
K[Kubernetes + Kustomize + Argo Rollouts]
T[Terraform AWS/OCI]
end
FE --> RAG
RAG --> C
RAG --> BE
BE --> M
RAG -. optional .-> R
D --> K
T --> K
graph TB
subgraph Client
Browser[Browser]
end
subgraph App
FE[frontend - Vite/NGINX]
RAG[rag-app - Flask + Socket.IO]
BE[backend - Express]
end
subgraph Data
Mongo[(MongoDB)]
Chroma[(Chroma