Commit 23a3e5

2025-10-07 13:11:36 Vaishnavi Shinde: Updated the techstack
Projects/CommNet.md ..
@@ 11,7 11,7 @@
# Project Description
The **Client Communication Management Application** is a multi-tenant platform designed to help businesses manage customer interactions through AI-powered communication channels.
- It allows each client to onboard their projects, configure communication channels (Telegram, Email, etc.), integrate with preferred AI models (ChatGPT, Perplexity, etc.), and leverage a knowledge base for context-aware responses.
+ It allows each client to onboard their projects, configure communication channels (Telegram, Email, etc.), integrate with preferred AI models (ChatGPT, Gemini, etc.), and leverage a knowledge base for context-aware responses.
The application provides:
- A dedicated **client dashboard** for project setup, knowledge base upload, and communication channel configuration.
@@ 22,31 22,44 @@
The platform supports multiple AI connectors, enabling flexibility for businesses to choose the best model for their needs. Clients can seamlessly manage communication, while administrators maintain oversight and control over all conversations.
- The system is built on a Python backend (FastAPI/Django), PostgreSQL database, and integrates with external APIs for AI, messaging, email, and storage services.
+ The system is built on a Python backend (FastAPI), PostgreSQL database, and integrates with external APIs for AI, messaging, email, and storage services.
# System Architecture
## Frontend
+
+ - **UI:** ShadcnUI (TailwindCSS + RadixUI)
+
+ - **Build Tool:** Vite
+
+ - **Routing:** TanStack Router
+
+ - **Type Checking:** TypeScript
+
+ - **Linting/Formatting:** Eslint & Prettier
+
+ - **Icons:** Lucide Icons, Tabler Icons (Brand icons only)
+
- **Client dashboard**: onboarding, project setup, knowledge base upload, channel configuration
- **Customer-facing AI bot interface**: chat page embedded in client’s site, Telegram, email, etc.
- **Admin dashboard**: monitor conversations, override responses
- ## Backend (Python)
- - **Core app framework**: Django / FastAPI (**FastAPI recommended** for async, API-first approach)
- - **Authentication & Accounts**: Multi-tenant user management (each client = tenant)
+ ## Backend (Node.js/Python)
+ - **Core app framework**: NestJs
+ - **Authentication & Accounts**: BetterAuth
- **Project & Channel Management**: Store client configs (Telegram bot keys, email SMTP creds, AI model choice)
- **Message Orchestration**: Routes queries → preprocess → AI model → knowledge base → return response
- **Knowledge Base (MCP integration)**: Ingest docs, PDFs, Google Drive/OneDrive, index content, semantic search
- - **AI Connector Layer**: Wrappers for ChatGPT, Perplexity, and future LLMs
+ - **AI Connector Layer**: Wrappers for ChatGPT, Gemini, and future LLMs
- **Monitoring & Logging**: Store all conversations, admin can review & edit
## Database
- **PostgreSQL**: for structured data (users, projects, configs, logs)
- - **Vector DB**: Pinecone or open-source FAISS for knowledge base indexing
+ - **Vector DB**: pgvector
## AI / NLP
- - **Connector**: OpenAI API (ChatGPT), Perplexity API, and pluggable LLMs
+ - **Connector**: OpenAI API (Gemini), Perplexity API, and pluggable LLMs
- **Pre-/Post-processing pipeline**: inject context, system prompts, etc.
- **Retrieval Augmented Generation (RAG)**: option to fine-tune or use RAG with knowledge base
@@ 72,17 85,16 @@
![](./System_Architecture.png)
## 1. Tech Stack
- - **Backend (Python)**
+ - **Backend (Node.js/Python)**
- **FastAPI** (async, lightweight, API-first approach) or Djangofeatures).
- - **SQLAlchemy** or **Django ORM** (for database interactions).
- **Database**
- **PostgreSQL** (perfectly suited for multi-tenant, relational data storage).
- **Frontend**
- - React / Next.js (or Vue/Angular depending on preference).
+ - ShadcnUI , vite
- Admin dashboard + Client dashboard.
- **AI/ML Integrations**
- OpenAI API / Perplexity API / Custom AI connectors.
- - Knowledge Base Indexing (e.g., **LangChain + Vector DB** like **Postgres pgvector**, **Weaviate**, or **Pinecone**).
+ - Knowledge Base Indexing (e.g., **LangChain + Vector DB** like **Postgres pgvector**).
- MCP Server (for tool orchestration + context passing).
- **Communication Channels**
- **Telegram Bot API** integration.
@@ 97,6 109,7 @@
## 2. Core Modules & Features
### 🔹 Client Onboarding
+
- Form to capture client + project details.
- Generate dedicated project page for embedding AI bot.
- Multi-tenant user management (each client = tenant).
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9