跳到正文
GitHub·· 5 天前AI 评分20

DIPAK1718/Enterprise-RAG-Chatbot:基于 LangChain 与 Ollama 的企业级 RAG 聊天机器人

DIPAK1718/Enterprise-RAG-Chatbot

AI 导读

开发者 Dipak Chaudhari 开源了 Enterprise-RAG-Chatbot,一个基于 LangChain、Ollama、ChromaDB、Hugging Face Embeddings 和 Streamlit 构建的企业级 RAG 聊天机器人。

正文

An Enterprise Retrieval-Augmented Generation (RAG) chatbot built using LangChain, Ollama, ChromaDB, Hugging Face Embeddings, and Streamlit.

Features

  • 📄 Multiple PDF Upload
  • 🔍 Semantic Search using ChromaDB
  • 🧠 Local LLM (Gemma 3 4B via Ollama)
  • 🤗 HuggingFace Embeddings
  • 💬 Chat Interface
  • 📚 Source Citation
  • ⚡ Response Time Display
  • 🗑 Clear Chat
  • 🔄 Rebuild Knowledge Base

Tech Stack

  • Python
  • Streamlit
  • LangChain
  • Ollama
  • Gemma 3 4B
  • HuggingFace Embeddings
  • ChromaDB

Installation

git clone https://github.com/DIPAK1718/Enterprise-RAG-Chatbot.git

cd Enterprise-RAG-Chatbot

python -m venv venv

venv\Scripts\activate

pip install -r requirements.txt
 
streamlit run app.py

Demo

Ask questions like:

  • What is RAG?
  • Explain Transformers.
  • What is DBMS?
  • Explain Self Attention.

Future Improvements

  • Chat Memory
  • Streaming Responses
  • Multi-user Support
  • Docker Deployment

Author

Dipak Chaudhari

来源:GitHub · github.com