DataLens AI is an innovative platform that enables natural conversations with global datasets through AI-powered chat and visualization.
- Natural language queries for complex datasets
- Rich visualizations and data insights
- Voice input support
- Real-time data processing
- Multi-turn conversations
- Semantic search capabilities
- React.js with TypeScript
- Tailwind CSS for styling
- Vite for build tooling
- Node.js with Express.js
- MongoDB Atlas with vector search
- OpenAI GPT-4 integration
- LangChain for prompt management
- Google Cloud services (Cloud Run, Vertex AI, Storage)
- Node.js (v18 or higher)
- MongoDB Atlas account
- Google Cloud account
- OpenAI API key
- Clone the repository
git clone https://github.com/cal250/DataLens-AI-Global-Data-Chat-Insights
cd datalens-ai- Install dependencies
# Install frontend dependencies
cd frontend
npm install
# Install backend dependencies
cd ../backend
npm install- Set up environment variables
# Frontend (.env)
VITE_API_URL=http://localhost:3000
VITE_OPENAI_API_KEY=your_openai_api_key
# Backend (.env)
MONGODB_URI=your_mongodb_uri
OPENAI_API_KEY=your_openai_api_key
GOOGLE_CLOUD_PROJECT=your_project_id- Start the development servers
# Start backend
cd backend
npm run dev
# Start frontend (in a new terminal)
cd frontend
npm run devdatalens-ai/
├── frontend/ # React frontend application
├── backend/ # Node.js backend server
├── docs/ # Documentation
└── scripts/ # Utility scripts
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenAI for GPT-4
- MongoDB for Atlas and vector search capabilities
- Google Cloud for infrastructure and AI services