A friendly guide to using the IPCC RAG system for climate research
This guide is designed for:
- Researchers who want to quickly find information in IPCC reports
- Students learning about climate science
- Policymakers who need accurate climate information
- Anyone interested in understanding climate change better
No technical knowledge required! 🎉
Don't worry if you've never used Python before!
- Go to python.org
- Click "Download Python" (get the latest version)
- Run the installer
- Important: Check "Add Python to PATH" during installation
- Open Terminal (press Cmd+Space, type "Terminal")
- Type:
python3 --version - If you see a version number, you're good!
- If not, install with:
brew install python3
- Open Terminal
- Type:
sudo apt install python3 python3-pip - Press Enter and wait for installation
- Go to the GitHub repository
- Click the green "Code" button
- Click "Download ZIP"
- Extract the ZIP file to a folder on your computer
- Open Terminal/Command Prompt
- Navigate to the downloaded folder:
cd path/to/llmrag - Install required packages:
pip install -r requirements.txt
streamlit run streamlit_app.pyYour browser will open automatically to the web interface!
-
Select a Chapter: Choose from the dropdown menu
wg1/chapter02= Changing State of the Climate Systemwg1/chapter04= Future Global Climate- More chapters available!
-
Load the Chapter: Click "Load Chapter"
- This might take 30-60 seconds the first time
- The system is downloading and processing the content
-
Start Asking Questions: Type your question and press Enter!
- "What are the main findings about temperature trends?"
- "How much has the Earth warmed since pre-industrial times?"
- "What are the projected impacts of climate change?"
- "What causes global warming?"
- "How confident are scientists about climate change?"
Each answer includes:
- The response: A clear, scientific explanation
- Source paragraphs: The exact paragraphs from the IPCC report
- Confidence level: How certain the system is about the answer
If you prefer typing commands:
python -m llmrag.cli list-chapterspython -m llmrag.cli ask "What causes global warming?" --chapter wg1/chapter02python -m llmrag.cli interactive --chapter wg1/chapter02RAG = Retrieval-Augmented Generation
Think of it like a super-smart research assistant:
- You ask a question → "What causes global warming?"
- System searches through IPCC reports for relevant information
- System finds the most relevant paragraphs
- System creates a clear answer based on those paragraphs
- System shows you exactly where the information came from
- Fast: Get answers in seconds instead of hours
- Accurate: Based on official IPCC reports
- Transparent: See exactly where information comes from
- Local: Runs on your computer, no internet needed after setup
- WG1: Physical Science Basis (how climate works)
- WG2: Impacts, Adaptation, and Vulnerability (effects on people)
- WG3: Mitigation (how to reduce emissions)
- Global Warming: Increase in Earth's average temperature
- Climate Change: Long-term changes in weather patterns
- Greenhouse Gases: Gases that trap heat (CO2, methane, etc.)
- Mitigation: Actions to reduce greenhouse gas emissions
- Adaptation: Actions to prepare for climate impacts
- IPCC FAQ - Official IPCC explanations
- NASA Climate Change - Easy-to-understand explanations
- NOAA Climate.gov - US government climate information
- Solution: Make sure Python is installed and added to PATH
- Windows: Reinstall Python and check "Add to PATH"
- Mac/Linux: Try
python3instead ofpython
- Solution: Install requirements again:
pip install -r requirements.txt
- Solution: Close other applications or use a different port:
streamlit run streamlit_app.py --server.port 8502
- Solution:
- Close other applications
- Make sure you have at least 4GB RAM
- First run is always slower (downloading models)
- Solution: Make sure you're in the correct directory with the
tests/ipccfolder
- GitHub Issues: Report bugs here
- Discussions: Ask questions here
- Email: your.email@example.com
- Be specific: "What are the impacts on agriculture?" vs "What are the impacts?"
- Use scientific terms: "temperature trends" vs "weather changes"
- Ask follow-up questions: Build on previous answers
- Check sources: Look at the paragraph IDs to verify information
- Ask for clarification: If an answer isn't clear, ask a follow-up
- Cross-reference: Compare with other chapters or sources
- Start broad: Ask general questions about your topic
- Narrow down: Ask more specific questions based on initial answers
- Verify sources: Check the paragraph IDs for accuracy
- Take notes: Save important answers and sources
- Test the system: Try different questions and report issues
- Share with colleagues: Help others discover this tool
- Improve documentation: Suggest better explanations
- Report bugs: Help make the system more reliable
- Cite properly: Use paragraph IDs in your citations
- Verify information: Always check against original sources
- Share findings: Let us know how you're using the system
- GitHub Issues: For bugs and technical problems
- GitHub Discussions: For questions and ideas
- Email: For private or urgent matters
- Watch the repository: Get notified of updates
- Join discussions: Share your experiences
- Follow the project: Stay informed about new features
You now have a powerful tool for climate research at your fingertips. Remember:
- Start simple: Try basic questions first
- Be patient: The system gets faster with use
- Explore: Try different chapters and questions
- Share: Help others discover this resource
Happy researching! 🌍📚
This guide is part of the IPCC RAG System project. For technical details, see the README.md and DEVELOPER_GUIDE.md.