Skip to content

sharavak/Chat-with-MongoDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛢️ Chat with MongoDB — Natural Language MongoDB Querying via LLM + Streamlit

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.

Live Demo on Streamlit Cloud


Features

  • 💬 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.

Tech Stack

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

Installation

git clone https://github.com/sharavak/Chat-with-MongoDB.git
cd Chat-with-MongoDB
pip install -r requirements.txt
streamlit run streamlit_main.py

About

A Streamlit application, where user can interact with MongoDB Bot and ask queries based on the schema given.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages