Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.94 KB

File metadata and controls

56 lines (37 loc) · 1.94 KB

🤖 AI-Powered MongoDB Assistant

[f

Streamlit MongoDB Google Gemini Python

An intelligent interface that transforms natural language commands into MongoDB operations using AI-powered query generation and intelligent data visualization.

App Demo


🌟 Key Features

  • Natural Language Processing: Convert English commands to MongoDB queries
  • Advanced Query Support: Handles CRUD operations, transactions, geospatial queries, and more
  • Intelligent Visualization: Automatically generates appropriate charts using Plotly
  • Query Explanation: See and understand queries before execution
  • Schema-Aware: AI adapts to your database structure
  • History Tracking: Review past commands and results

🚀 Getting Started

✅ Prerequisites

  • Python 3.11+
  • MongoDB Atlas cluster or local MongoDB instance
  • Google Gemini API key

🛠️ Installation

# Clone the repository
git clone https://github.com/yourusername/ai-mongodb-assistant.git
cd ai-mongodb-assistant

# Create a virtual environment
python -m venv venv
source venv/bin/activate      # Linux/Mac
venv\Scripts\activate         # Windows

# Install dependencies
pip install -r requirements.txt

# Initialize Sample Data
python init_db.py

#Run the Application
streamlit run app.py