{"id":31974772,"url":"https://github.com/akarshankapoor7/chatbot-using-langgraph","last_synced_at":"2025-10-14T20:21:06.075Z","repository":{"id":314953092,"uuid":"1057492209","full_name":"akarshankapoor7/ChatBot-using-LangGraph","owner":"akarshankapoor7","description":"A LangGraph-powered chatbot project with Streamlit frontends, supporting both in-memory and SQLite-based conversation persistence, real-time streaming responses, and multi-session chat management.","archived":false,"fork":false,"pushed_at":"2025-09-15T20:23:06.000Z","size":227,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-15T21:31:48.858Z","etag":null,"topics":["chatbot","groq-api","langgraph","persistence","streamlit-webapp"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akarshankapoor7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-15T19:57:13.000Z","updated_at":"2025-09-15T20:26:56.000Z","dependencies_parsed_at":"2025-09-15T21:31:51.969Z","dependency_job_id":"78c3a1e6-af07-4ace-baa5-f8bb22a0209a","html_url":"https://github.com/akarshankapoor7/ChatBot-using-LangGraph","commit_stats":null,"previous_names":["akarshankapoor7/chatbot-using-langgraph"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/akarshankapoor7/ChatBot-using-LangGraph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akarshankapoor7%2FChatBot-using-LangGraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akarshankapoor7%2FChatBot-using-LangGraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akarshankapoor7%2FChatBot-using-LangGraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akarshankapoor7%2FChatBot-using-LangGraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akarshankapoor7","download_url":"https://codeload.github.com/akarshankapoor7/ChatBot-using-LangGraph/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akarshankapoor7%2FChatBot-using-LangGraph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021032,"owners_count":26086947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatbot","groq-api","langgraph","persistence","streamlit-webapp"],"created_at":"2025-10-14T20:20:55.503Z","updated_at":"2025-10-14T20:21:06.070Z","avatar_url":"https://github.com/akarshankapoor7.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatBot-using-LangGraph\n\n🤖 LangGraph Chatbot with Streamlit UI\n\nAn interactive **Generative AI chatbot** built using **LangGraph** and **Streamlit**, featuring persistent chat storage, multi-session handling, and a clean ChatGPT-like sidebar for navigating previous conversations.\n\n---\n\n## 🚀 Features\n\n- **Multi-session chat**: Start a **new chat** anytime and revisit old ones (sessions displayed as `session-1`, `session-2`, etc.).\n- **Persistent storage**: Chats are saved using **SQLite** (`SqliteSaver`) so history is retained even after restarting.\n- **Sidebar navigation**: A non-collapsible **sidebar on the left**, showing all active sessions with the latest user message or session number.\n- **Simple \u0026 clean UI**: Chat interface similar to ChatGPT with smooth session switching.\n\n---\n\n## 🛠️ Tech Stack\n\n- [LangGraph](https://github.com/langchain-ai/langgraph) – for conversation flow and state management.\n- [LangGraph Checkpoint SQLite](https://pypi.org/project/langgraph-checkpoint-sqlite/) – for saving chat history.\n- [Streamlit](https://streamlit.io) – for frontend UI.\n- [SQLite3](https://www.sqlite.org/index.html) – for lightweight local storage.\n\n---\n📂 Project Structure\n\n.\n├── .env                               # Store your API keys here\n├── requirements.txt                   # Python dependencies\n\n├── 01_ChatBot_with_memory_checkpoint.ipynb   # Jupyter Notebook for experimentation\n\n\n\n\n│\n├── ChatBot_backend.py                 # Backend (memory only) --\u003e\n├── Streamlit_ChatBot_frontend.py      # Streamlit frontend (memory only) \n├── Streamlit_Chatbot_frontend_UI_1.png   # Screenshot for memory-only chatbot\n│\n\n\n\n├── ChatBot_database_backend.py        # Backend (with SQLite database) --\u003e\n├── Streamlit_frontend_database.py     # Streamlit frontend (with SQLite DB) \n├── Streamlit_frontend_database_UI_2.png   # Screenshot for DB chatbot \n│\n\n\n\n├── chatbot_memory.db                  # SQLite database (created at runtime)\n│\n\n\n├── LICENSE\n└── README.md\n\n\n\n2️⃣ Create virtual environment\npython -m venv lgraph\n\nsource lgraph/bin/activate   # Mac/Linux\n\nlgraph\\Scripts\\activate      # Windows\n\n3️⃣ Install dependencies\npip install -r requirements.txt\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakarshankapoor7%2Fchatbot-using-langgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakarshankapoor7%2Fchatbot-using-langgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakarshankapoor7%2Fchatbot-using-langgraph/lists"}