Intelligent Data & Document Assistant
DataMind AI is an open-source AI platform that empowers users to analyze tabular data, chat with their databases via Text-to-SQL, and extract insights from documents using RAG (Retrieval-Augmented Generation).
- Data Analytics Pipeline: Upload CSV/Excel files and instantly get cleaned data and statistical insights.
- Text-to-SQL (AI Agents): Ask questions in natural language, and the AI will generate and execute SQL queries on your PostgreSQL database securely.
- Document Intelligence (RAG): Upload PDFs and chat with your documents. Get highly accurate answers backed by source citations to prevent hallucinations.
- Modern API Backend: Built on high-performance FastAPI.
- Backend: Python, FastAPI, SQLAlchemy
- Data Science: Pandas, Numpy, Scikit-Learn
- AI & LLM: OpenAI, LangChain, ChromaDB (Vector Store)
- Database: PostgreSQL
- Python 3.10+
- PostgreSQL
- OpenAI API Key
-
Fork and Clone the repository:
git clone https://github.com/YOUR_USERNAME/DataMind_AI.git cd DataMind_AI -
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Environment Variables: Copy the
.env.examplefile to.envand fill in your details:cp .env.example .env
-
Run the server:
uvicorn main:app --reload
Access the API documentation at
http://127.0.0.1:8000/docs.
We welcome contributions! Please see our CONTRIBUTING.md for details on how to submit pull requests, report issues, and our coding standards.
This project is licensed under the MIT License - see the LICENSE file for details.