This project is a Retrieval-Augmented Generation (RAG) based chatbot built using:
- 🧠 LangChain for chaining LLM + retrieval
- 🔍 HuggingFace Transformers for embeddings and LLM (FLAN-T5)
- 🗃️ Pinecone for vector database search
- 🌐 Streamlit for an interactive frontend
- Ask technical questions about TaskFlow (a fictional cloud-based project management tool)
- Uses a CSV of past support issues and responses
- Retrieves relevant solutions using vector similarity search
- Responds concisely using a language model
.
├── RAG_ChatBot.py # Backend logic (RAG setup)
├── app.py # Streamlit frontend
├── data/
│ └── tech_support_vedant.csv # Your dataset
├── .env # API keys (not committed)
├── .gitignore
├── sample_io.txt # Example input/output
└── README.md
- Install dependencies:
pip install -r requirements.txt- Set up your
.env:
PINECONE_API_KEY=your_pinecone_key
HUGGINGFACEHUB_API_TOKEN=your_huggingface_token- Run the chatbot:
streamlit run app.py --server.fileWatcherType none- Make sure your
.envandtech_support_vedant.csvare present. - Do not commit
.env— it contains sensitive keys. - Dataset should include these columns:
Customer_IssueTech_ResponseIssue_Category
Vedant Kasar
This project is for educational/demo purposes only. Keys should be kept secret and rotated if leaked.