Rohan Saha: School of Engineering and Science, IIT Madras Zanzibar, Zanzibar, Tanzania · Innocent Nyalala: School of Engineering and Science, IIT Madras Zanzibar, Zanzibar, Tanzania
Climate governance increasingly depends on rapid access to policy texts, including Nationally Determined Contributions (NDCs), national climate laws, and scientific assessments, yet these sources are dispersed, heterogeneous, and difficult to compare across jurisdictions. Keyword search misses policy intent and cross-document patterns, while general-purpose large language models can generate plausible but unverifiable claims. For high-stakes climate accountability and public participation, AI systems must be not only useful but also transparent, traceable, and auditable. We introduce ClimateRAG, a provenance-first Retrieval-Augmented Generation (RAG) pipeline that treats relational structure as the source of truth. ClimateRAG ingests the ClimatePolicyRadar open corpus (CC-BY 4.0) and stores 12,498 passage-level chunks from 78 documents across 55 countries in a normalized PostgreSQL schema linking countries, documents, chunks, embeddings, and queries. Each passage is encoded with the all-MiniLM-L6-v2 sentence-transformer (384 dimensions) and retrieved using an HNSW index via pgvector, enabling sub-second semantic search without an external vector store. At inference time, a conservative country-detection pre-filter optionally constrains retrieval to the relevant jurisdiction; retrieved passages are then provided to a LLaMA 3.1 model for answer synthesis. Every answer is returned together with its originating country, document title, publication year, and exact supporting passage, enabling verification and downstream audit. Applying ClimateRAG to the current corpus surfaces policy-relevant comparative signals and dataset-level blind spots. In the current indexed subset, we observe indicative patterns such as a divide between quantified, time-bound mitigation targets and narrative sectoral priorities without binding figures; regionally recurring adaptation themes (e.g., food security and water stress in Small Island Developing States and Sub-Saharan Africa versus infrastructure resilience in higher-income settings); and frequent conditionality on international climate finance among lower-income NDCs. We also identify a structural coverage gap in the open corpus itself: 38 of 55 countries are represented by a single document, African nations account for under 20% of documents, and major emitters (including China and the United States) are sparsely covered, constraining the depth of comparative analysis. ClimateRAG is deployed as an interactive Streamlit application for policy querying, pipeline inspection, and schema exploration. By pairing semantic retrieval with explicit provenance and logging, the system supports trustworthy, human-centered AI for SDG 13 (Climate Action) and capacity-building for SDG 4 (Quality Education), while providing a data-driven basis for prioritizing future corpus expansion and responsible AI governance in climate decision-making.
Keywords: retrieval-augmented generation, climate policy, NDCs, provenance, open data, corpus coverage, SDG 13, SDG 4, large language models
