๐ค MOSDAC AI Help Bot (LangChain + Graphiti + Neo4j)
Conversational AI system to answer queries related to ISRO's MOSDAC platform using scraped data, knowledge graph modeling (Graphiti + Neo4j), and a smart agent interface built with Pydantic AI.
Features |
Tech Stack |
Installation |
Project Structure |
Contributing |
Author
๐ Features
๐ Scrapes data from mosdac.gov.in including:
- Satellite Missions
- Product Metadata
- Open Data Datasets
- Documents (PDF links)
- Mission Metadata
- FAQs
๐ง Knowledge graph creation with temporal facts using Graphiti + Neo4j
๐ฌ Interactive AI agent (Pydantic AI) to answer questions using knowledge graph
โ
Time-aware responses with rich source provenance
๐ Modular microservices-based scrapers
๐ ๏ธ Tech Stack
- Language: Python 3.10+
- Backend AI: Pydantic AI (OpenAI/GPT wrapper)
- Graph DB: Neo4j (via Graphiti)
- Data Scraping: Selenium, BeautifulSoup
- Environment Config: python-dotenv
- Visualization (optional): rich, matplotlib
๐ Installation
Prerequisites
- Python 3.10+
- Neo4j Desktop (or Aura Cloud instance)
- OpenAI API key
Steps
# Clone the repository
https://github.com/TechFreak2003/mosdac-ai-helpbot.git
cd mosdac-ai-helpbot
# Install dependencies
pip install -r requirements.txt
# Configure environment
cp .env.example .env # Add your OPENAI_API_KEY and NEO4J creds
# Run data scraping scripts
python Scrapper/satellite_scraper.py
python Scrapper/products_scraper.py
python Scrapper/faq_scraper.py
...
# Load data into Neo4j
python ML_microservices/mosdac_graph_loader.py
# Launch the conversational agent
python ML_microservices/agent.py
๐ Project Structure
mosdac-ai-helpbot/
โโโ Scrapper/ # Data collection modules
โ โโโ satellite_scraper.py
โ โโโ product_scraper.py
โ โโโ faq_scraper.py
โ โโโ ...
โ
โโโ data/ # Scraped JSON data
โ โโโ satellites.json
โ โโโ products.json
โ โโโ faqs.json
โ
โโโ ML_microservices/ # Core loading + AI agent
โ โโโ mosdac_graph_loader.py
โ โโโ agent.py
โ
โโโ requirements.txt # Dependencies
โโโ .env # Env variables (not committed)
โโโ LICENSE
โโโ README.md
๐ Results
The bot is capable of answering:
- What is INSAT-3DR?
- Which documents are linked to Megha-Tropiques?
- When was Oceansat-3 launched?
- Where can I download data for rainfall from SAPHIR?
All answers include source citations, timestamps, and optionally links to documents or datasets.
๐ฅ Contributing
Contributions are welcome! Please check issues and submit PRs to:
- Improve scraping coverage
- Extend agent capabilities
- Add streamlit frontend
To contribute:
- Fork the repo
- Create a new branch (
git checkout -b feature-name)
- Commit changes (
git commit -am 'Add new feature')
- Push and open a Pull Request
๐จโ๐ป Contributors
| Avatar |
Name |
GitHub |
Role |
Contributions |
 |
Suvrodeep Das |
TechFreak2003 |
Creator |
Scraping, Graph Loader, Agent, Docs |
๐ License
This project is licensed under the MIT License.
๐โโ๏ธ Author
Created with ๐ by Suvrodeep Das