A Powerful AI Chatbot built with LangGraph, Streamlit & Ollama (Gemma 3 1B)
This project is a modular AI chatbot system built using:
- 🧠 LangGraph for workflow orchestration
- 🤖 Ollama (Gemma 3:1B) for local LLM inference
- 🌐 Streamlit for interactive UI
- 🗄️ SQLite Database for persistent memory
It supports multiple chatbot types like:
- 💬 Basic Chatbot
- 🛠️ Tool-enabled Chatbot
- 🗂️ Database-integrated Chatbot
- 📚 RAG (Retrieval-Augmented Generation) Chatbot
- ⚡ Streaming Response Chatbot
Chatbot-Using-LangGraph/ │ ├── langgraph_backend.py ├── langgraph_tool_backend.py ├── langgraph_database_backend.py ├── langraph_rag_backend.py │ ├── streamlit_frontend.py ├── streamlit_frontend_tool.py ├── streamlit_frontend_database.py ├── streamlit_rag_frontend.py ├── streamlit_frontend_streaming.py │ ├── chatbot.db ├── requirements.txt └── README.md
🔹 Clone Repository git clone https://github.com/your-username/Chatbot-Using-LangGraph.git cd Chatbot-Using-LangGraph 🔹 Create Virtual Environment python -m venv venv venv\Scripts\activate 🔹 Install Dependencies pip install -r requirements.txt 🔹 Setup Ollama
ollama pull gemma3:1b ollama run gemma3:1b 🔧 Configure Ollama from langchain_community.chat_models import ChatOllama
llm = ChatOllama( model="gemma3:1b", temperature=0.7 )
🔥 Streaming Chatbot (Best Experience)
streamlit run streamlit_frontend_streaming.py
💬 Basic Chatbot
streamlit run streamlit_frontend.py
🛠️ Tool Chatbot
streamlit run streamlit_frontend_tool.py
📚 RAG Chatbot
streamlit run streamlit_rag_frontend.py 🧩 Architecture Flow User 💬 ↓ Streamlit UI 🌐 ↓ LangGraph ⚙️ ↓ Ollama (Gemma 3 1B) 🤖 ↓ Response ✅
🔍 PDF Chatbot (RAG) 🎤 Voice Assistant 🌐 Web Deployment 🧠 Fine-tuned Models 📊 Dashboard Analytics
fork → clone → branch → commit → push → PR 🚀
MIT License
Somen Pradhan AI/ML Developer
If you Like this ⭐ Star the Repo 🍴 Fork It 📢 Share It
If you want next level 🔥 I can upgrade this with:
- GitHub badges (stars, forks, license, etc.)
- A banner image (custom design)
- A LinkedIn + resume project description
Just tell me 👍



