An AI-driven customer support automation system that can answer knowledge-base questions instantly.
- RAG-powered search over company knowledge base.
- FastAPI backend for fast API responses.
- React + Material UI frontend for a polished chat interface.
- Uses HuggingFace embeddings + OpenAI / Llama models.
.envfor API keys and config.
- Backend: FastAPI, LlamaIndex, HuggingFace Embeddings
- Frontend: React, Material UI
- Database (vector store): In-memory for demo (can integrate Pinecone/FAISS)
cd backend
python -m venv venv
source venv/bin/activate # Mac/Linux
venv\Scripts\activate # Windows
pip install -r requirements.txtCreate .env in backend/:
OPENAI_API_KEY=your_key
OPENAI_API_BASE=https://api.openai.com/v1
MODEL_NAME=gpt-4o-miniRun:
uvicorn app:app --reloadcd frontend
npm install
npm startStart backend (uvicorn) Start frontend (npm start) Ask a question in the UI → AI answers using your KB.
