An 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.
- 💬 Conversational Chat with an Agent to interact with MongoDB like you're talking to a data assistant.
- 🧠 LLM-powered Query Understanding using GROQ API.
- 🗃️ MongoDB Query Execution from natural language (via PyMongo).
- 📚 Contextual Memory using LangChain's message history.
- 🚀 Streamlit UI with chat, code rendering, and real-time responses.
| Tool | Purpose |
|---|---|
| Streamlit | Web UI for chat and interactivity |
| LangChain | Conversation memory, prompt management |
| GROQ API | LLM for MongoDB query generation |
| MongoDB + PyMongo | Query execution backend |
| Python | Core development language |
git clone https://github.com/sharavak/Chat-with-MongoDB.git
cd Chat-with-MongoDB
pip install -r requirements.txt
streamlit run streamlit_main.py