{"id":17973838,"url":"https://github.com/sharavak/chat-with-mongodb","last_synced_at":"2026-05-05T15:34:04.152Z","repository":{"id":259699798,"uuid":"879233582","full_name":"sharavak/Chat-with-MongoDB","owner":"sharavak","description":"A Streamlit application, where user can interact with MongoDB Bot and ask queries based on the schema given.","archived":false,"fork":false,"pushed_at":"2024-11-14T14:43:53.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-17T01:44:51.466Z","etag":null,"topics":["groq","langchain","mongodb","python","streamlit"],"latest_commit_sha":null,"homepage":"https://chat-with-db-101.streamlit.app/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sharavak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-10-27T11:23:08.000Z","updated_at":"2024-11-14T14:43:57.000Z","dependencies_parsed_at":"2024-10-27T13:02:47.521Z","dependency_job_id":"3e581cf2-8722-45ec-98e3-2c8789d0221c","html_url":"https://github.com/sharavak/Chat-with-MongoDB","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.125,"last_synced_commit":"22c197b4ac51b6604e49a133f8c80419326218fc"},"previous_names":["sharavak/chat-with-mongodb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharavak%2FChat-with-MongoDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharavak%2FChat-with-MongoDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharavak%2FChat-with-MongoDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharavak%2FChat-with-MongoDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sharavak","download_url":"https://codeload.github.com/sharavak/Chat-with-MongoDB/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230050118,"owners_count":18165009,"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","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":["groq","langchain","mongodb","python","streamlit"],"created_at":"2024-10-29T17:03:38.218Z","updated_at":"2026-05-05T15:34:04.073Z","avatar_url":"https://github.com/sharavak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛢️ Chat with MongoDB — Natural Language MongoDB Querying via LLM + Streamlit\n\nAn **AI-powered chatbot interface** that allows users to interact with a MongoDB database using natural language. This app uses **LangChain** and **GROQ API** to convert user queries into executable **MongoDB queries**, and displays the results in a user-friendly **Streamlit** interface.\n\n[Live Demo on Streamlit Cloud](https://chat-with-db-101.streamlit.app/)\n\n---\n\n## Features\n\n- 💬 **Conversational Chat with an Agent** to interact with MongoDB like you're talking to a data assistant.\n- 🧠 **LLM-powered Query Understanding** using [GROQ API](https://groq.com/).\n- 🗃️ **MongoDB Query Execution** from natural language (via PyMongo).\n- 📚 **Contextual Memory** using LangChain's message history.\n- 🚀 **Streamlit UI** with chat, code rendering, and real-time responses.\n---\n\n## Tech Stack\n\n| Tool        | Purpose                                    |\n|-------------|--------------------------------------------|\n| [Streamlit](https://streamlit.io/) | Web UI for chat and interactivity          |\n| [LangChain](https://www.langchain.com/) | Conversation memory, prompt management   |\n| [GROQ API](https://groq.com/) | LLM for MongoDB query generation            |\n| [MongoDB + PyMongo](https://www.mongodb.com/) | Query execution backend                  |\n| Python      | Core development language                   |\n\n---\n\n## Installation\n\n```bash\ngit clone https://github.com/sharavak/Chat-with-MongoDB.git\ncd Chat-with-MongoDB\npip install -r requirements.txt\nstreamlit run streamlit_main.py\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharavak%2Fchat-with-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsharavak%2Fchat-with-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharavak%2Fchat-with-mongodb/lists"}