Skip to content

Customer Support Chatbot that answer all your question about what your purchase. The Chatbot is build with Langchain, chromaDB, Groq, HuggingFace, Streamlit, and etc.

Notifications You must be signed in to change notification settings

renaldiangsar/Customer-Support-RAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAG Customer Support Chatbot

📌 Overview

This project is a Customer Support RAG Chatbot that can be accessed through streamlit web applications.

Users can Ask questions about products, the purchase process, returning goods, etc. Questioning everything that related to the system of purchase. And the added value is Chatbot remember previous Conversation.

🚀 Features

  • PDF-based Knowledge Base: Extracts relevant information from uploaded PDFs.
  • RAG Architecture: Combines retrieval and generation for better responses.
  • Conversational Memory: Stores chat history using LangChain memory in ChromaDB, allowing the chatbot to remember previous interactions.
  • Uses LangChain, Hugging Face embeddings, and ChromaDB for retrieval.
  • Frontend built with Streamlit for a smooth user experience.

🛠️ Tech Stack

  • Chatbot RAG: LangChain, Groq API, ChromaDB, Hugging Face embeddings
  • Frontend: Streamlit
  • PDF Processing: PyPDFLoader

🏗️ Installation & Setup

Clone the Repository

git clone https://github.com/renaldiangsar/Customer-Support-RAG.git
cd Customer-Support-RAG

Create a Virtual Environment & Install Dependencies

# open command prompt and run
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt

Run the Streamlit

# open command prompt and run
streamlit run app.py

The Streamlit app will open in your browser at http://localhost:8501

Don't forget to give your api in .env file

  • open .env file an set your groq and huggingface api

🛠️ Customization & Improvements

  • Use a different LLM model (e.g., GPT-4, LLaMA, or local models) for customization.
  • Improved response generation using fine-tuned models.

📝 Future Enhancements

  • Add multilingual support for Conversation.
  • Support multiple type file, not just pdf format. Try file.txt with many Question Answer

Visual


I hope i can do better in my next project. 🎉

About

Customer Support Chatbot that answer all your question about what your purchase. The Chatbot is build with Langchain, chromaDB, Groq, HuggingFace, Streamlit, and etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages