Skip to content

An experimental FAQ chatbot for customer service, built with LangChain and Streamlit to provide automated responses efficiently.

Notifications You must be signed in to change notification settings

gerinsp/faq-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title emoji colorFrom colorTo sdk sdk_version app_file pinned license
FAQ Chatbot
🤖
blue
purple
streamlit
1.42.0
app.py
false
apache-2.0

Chatbot FAQ dengan RAG

🚀 Fitur Utama

  • Menggunakan LangChain + Vector Database (FAISS)
  • Menjalankan chatbot secara lokal dengan Streamlit
  • Evaluasi performa menggunakan Confusion Matrix, Accuracy, Precision, Recall, F1-score

🔧 Instalasi

git clone https://github.com/username/chatbot-faq.git
cd chatbot-faq
python -m venv env
source env/bin/activate  # Linux/macOS
pip install -r requirements.txt

📌 Cara Menjalankan

  1. Persiapkan dataset di data/faq.csv
  2. Jalankan chatbot dengan Streamlit
    streamlit run app.py

📊 Evaluasi Performa

Jalankan skrip evaluasi chatbot:

python src/evaluation.py

📂 Struktur Proyek

chatbot-faq/
│── data/                   # Dataset FAQ
│── models/                 # Model (jika diperlukan)
│── src/                    # Kode utama chatbot
│── app.py                  # UI Streamlit
│── requirements.txt        # Dependensi proyek
│── README.md               # Dokumentasi proyek

📌 Teknologi yang Digunakan

  • LangChain → pipeline NLP.
  • FAISS → vector database untuk pencarian cepat.
  • Streamlit → antarmuka chatbot.
  • Scikit-Learn → evaluasi chatbot.

🎯 Kesimpulan

Chatbot FAQ berbasis RAG + LangChain ini bisa digunakan untuk customer support dan hanya menjawab berdasarkan dataset CSV yang diberikan. Sistem ini cocok untuk otomatisasi layanan pelanggan yang efisien.

About

An experimental FAQ chatbot for customer service, built with LangChain and Streamlit to provide automated responses efficiently.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages