ResqAI is a tool that provides weather forecasts, earthquake data, disaster analysis, emergency response plans, and the latest weather and earthquake news. It uses advanced AI models and LLMs to help you stay prepared for emergencies.
- Weather and Earthquake Data: Get the latest information for any location.
- Disaster Analysis: Understand potential risks.
- Emergency Response Plan: AI-generated plans to help you respond to disasters.
- News: Stay updated with the latest weather and earthquake news.
- Python 3.8+
- Streamlit
- Requests
- Python-dotenv
- Boto3
- ReportLab
- PyPDF2
- Pandas
- Plotly
- Geopy
- Folium
- streamlit-folium
- Google API Client
- Clone the Repository
git clone https://github.com/rsharvesh16/ResqAI.git
cd resqai
- Install Dependencies
pip install -r requirements.txt
- Set Up Environment Variables
Create a .env
file in the project root and add:
LANGCHAIN_API_KEY=<Your LangChain API Key>
LANGCHAIN_PROJECT = "Rescue-AI-Disaster Management"
API_KEY=<Your Weather API Key>
GOOGLE_API_KEY=<Your Google API Key>
GOOGLE_CSE_ID=<Your Google Custom Search Engine ID>
- Run the Application
streamlit run app.py
- Enter Location: Type in the location you want to check.
- Update Data: Click "Update Data" to get the latest information.
- Navigate: Use the sidebar to explore different features:
- Weather and Earthquake Data
- Disaster Analysis
- Emergency Response Plan
- News
resqai/
│
├── data/ # PDF reports
├── faiss_index/ # AI index data
├── .env # Environment variables
├── app.py # Main application file
├── requirements.txt # Dependencies
└── README.md # This file
We welcome contributions! Check the CONTRIBUTING.md file for details.
This project is under the MIT License. See the LICENSE file for details.
- Data from WeatherAPI and USGS
- Powered by LangChain
- Maps by Folium
- Visuals by Plotly
Feel free to customize this README further to fit your specific needs and add any additional information as necessary.