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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "07f255d7",
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "True"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import pandas as pd \n",
    "import numpy as np\n",
    "import os\n",
    "\n",
    "%load_ext autoreload\n",
    "%autoreload 2\n",
    "\n",
    "import sys\n",
    "sys.path.append(\"C:/git/climate-question-answering\")\n",
    "sys.path.append(\"/mnt/c/git/climate-question-answering\")\n",
    "sys.path.append(\"/home/tim/ai4s/climate_qa/climate-question-answering\")\n",
    "\n",
    "from dotenv import load_dotenv\n",
    "load_dotenv()"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "4c9258cc-3800-4485-bdd8-889b299b9133",
   "metadata": {},
   "source": [
    "# Import objects"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "6af1a96e",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "from climateqa.engine.llm import get_llm\n",
    "from climateqa.engine.llm.ollama import get_llm as get_llm_ollama\n",
    "\n",
    "llm = get_llm(provider=\"openai\")\n",
    "# llm = get_llm_ollama(model = \"llama3\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "a9128bfc-4b24-4b25-b7a7-68423b1124b1",
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/home/tim/anaconda3/envs/climateqa/lib/python3.11/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n",
      "  from .autonotebook import tqdm as notebook_tqdm\n",
      "INFO:flashrank.Ranker:Downloading ms-marco-TinyBERT-L-2-v2...\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Loading FlashRankRanker model ms-marco-TinyBERT-L-2-v2\n",
      "Loading model FlashRank model ms-marco-TinyBERT-L-2-v2...\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "ms-marco-TinyBERT-L-2-v2.zip: 100%|██████████| 3.26M/3.26M [00:00<00:00, 69.9MiB/s]\n"
     ]
    }
   ],
   "source": [
    "from climateqa.engine.reranker import get_reranker\n",
    "\n",
    "# reranker = get_reranker(\"large\")\n",
    "reranker = get_reranker(\"nano\")\n",
    "# from rerankers import Reranker\n",
    "# # Specific flashrank model.\n",
    "# # reranker = Reranker('ms-marco-TinyBERT-L-2-v2', model_type='flashrank')\n",
    "# # reranker = Reranker('ms-marco-MiniLM-L-12-v2', model_type='flashrank')\n",
    "# # reranker = Reranker('cross-encoder/ms-marco-MiniLM-L-4-v2', model_type='cross-encoder')\n",
    "# # reranker = Reranker(\"mixedbread-ai/mxbai-rerank-xsmall-v1\", model_type='cross-encoder')\n",
    "# # reranker = Reranker(\"mixedbread-ai/mxbai-rerank-xsmall-v1\", model_type='cross-encoder')\n",
    "# reranker = Reranker(\"cohere\", lang='en', api_key = \"XXX\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "942d2705-22dd-46cf-8c31-6daa127e4743",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Loading embeddings model:  BAAI/bge-base-en-v1.5\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:sentence_transformers.SentenceTransformer:Load pretrained SentenceTransformer: BAAI/bge-base-en-v1.5\n",
      "INFO:sentence_transformers.SentenceTransformer:Use pytorch device_name: cpu\n",
      "/home/tim/ai4s/climate_qa/climate-question-answering/climateqa/engine/vectorstore.py:32: LangChainDeprecationWarning: The class `Pinecone` was deprecated in LangChain 0.0.18 and will be removed in 0.3.0. An updated version of the class exists in the langchain-pinecone package and should be used instead. To use it run `pip install -U langchain-pinecone` and import as `from langchain_pinecone import Pinecone`.\n",
      "  vectorstore = PineconeVectorstore(\n"
     ]
    }
   ],
   "source": [
    "from climateqa.engine.vectorstore import get_pinecone_vectorstore\n",
    "from climateqa.engine.embeddings import get_embeddings_function\n",
    "from climateqa.knowledge.retriever import ClimateQARetriever\n",
    "\n",
    "embeddings_function = get_embeddings_function()\n",
    "vectorstore = get_pinecone_vectorstore(embeddings_function)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "882811c8-5890-4048-8630-d052c5179d7d",
   "metadata": {},
   "outputs": [],
   "source": [
    "import torch"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "51aed81d-860b-409a-bae0-f0e1eeb0f120",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "False"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "torch.cuda.is_available()"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "16eb91cb-3bfb-4c0c-b29e-753c954c2399",
   "metadata": {},
   "source": [
    "# Semantic Routing"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "1e769371-1f8c-4f34-89c5-c0f9914d47a0",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "from climateqa.engine.chains.intent_categorization import make_intent_categorization_chain"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "id": "480ad611-33c7-49ea-b02c-94d6ce1f1d1a",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "cat_chain = make_intent_categorization_chain(llm)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "id": "82cf49d9-d48e-4d5c-8666-bcc95f637371",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "# for question in SAMPLE_QUESTIONS:\n",
    "#     output = router_chain.invoke({\"input\":question})\n",
    "#     print(question)\n",
    "#     print(output)\n",
    "#     print(\"-\"*100)\n",
    "#     break"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "d8ef7e0f-ac5f-4323-b02e-753ce2b4afda",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "cat_chain.invoke({\"input\":\"Which industries have the highest GHG emissions?\"})"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "id": "a9c89f2d-c597-47b8-ae50-75eda964e609",
   "metadata": {},
   "outputs": [],
   "source": [
    "from climateqa.knowledge.openalex import OpenAlexRetriever\n",
    "from climateqa.engine.chains.keywords_extraction import make_keywords_extraction_chain"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "id": "0c609d34-5767-47a6-90a4-d5987e9499ee",
   "metadata": {},
   "outputs": [],
   "source": [
    "kec = make_keywords_extraction_chain(llm)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "5d781cd4-228b-462f-bd0e-55c02084a616",
   "metadata": {},
   "outputs": [],
   "source": [
    "output = kec.invoke(\"What is the environmental footprint of artificial intelligence\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "553fd4d4-fe5a-4050-ae31-dffa2c7af7b2",
   "metadata": {},
   "outputs": [],
   "source": [
    "output"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "id": "50a57f08-40e5-4419-8568-0739a13af904",
   "metadata": {},
   "outputs": [],
   "source": [
    "ROUTING_INDEX = {\n",
    "    \"Vector\":[\"IPCC\",\"IPBES\",\"IPOS\"],\n",
    "    \"OpenAlex\":[\"OpenAlex\"],\n",
    "}\n",
    "\n",
    "POSSIBLE_SOURCES = [y for values in ROUTING_INDEX.values() for y in values]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "6b45dd9c-58c3-4204-bf44-7b9eb35dcb9d",
   "metadata": {},
   "outputs": [],
   "source": [
    "questions = [\n",
    "    {\"question\":\"What is climate change ?\",\"sources\":[\"IPCC\",\"IPBES\"]},\n",
    "    {\"question\":\"What is the link between El Nino and climate change ?\",\"sources\":[\"IPCC\",\"OpenAlex\"]},\n",
    "]\n",
    "\n",
    "state = {\"remaining_questions\":questions,\"auto_mode\":False,\"sources_input\":[\"OpenAlex\"]}"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "id": "90b02a8e-6e67-4592-8bc7-959b544e914b",
   "metadata": {},
   "outputs": [],
   "source": [
    "# from climateqa.engine.chains.search import make_search_node\n",
    "from climateqa.engine.graph import search\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "id": "347737d8-c4cb-45a7-9e5d-74d1a2e3f5a2",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'remaining_questions': [{'question': 'What is climate change ?',\n",
       "   'sources': ['IPCC', 'IPBES']},\n",
       "  {'question': 'What is the link between El Nino and climate change ?',\n",
       "   'sources': ['IPCC', 'OpenAlex']}],\n",
       " 'auto_mode': False,\n",
       " 'sources_input': ['OpenAlex']}"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "state.update(search(state))\n",
    "state"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "id": "a27425de-1297-417a-af02-fba270df8e38",
   "metadata": {},
   "outputs": [],
   "source": [
    "from climateqa.engine.chains.retrieve_documents import make_retriever_node"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "id": "fde71c99-8bdd-4fd5-b36e-6804ec21bf2c",
   "metadata": {},
   "outputs": [],
   "source": [
    "retrieve = make_retriever_node(vectorstore,reranker,llm)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "cdad5b2f-2103-43d6-9d7f-e2addc2c2c3f",
   "metadata": {},
   "outputs": [],
   "source": [
    "new_state = await retrieve.ainvoke(state)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "751a9a6a-8271-4e89-8754-e2065cd7d737",
   "metadata": {},
   "outputs": [],
   "source": [
    "len(new_state[\"documents\"])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "06db606d-0b04-4e7d-9f55-4f7cefbce654",
   "metadata": {},
   "outputs": [],
   "source": [
    "new_state[\"documents\"][1][\"reranking_score\"]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "a5ed23f9-bbbe-4a0b-b919-429e08837765",
   "metadata": {},
   "outputs": [],
   "source": [
    "set([\"IPCC\",\"OpenAlex\"]).intersection(set([\"IPCC\",\"IPBES\",\"IPOS\"]))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "ca801dc5-958b-4392-88ac-5cb69e5f6fab",
   "metadata": {},
   "outputs": [],
   "source": [
    "new_questions = []\n",
    "\n",
    "for q in questions:\n",
    "    question,sources = q[\"question\"],q[\"sources\"]\n",
    "\n",
    "    for index,index_sources in ROUTING_INDEX.items():\n",
    "        selected_sources = list(set(sources).intersection(index_sources))\n",
    "        new_questions.append({\"question\":question,\"sources\":selected_sources,\"index\":index})\n",
    "\n",
    "new_questions"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 199,
   "id": "6091ada7-851c-4ffc-859e-ea33a6fbb310",
   "metadata": {},
   "outputs": [],
   "source": [
    "oa = OpenAlex()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 216,
   "id": "8c5771bb-9074-45e0-afdb-f9eda2cb5ad4",
   "metadata": {},
   "outputs": [],
   "source": [
    "test = oa.search(\"warming AND impoverished communities\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "5ef2094a-2e98-4ed9-b0a6-7536ae8057ca",
   "metadata": {},
   "outputs": [],
   "source": [
    "test"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "0996d61d-905e-4e88-bce3-3f905846dd73",
   "metadata": {},
   "outputs": [],
   "source": [
    "test[[\"title\",\"abstract\"]].isnull().sum()"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "6ee7ab03-2cb5-4c43-b38e-0996951d1649",
   "metadata": {},
   "source": [
    "##### test[\"content\"].dropna()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 218,
   "id": "677b95e3-ad04-41eb-85e6-76d45db81933",
   "metadata": {},
   "outputs": [],
   "source": [
    "oa = OpenAlexRetriever(min_year = 1960)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 232,
   "id": "c4d15feb-9faa-44bd-af2d-425351747725",
   "metadata": {},
   "outputs": [],
   "source": [
    "docs = oa.invoke(\"cloud formations AND Earth's radiative balance\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "d8eac98e-1efc-4f85-b8f5-41a8c0c03a8e",
   "metadata": {
    "scrolled": true
   },
   "outputs": [],
   "source": [
    "docs[0]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "b27c6f48-f4d3-4525-aa1d-8c3c52eb2179",
   "metadata": {},
   "outputs": [],
   "source": [
    "docs[0].metadata"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "6f50f767-64e9-4f5d-82b4-496530532ad9",
   "metadata": {
    "jp-MarkdownHeadingCollapsed": true
   },
   "source": [
    "# Query Rewriter"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "3345a24e-e794-4e84-93ae-98be5ca61af3",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "from climateqa.engine.chains.query_transformation import make_query_rewriter_chain,make_query_decomposition_chain\n",
    "from climateqa.engine.chains.translation import make_translation_chain"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "16bd17cd-f9ea-489c-923f-acd851b09cd8",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "rewriter_chain = make_query_rewriter_chain(llm)\n",
    "translation_chain = make_translation_chain(llm)\n",
    "decomposition_chain = make_query_decomposition_chain(llm)\n",
    "router_chain = make_intent_router_chain(llm)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "3a2147fc-8437-44a3-87ae-52fe5b8f8f87",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "def transform_query(user_input):\n",
    "    \n",
    "    state = {\"user_input\":user_input}\n",
    "    \n",
    "    # Route\n",
    "    output_router = router_chain.invoke({\"input\":user_input})\n",
    "    if \"language\" not in output_router: output_router[\"language\"] = \"English\"\n",
    "    state.update(output_router)\n",
    "    \n",
    "    # Translation\n",
    "    if output_router[\"language\"].lower() != \"english\":\n",
    "        translation = translation_chain.invoke({\"input\":user_input})\n",
    "        state[\"query\"] = translation[\"translation\"]\n",
    "    else:\n",
    "        state[\"query\"] = user_input\n",
    "        \n",
    "    # Decomposition\n",
    "    decomposition_output = decomposition_chain.invoke({\"input\":state[\"query\"]})\n",
    "    state.update(decomposition_output)\n",
    "    \n",
    "    # Query Analysis\n",
    "    questions = []\n",
    "    for question in state[\"questions\"]:\n",
    "        question_state = {\"question\":question}\n",
    "        analysis_output = rewriter_chain.invoke({\"input\":question})\n",
    "        question_state.update(analysis_output)\n",
    "        questions.append(question_state)\n",
    "    state[\"questions\"] = questions\n",
    "    \n",
    "    return state"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "4151d2e4-0bfe-4642-a185-2dcb639e6f78",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "# question = \"Franchement je sais pas trop de quoi on parle là, qui sont les membres du GIEC en fait ? Et quelles sont leurs dernières publications ?\"\n",
    "question = \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\"\n",
    "question = \"I need to search the president of the United States, find their age, then find how old they will be in June 2023.\"\n",
    "question = \"What does Morrison argue about IK and LK on internal migration ?\"\n",
    "state = transform_query(question)\n",
    "state"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "a322f737-191d-407f-b499-2b79476fac8b",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "questions = [\n",
    "    \"Super thanks, Which industries have the highest GHG emissions?\",\n",
    "    \"How do you compare the view on biodiversity between the IPCC and IPBES ?\",\n",
    "    \"Est-ce que l'IA a un impact sur l'environnement ?\",\n",
    "    \"Que dit le GIEC sur l'impact de l'IA\",\n",
    "    \"Franchement je sais pas trop de quoi on parle là, qui sont les membres du GIEC en fait ? Et quelles sont leurs dernières publications ?\",\n",
    "    \"Ok that's nice, but I don't really understand. What is the impact of El Nino ?\",\n",
    "    \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\",\n",
    "    \"Which industries have the highest GHG emissions?\",\n",
    "    \"What are invasive alien species and how do they threaten biodiversity and ecosystems?\",\n",
    "    \"Are human activities causing global warming?\",\n",
    "    \"What is the motivation behind mining the deep seabed?\",\n",
    "    \"Tu peux m'écrire un poème sur le changement climatique ?\",\n",
    "    \"Tu peux m'écrire un poème sur les bonbons ?\",\n",
    "    \"What will be the temperature in 2100 in Strasbourg?\",\n",
    "    \"C'est quoi le lien entre biodiversity and changement climatique ?\",\n",
    "    \"Can you tell me more about ESRS2 ?\"\n",
    "]\n",
    "\n",
    "question = questions[0]\n",
    "question"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "fcee82a3-342d-4da1-8c27-a6f6079da4a7",
   "metadata": {},
   "outputs": [],
   "source": [
    "question = \"Very nice thank you, What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\"\n",
    "output = rewriter_chain.invoke({\"input\":question})\n",
    "output"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "d13d6a1a-9fa5-4e47-861e-30a79ea97d05",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "for question in questions:\n",
    "    print(question)\n",
    "    output = transform_query(question)\n",
    "    print(output)\n",
    "    print(\"-\"*100)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "7a0d82ad-44e7-40a7-a594-48823429d70e",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "rewriter_chain.invoke({\"input\":question})"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "05aeeb92-9408-42b8-9f99-1e907c6a0798",
   "metadata": {},
   "source": [
    "# Langgraph\n",
    "Inspired from https://colab.research.google.com/drive/1WemHvycYcoNTDr33w7p2HL3FF72Nj88i?usp=sharing#scrollTo=YJ77ZCzkiGTL"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "8664f5f1-0db8-4c3d-8229-e1719224cde5",
   "metadata": {},
   "source": [
    "## Graph"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "id": "2376e1d7-5893-4022-a0af-155bb8c1950f",
   "metadata": {},
   "outputs": [],
   "source": [
    "from climateqa.engine.graph import make_graph_agent,display_graph\n",
    "agent = make_graph_agent(llm,vectorstore,reranker)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "a1f78d00-e4a0-40f3-a1e9-61dea83fa6cb",
   "metadata": {},
   "outputs": [],
   "source": [
    "display_graph(agent)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "3a07607b-eb02-467f-a255-0c6bcdc6f62c",
   "metadata": {},
   "outputs": [],
   "source": [
    "verbose = False\n",
    "# question = \"What does the IPCC and IPBES think about deforestation ?\"\n",
    "# question = \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\"\n",
    "# question = \"Are human activities causing global warming?\"\n",
    "# question = \"What are the evidence of climate change?\"\n",
    "# question = \"What specific mechanisms link solar activity, particularly sunspots, to changes in global climate?\"\n",
    "# question = \"In what ways does warming specifically help impoverished communities?\"\n",
    "question = \"What's the impact of PFAS on babies ?\"\n",
    "\n",
    "steps_display = {\n",
    "    \"categorize_intent\":(\"... Analyzing user message\",True),\n",
    "    \"transform_query\":(\"... Thinking step by step to answer the question\",True),\n",
    "    # \"retrieve_documents\":(\"... Searching in the knowledge base\",False),\n",
    "}\n",
    "\n",
    "def display_steps(event):\n",
    "\n",
    "    for event_name,(event_description,display_output) in steps_display.items():\n",
    "        if event[\"name\"] == event_name:\n",
    "            if event[\"event\"] == \"on_chain_start\":\n",
    "                print(event_description)\n",
    "            elif event[\"event\"] == \"on_chain_end\":\n",
    "                if display_output:\n",
    "                    print(event[\"data\"][\"output\"])\n",
    "    if event[\"name\"] == \"log_retriever\" and event[\"event\"] == \"on_chain_start\":\n",
    "        question = event[\"data\"][\"input\"][\"question\"]\n",
    "        sources = event[\"data\"][\"input\"][\"sources\"]\n",
    "        print(f\"\"\"... Searching for \"{question}\" in {\", \".join(sources)}\"\"\")\n",
    "\n",
    "async for event in agent.astream_events({\"user_input\":question,\"sources_input\":[\"IPCC\"],\"sources_auto\":False,\"audience\":\"experts\"},version = \"v1\"):\n",
    "# async for event in agent.astream_log({\"user_input\":question,\"sources_input\":[\"auto\"],\"audience\":\"experts\"}):\n",
    "\n",
    "    if verbose:\n",
    "        print(str(event)[:1000])\n",
    "        print(\"-\"*50)\n",
    "    else:\n",
    "    \n",
    "        if event[\"event\"] == \"on_chat_model_stream\":\n",
    "            print(event[\"data\"][\"chunk\"].content,end = \"\")\n",
    "\n",
    "        if event[\"name\"] == \"retrieve_documents\" and event[\"event\"] == \"on_chain_end\":\n",
    "            docs = event[\"data\"][\"output\"][\"documents\"]\n",
    "            \n",
    "        display_steps(event)\n",
    "        "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "a09f58e5-368b-486b-a458-7cfe56445c08",
   "metadata": {
    "scrolled": true
   },
   "outputs": [],
   "source": [
    "docs"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "9b41f377-b3a9-41eb-acef-fb3ea131c374",
   "metadata": {},
   "outputs": [],
   "source": [
    "output = await agent.ainvoke({\"user_input\":\"C'est quoi l'empreinte carbone de l'IA\"})\n",
    "output"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "8d89f36b-fc04-4d0c-b9c4-990b489b7fc3",
   "metadata": {},
   "source": [
    "## Test simple route chains"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "id": "1d884bb7-7230-47cb-a778-36cffed1fcde",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "from climateqa.engine.chains.answer_chitchat import make_chitchat_chain\n",
    "from climateqa.engine.chains.answer_ai_impact import make_ai_impact_chain\n",
    "\n",
    "chitchat_chain = make_chitchat_chain(llm)\n",
    "ai_impact_chain = make_ai_impact_chain(llm)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "586a4ead-6064-42e8-9f3c-8973b8d754c6",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "async for event in ai_impact_chain.astream_events({\"question\":\"Mais c'est quoi l'empreinte carbone de cet outil, ça doit consommer pas mal ...\"},version = \"v1\"):\n",
    "    if event[\"event\"] == \"on_chain_stream\":\n",
    "        print(event[\"data\"][\"chunk\"],end = \"\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "6f3a1c52-f92a-442b-9442-22415087da8b",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "async for event in chitchat_chain.astream_events({\"question\":\"Vas y blbablablala\"},version = \"v1\"):\n",
    "    if event[\"event\"] == \"on_chain_stream\":\n",
    "        print(event[\"data\"][\"chunk\"],end = \"\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "id": "0e380744-e03d-408d-9282-3fcb6925413b",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "from langchain.schema import Document\n",
    "from langgraph.graph import END, StateGraph"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "1788fbb7-90df-41e5-88c4-83c5e59fe23c",
   "metadata": {
    "tags": []
   },
   "source": [
    "## Retriever & Reranker"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "cbe2f9f0-0c0b-46f8-929c-51a94eab5f22",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "query = \"Is global warming caused by humans?\"\n",
    "\n",
    "retriever = ClimateQARetriever(\n",
    "    vectorstore=vectorstore,\n",
    "    sources = [\"IPCC\"],\n",
    "    # reports = ias_reports,\n",
    "   min_size = 200,\n",
    "   k_summary = 5,k_total = 100,\n",
    "   threshold = 0.5,\n",
    ")\n",
    "\n",
    "docs_question = retriever.get_relevant_documents(query)\n",
    "len(docs_question)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "6e6892d2-a5bd-456a-8284-6e844d02af0e",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "%%time\n",
    "from scipy.special import expit, logit\n",
    "\n",
    "def rerank_docs(reranker,docs,query):\n",
    "    \n",
    "    # Get a list of texts from langchain docs\n",
    "    input_docs = [x.page_content for x in docs]\n",
    "    \n",
    "    # Rerank using rerankers library\n",
    "    results = reranker.rank(query=query, docs=input_docs)\n",
    "\n",
    "    # Prepare langchain list of docs\n",
    "    docs_reranked = []\n",
    "    for result in results.results:\n",
    "        doc_id = result.document.doc_id\n",
    "        doc = docs[doc_id]\n",
    "        doc.metadata[\"rerank_score\"] = result.score\n",
    "        doc.metadata[\"query_used_for_retrieval\"] = query\n",
    "        docs_reranked.append(doc)\n",
    "    return docs_reranked\n",
    "\n",
    "docs_reranked = rerank_docs(reranker,docs_question,query)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "430209db-5ffb-4017-8ebd-12fee30df327",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "docs_reranked[0]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "5ed0b677-bcc4-48b0-bc99-2f515f2e7293",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "def divide_into_parts(target, parts):\n",
    "    # Base value for each part\n",
    "    base = target // parts\n",
    "    # Remainder to distribute\n",
    "    remainder = target % parts\n",
    "    # List to hold the result\n",
    "    result = []\n",
    "    \n",
    "    for i in range(parts):\n",
    "        if i < remainder:\n",
    "            # These parts get base value + 1\n",
    "            result.append(base + 1)\n",
    "        else:\n",
    "            # The rest get the base value\n",
    "            result.append(base)\n",
    "    \n",
    "    return result\n",
    "\n",
    "divide_into_parts(15,3)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "1886fe98-4a29-4419-b436-adcbdbda35ac",
   "metadata": {},
   "outputs": [],
   "source": [
    "questions = "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 133,
   "id": "4fca0c26-cc42-4f40-996a-c915b7c03a85",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "state = {'query': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\",\n",
    " 'questions': [{'question': \"What role do cloud formations play in modulating the Earth's radiative balance?\",\n",
    "   'sources': ['IPCC']},\n",
    "  {'question': 'How are cloud formations represented in current climate models?',\n",
    "   'sources': ['IPCC']}]}"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 177,
   "id": "28307adf-42bb-4067-a95d-c5c4867d2657",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "state = {'query': \"What does Morrison argue about the role of IK and LK ?\",\n",
    " 'questions': [{'question': \"How is the manga One Piece cited in the IPCC\",\n",
    "   'sources': ['IPCC']}]}"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 178,
   "id": "9daa8285-919b-4eab-b071-70ea866d473e",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "import sys\n",
    "import os\n",
    "from contextlib import contextmanager\n",
    "\n",
    "@contextmanager\n",
    "def suppress_output():\n",
    "    # Open a null device\n",
    "    with open(os.devnull, 'w') as devnull:\n",
    "        # Store the original stdout and stderr\n",
    "        old_stdout = sys.stdout\n",
    "        old_stderr = sys.stderr\n",
    "        # Redirect stdout and stderr to the null device\n",
    "        sys.stdout = devnull\n",
    "        sys.stderr = devnull\n",
    "        try:\n",
    "            yield\n",
    "        finally:\n",
    "            # Restore stdout and stderr\n",
    "            sys.stdout = old_stdout\n",
    "            sys.stderr = old_stderr"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 179,
   "id": "4fc2efe2-783d-44ba-a246-2472ce6fd19b",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "def retrieve_documents(state):\n",
    "    \n",
    "    POSSIBLE_SOURCES = [\"IPCC\",\"IPBES\",\"IPOS\",\"OpenAlex\"]\n",
    "    questions = state[\"questions\"]\n",
    "    \n",
    "    # Use sources from the user input or from the LLM detection\n",
    "    sources_input = state[\"sources_input\"] if \"sources_input\" in state else [\"auto\"]\n",
    "    auto_mode = \"auto\" in sources_input\n",
    "    \n",
    "    # Constants\n",
    "    k_final = 15\n",
    "    k_before_reranking = 100\n",
    "    k_summary = 5\n",
    "    rerank_by_question = True\n",
    "    \n",
    "    # There are several options to get the final top k\n",
    "    # Option 1 - Get 100 documents by question and rerank by question\n",
    "    # Option 2 - Get 100/n documents by question and rerank the total\n",
    "    if rerank_by_question:\n",
    "        k_by_question = divide_into_parts(k_final,len(questions))\n",
    "    \n",
    "    docs = []\n",
    "    \n",
    "    for i,q in enumerate(questions):\n",
    "        \n",
    "        sources = q[\"sources\"]\n",
    "        question = q[\"question\"]\n",
    "        \n",
    "        # If auto mode, we use the sources detected by the LLM\n",
    "        if auto_mode:\n",
    "            sources = [x for x in sources if x in POSSIBLE_SOURCES]\n",
    "            \n",
    "        # Otherwise, we use the config\n",
    "        else:\n",
    "            sources = sources_input\n",
    "            \n",
    "        # Search the document store using the retriever\n",
    "        # Configure high top k for further reranking step\n",
    "        retriever = ClimateQARetriever(\n",
    "            vectorstore=vectorstore,\n",
    "            sources = sources,\n",
    "            # reports = ias_reports,\n",
    "           min_size = 200,\n",
    "           k_summary = k_summary,k_total = k_before_reranking,\n",
    "           threshold = 0.5,\n",
    "        )\n",
    "        docs_question = retriever.get_relevant_documents(question)\n",
    "        \n",
    "        # Rerank\n",
    "        with suppress_output():\n",
    "            docs_question = rerank_docs(reranker,docs_question,question)\n",
    "        \n",
    "        # If rerank by question we select the top documents for each question\n",
    "        if rerank_by_question:\n",
    "            docs_question = docs_question[:k_by_question[i]]\n",
    "            \n",
    "        # Add sources used in the metadata\n",
    "        for doc in docs_question:\n",
    "            doc.metadata[\"sources_used\"] = sources\n",
    "        \n",
    "        # Add to the list of docs\n",
    "        docs.extend(docs_question)\n",
    "        \n",
    "    # Sorting the list in descending order by rerank_score\n",
    "    # Then select the top k\n",
    "    docs = sorted(docs, key=lambda x: x.metadata[\"rerank_score\"], reverse=True)\n",
    "    docs = docs[:k_final]\n",
    "    \n",
    "    new_state = {\"documents\":docs}\n",
    "    return new_state\n",
    "\n",
    "def search(state):\n",
    "    return {}"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "299cdae3-2e97-4e47-bad3-98643dfaf4ea",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "%%time\n",
    "output = retrieve_documents(state)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "638be0ea-bd41-45d7-ac7c-57ed789da3c5",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "rerank_scores = np.array([doc.metadata[\"rerank_score\"] for doc in output[\"documents\"]])\n",
    "print(rerank_scores)\n",
    "print(np.mean(rerank_scores))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "69ba19d3-97fb-4a23-99ee-c5827e0664e6",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "for doc in output[\"documents\"]:\n",
    "    print(doc)\n",
    "    print(\"\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "5ef9b1be-d913-4dbd-ad67-b87c4e948d11",
   "metadata": {},
   "source": [
    "## Create the RAG"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "b4638a7a-08c4-4259-a2de-77d1eb45a47c",
   "metadata": {},
   "outputs": [],
   "source": [
    "\n",
    "# async def answer_ai_impact(state,config):\n",
    "#     answer = await ai_impact_chain.ainvoke({\"question\":state[\"user_input\"]},config)\n",
    "#     return {\"answer\":answer}\n",
    "            \n",
    "async def answer_rag(state):\n",
    "    \n",
    "    # Get the docs\n",
    "    docs = state[\"documents\"]\n",
    "    \n",
    "    # Compute the trust average score\n",
    "    rerank_scores = np.array([doc.metadata[\"rerank_score\"] for doc in docs])\n",
    "    trust_score = np.mean(rerank_scores)\n",
    "    \n",
    "    # \n",
    "    answer = \"\\n\".join([x[\"question\"] for x in state[\"questions\"]])\n",
    "    return {\"answer\":answer}"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "827873ee-f74d-4ed6-a4f8-fc8a3ef6aea8",
   "metadata": {
    "tags": []
   },
   "source": [
    "## Test the graph"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "b91f4f58",
   "metadata": {},
   "outputs": [],
   "source": [
    "from climateqa.engine.graph import make_graph_agent,display_graph\n",
    "\n",
    "app = make_graph_agent(llm,vectorstore,reranker)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "c3c70cdb",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/jpeg": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZA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4DW7a81rLUnYt5rDURWtSRdvOREVURF36Kph39GafytOlUu4LG3KlFEbVgnpxvZXRERESNqps1ERETpt3Iec9k33i3Gb+3fff4CM+Te2JnBnANhdzQo+0jHI7m3b4VLt19fT1nSyUuaHsxrHFg9Q3NL46NuzMdi6dNIGqqq5zkR8DlRVVVVeu30d56PuJ1ByonlCzm+/f4Hj/8ADHRh5sKinDyzNoiO7zFkYmXa91CRsW6zOVrY+Vdl51ciN2/l2MTT2HvYeCVl7O3M697uZstyKCNzE27k7GNibfnRVLvhxpWTVeqK07mL4rxczbE8ip0fM3Z0UaL61R3K9fYiN39JDeLjU4OFOLXuiP8AbfutPF9AgA/lygAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA5/rDhDS1Bblv42yuHyEqq6XljR8Ezl+c9m6LzfS1U39e5Cz8H9YQvVI2Yayz1PS5LGq/nasK7fzqd6B9bB/inacCnJE3iNf9ut9XAfJLrP8AFMR+sH/YjyS6z/FMR+sH/YnfgdP867TpHT/Ju0cB8kus/wAUxH6wf9iPJLrP8UxH6wf9id+A/nXadI6f5N2jgPkl1n+KYj9YP+xPLeEms1XZauIT6VyEn2J30E/nXadI6f5N2jjeG4HZGzI12cysNaBFRXV8Wiuc76O1eibJ+ZiL7FQ6xicRTwOOgoY+uyrTgbyxxRp0Truq/Sqqqqqr1VVVV6qZgPndp7Zj9q9bVu07gABxIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/2Q==",
      "text/plain": [
       "<IPython.core.display.Image object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "display_graph(app)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "3c387c53",
   "metadata": {},
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "05ead97d",
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/tmp/ipykernel_26385/4164394190.py:6: LangChainBetaWarning: This API is in beta and may change in the future.\n",
      "  async for event in app.astream_events({\"user_input\": question,\"sources\":[\"auto\"], \"audience\" : 'expert'}, version=\"v1\"):\n",
      "INFO:httpx:HTTP Request: POST https://api.openai.com/v1/chat/completions \"HTTP/1.1 200 OK\"\n",
      "INFO:httpx:HTTP Request: POST https://api.openai.com/v1/chat/completions \"HTTP/1.1 200 OK\"\n",
      "INFO:httpx:HTTP Request: POST https://api.openai.com/v1/chat/completions \"HTTP/1.1 200 OK\"\n",
      "INFO:httpx:HTTP Request: POST https://api.openai.com/v1/chat/completions \"HTTP/1.1 200 OK\"\n",
      "WARNING:langchain_core.callbacks.manager:Error in LogStreamCallbackHandler.on_chain_start callback: ValidationError(model='Run', errors=[{'loc': ('__root__',), 'msg': \"argument of type 'NoneType' is not iterable\", 'type': 'type_error'}])\n",
      "WARNING:langchain_core.callbacks.manager:Error in LangChainTracer.on_chain_start callback: ValidationError(model='Run', errors=[{'loc': ('__root__',), 'msg': \"argument of type 'NoneType' is not iterable\", 'type': 'type_error'}])\n",
      "WARNING:langchain_core.callbacks.manager:Error in LogStreamCallbackHandler.on_chain_end callback: TracerException('No indexed run ID 27bbc43d-748e-4061-a61a-872ea1e50b7e.')\n",
      "WARNING:langchain_core.callbacks.manager:Error in LangChainTracer.on_chain_end callback: TracerException('No indexed run ID 27bbc43d-748e-4061-a61a-872ea1e50b7e.')\n",
      "WARNING:langchain_core.callbacks.manager:Error in LogStreamCallbackHandler.on_chain_start callback: ValidationError(model='Run', errors=[{'loc': ('__root__',), 'msg': \"argument of type 'NoneType' is not iterable\", 'type': 'type_error'}])\n",
      "WARNING:langchain_core.callbacks.manager:Error in LangChainTracer.on_chain_start callback: ValidationError(model='Run', errors=[{'loc': ('__root__',), 'msg': \"argument of type 'NoneType' is not iterable\", 'type': 'type_error'}])\n",
      "WARNING:langchain_core.callbacks.manager:Error in LogStreamCallbackHandler.on_chain_end callback: TracerException('No indexed run ID 81a5385d-b9ff-4ec0-a581-15629901a185.')\n",
      "WARNING:langchain_core.callbacks.manager:Error in LangChainTracer.on_chain_end callback: TracerException('No indexed run ID 81a5385d-b9ff-4ec0-a581-15629901a185.')\n",
      "WARNING:langchain_core.callbacks.manager:Error in LogStreamCallbackHandler.on_chain_start callback: ValidationError(model='Run', errors=[{'loc': ('__root__',), 'msg': \"argument of type 'NoneType' is not iterable\", 'type': 'type_error'}])\n",
      "WARNING:langchain_core.callbacks.manager:Error in LangChainTracer.on_chain_start callback: ValidationError(model='Run', errors=[{'loc': ('__root__',), 'msg': \"argument of type 'NoneType' is not iterable\", 'type': 'type_error'}])\n",
      "WARNING:langchain_core.callbacks.manager:Error in LogStreamCallbackHandler.on_chain_end callback: TracerException('No indexed run ID 21a2d759-f3b0-480f-b1ba-52d6ce3ab09d.')\n",
      "WARNING:langchain_core.callbacks.manager:Error in LangChainTracer.on_chain_end callback: TracerException('No indexed run ID 21a2d759-f3b0-480f-b1ba-52d6ce3ab09d.')\n",
      "INFO:httpx:HTTP Request: POST https://api.openai.com/v1/chat/completions \"HTTP/1.1 200 OK\"\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Cloud formations play a crucial role in modulating the Earth's radiative balance. They can either reflect incoming solar radiation back to space, cooling the Earth, or trap outgoing infrared radiation, contributing to warming. The representation of clouds in climate models is essential for accurately simulating the Earth's energy balance and predicting future climate changes.\n",
      "\n",
      "In current climate models, the representation of clouds, particularly low-level clouds, is a significant factor influencing the models' equilibrium climate sensitivity (ECS). The ECS of a model is determined by its effective radiative forcing from a doubling of CO2 and the feedbacks from cloud formations. The spread in ECS among different models is mainly attributed to cloud feedbacks, especially the response of low-level clouds [Doc 7].\n",
      "\n",
      "Despite efforts to improve cloud parametrizations and model resolutions, there has been no systematic convergence in model estimates of ECS. In fact, the inter-model spread in ECS for the latest CMIP6 models is larger than for CMIP5 models, indicating ongoing challenges in accurately representing cloud formations in climate models [Doc 7].\n",
      "\n",
      "Overall, the representation of cloud formations in current climate models is crucial for understanding and predicting the Earth's radiative balance and the impacts of climate change. Ongoing research and advancements in model development are essential to improve the accuracy of cloud representations in climate models."
     ]
    }
   ],
   "source": [
    "# question = \"Tu penses quoi de Shakespeare ?\"\n",
    "question = \"C'est quoi la recette de la tarte aux pommes ?\"\n",
    "question = \"C'est quoi l'impact de ChatGPT ?\"\n",
    "question = \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\"\n",
    "events_list = []\n",
    "async for event in app.astream_events({\"user_input\": question,\"sources\":[\"auto\"], \"audience\" : 'expert'}, version=\"v1\"):\n",
    "    events_list.append(event)\n",
    "\n",
    "    if event[\"event\"] == \"on_chat_model_stream\":\n",
    "        token = event[\"data\"][\"chunk\"].content\n",
    "        print(token,end = \"\")\n",
    "    else :\n",
    "        events_list.append(event)\n",
    "        # print(event)\n",
    "        # print(\"\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "4aa3d0c7",
   "metadata": {},
   "outputs": [],
   "source": [
    "steps_display = {\n",
    "    \"categorize_intent\":(\"🔄️ Analyzing user message\",True),\n",
    "    \"transform_query\":(\"🔄️ Thinking step by step to answer the question\",True),\n",
    "    \"retrieve_documents\":(\"🔄️ Searching in the knowledge base\",False),\n",
    "}"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "id": "ad6b4819",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'event': 'on_chain_start', 'name': 'categorize_intent', 'run_id': '3ad80670-fa9e-4964-9961-f61d3d51b31b', 'tags': ['graph:step:1'], 'metadata': {'langgraph_step': 1, 'langgraph_node': 'categorize_intent', 'langgraph_triggers': ['start:categorize_intent'], 'langgraph_path': ('__pregel_pull', 'categorize_intent'), 'langgraph_checkpoint_ns': 'categorize_intent:60ee815d-ddc7-53f9-ee31-896198d632db'}, 'data': {'input': {'user_input': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\", 'audience': 'expert'}}, 'parent_ids': []}\n",
      "{'event': 'on_chain_start', 'name': 'categorize_intent', 'run_id': '3ad80670-fa9e-4964-9961-f61d3d51b31b', 'tags': ['graph:step:1'], 'metadata': {'langgraph_step': 1, 'langgraph_node': 'categorize_intent', 'langgraph_triggers': ['start:categorize_intent'], 'langgraph_path': ('__pregel_pull', 'categorize_intent'), 'langgraph_checkpoint_ns': 'categorize_intent:60ee815d-ddc7-53f9-ee31-896198d632db'}, 'data': {'input': {'user_input': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\", 'audience': 'expert'}}, 'parent_ids': []}\n",
      "{'event': 'on_chain_stream', 'name': 'categorize_intent', 'run_id': '3ad80670-fa9e-4964-9961-f61d3d51b31b', 'tags': ['graph:step:1'], 'metadata': {'langgraph_step': 1, 'langgraph_node': 'categorize_intent', 'langgraph_triggers': ['start:categorize_intent'], 'langgraph_path': ('__pregel_pull', 'categorize_intent'), 'langgraph_checkpoint_ns': 'categorize_intent:60ee815d-ddc7-53f9-ee31-896198d632db'}, 'data': {'chunk': {'intent': 'search', 'language': 'English', 'query': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\"}}, 'parent_ids': []}\n",
      "{'event': 'on_chain_stream', 'name': 'categorize_intent', 'run_id': '3ad80670-fa9e-4964-9961-f61d3d51b31b', 'tags': ['graph:step:1'], 'metadata': {'langgraph_step': 1, 'langgraph_node': 'categorize_intent', 'langgraph_triggers': ['start:categorize_intent'], 'langgraph_path': ('__pregel_pull', 'categorize_intent'), 'langgraph_checkpoint_ns': 'categorize_intent:60ee815d-ddc7-53f9-ee31-896198d632db'}, 'data': {'chunk': {'intent': 'search', 'language': 'English', 'query': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\"}}, 'parent_ids': []}\n",
      "{'event': 'on_chain_end', 'name': 'categorize_intent', 'run_id': '3ad80670-fa9e-4964-9961-f61d3d51b31b', 'tags': ['graph:step:1'], 'metadata': {'langgraph_step': 1, 'langgraph_node': 'categorize_intent', 'langgraph_triggers': ['start:categorize_intent'], 'langgraph_path': ('__pregel_pull', 'categorize_intent'), 'langgraph_checkpoint_ns': 'categorize_intent:60ee815d-ddc7-53f9-ee31-896198d632db'}, 'data': {'input': {'user_input': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\", 'audience': 'expert'}, 'output': {'intent': 'search', 'language': 'English', 'query': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\"}}, 'parent_ids': []}\n",
      "{'event': 'on_chain_end', 'name': 'categorize_intent', 'run_id': '3ad80670-fa9e-4964-9961-f61d3d51b31b', 'tags': ['graph:step:1'], 'metadata': {'langgraph_step': 1, 'langgraph_node': 'categorize_intent', 'langgraph_triggers': ['start:categorize_intent'], 'langgraph_path': ('__pregel_pull', 'categorize_intent'), 'langgraph_checkpoint_ns': 'categorize_intent:60ee815d-ddc7-53f9-ee31-896198d632db'}, 'data': {'input': {'user_input': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\", 'audience': 'expert'}, 'output': {'intent': 'search', 'language': 'English', 'query': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\"}}, 'parent_ids': []}\n"
     ]
    }
   ],
   "source": [
    "nodes =[]\n",
    "for event in events_list:\n",
    "    # print(\"event\",event[\"event\"],\"name\",event[\"name\"], \"metadata\", event[\"metadata\"])\n",
    "    if \"langgraph_node\" in event[\"metadata\"]:\n",
    "        nodes.append(event[\"metadata\"][\"langgraph_node\"])\n",
    "        \n",
    "        \n",
    "        # print(\"node : \", event[\"metadata\"][\"langgraph_node\"], \"event\",event[\"event\"],\"name\",event[\"name\"])\n",
    "    # print(event[\"event\"],\"name\",event[\"name\"])\n",
    "    # if event[\"event\"] == \"on_chat_model_stream\":\n",
    "    #     print(event)\n",
    "\n",
    "    # if event[\"name\"] in steps_display.keys() and event[\"event\"] == \"on_chain_end\": #display steps\n",
    "        # if event[\"event\"] == \"on_chain_end\" and event[\"name\"] == \"transform_query\": #display steps\n",
    "        # if  event[\"name\"] == \"transform_query\": #display steps\n",
    "        #     print(event)\n",
    "        \n",
    "    # if event[\"name\"] != \"transform_query\" and event[\"event\"] == \"on_chat_model_stream\":\n",
    "    #     print(event)\n",
    "    if event[\"name\"] == \"categorize_intent\":\n",
    "        print(event)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "e54af13e",
   "metadata": {},
   "outputs": [
    {
     "ename": "NameError",
     "evalue": "name 'Document' is not defined",
     "output_type": "error",
     "traceback": [
      "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[0;31mNameError\u001b[0m                                 Traceback (most recent call last)",
      "Cell \u001b[0;32mIn[3], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m x \u001b[38;5;241m=\u001b[39m {\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mevent\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mon_chain_end\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mname\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mretrieve_documents\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mrun_id\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124m60525384-8138-4522-99c1-a1eb59defbd4\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtags\u001b[39m\u001b[38;5;124m'\u001b[39m: [\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mgraph:step:4\u001b[39m\u001b[38;5;124m'\u001b[39m], \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mmetadata\u001b[39m\u001b[38;5;124m'\u001b[39m: {\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mlanggraph_step\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m4\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mlanggraph_node\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mretrieve_documents\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mlanggraph_triggers\u001b[39m\u001b[38;5;124m'\u001b[39m: [\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtransform_query\u001b[39m\u001b[38;5;124m'\u001b[39m], \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mlanggraph_path\u001b[39m\u001b[38;5;124m'\u001b[39m: (\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m__pregel_pull\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mretrieve_documents\u001b[39m\u001b[38;5;124m'\u001b[39m), \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mlanggraph_checkpoint_ns\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mretrieve_documents:29351557-d5e9-6fb7-9c8f-fc1101da92e8\u001b[39m\u001b[38;5;124m'\u001b[39m}, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdata\u001b[39m\u001b[38;5;124m'\u001b[39m: {\u001b[38;5;124m'\u001b[39m\u001b[38;5;124minput\u001b[39m\u001b[38;5;124m'\u001b[39m: {\u001b[38;5;124m'\u001b[39m\u001b[38;5;124muser_input\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mI am not really sure what you mean. What role do cloud formations play in modulating the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms radiative balance, and how are they represented in current climate models?\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mlanguage\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mEnglish\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mintent\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msearch\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquery\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mI am not really sure what you mean. What role do cloud formations play in modulating the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms radiative balance, and how are they represented in current climate models?\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mremaining_questions\u001b[39m\u001b[38;5;124m'\u001b[39m: [{\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquestion\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWhat role do cloud formations play in modulating the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms radiative balance?\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msources\u001b[39m\u001b[38;5;124m'\u001b[39m: [\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPOS\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPBES\u001b[39m\u001b[38;5;124m'\u001b[39m], \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mindex\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mVector\u001b[39m\u001b[38;5;124m'\u001b[39m}, {\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquestion\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mHow are cloud formations represented in current climate models?\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msources\u001b[39m\u001b[38;5;124m'\u001b[39m: [\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPOS\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPBES\u001b[39m\u001b[38;5;124m'\u001b[39m], \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mindex\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mVector\u001b[39m\u001b[38;5;124m'\u001b[39m}], \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mn_questions\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m2\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124maudience\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mexpert\u001b[39m\u001b[38;5;124m'\u001b[39m}, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124moutput\u001b[39m\u001b[38;5;124m'\u001b[39m: {\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocuments\u001b[39m\u001b[38;5;124m'\u001b[39m: [\u001b[43mDocument\u001b[49m(metadata\u001b[38;5;241m=\u001b[39m{\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mchunk_type\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtext\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument_id\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument1\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument_number\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m1.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124melement_id\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mfigure_code\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mfile_size\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mimage_path\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mn_pages\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m32.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mname\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mSummary for Policymakers. In: Climate Change 2021: The Physical Science Basis. Contribution of the WGI to the AR6 of the IPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_characters\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m1056.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_tokens\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m219.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_tokens_approx\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m266.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_words\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m200.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mpage_number\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m7\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mrelease_date\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m2021.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mreport_type\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mSPM\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msection_header\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mFigure SPM.2 | Assessed contributions to observed warming in 2010-2019 relative to 1850-1900\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mshort_name\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC AR6 WGI SPM\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msource\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level0\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mA. The Current State of the Climate\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level1\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level2\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level3\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124murl\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mhttps://www.ipcc.ch/report/ar6/wg1/downloads/report/IPCC_AR6_WGI_SPM.pdf\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msimilarity_score\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m0.595214307\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mcontent\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mPanel (b) Evidence from attribution studies, which synthesize information from climate models and observations. The panel shows temperature  change attributed to: total human influence; changes in well-mixed greenhouse gas concentrations; other human drivers due to aerosols, ozone and land-use  change (land-use reflectance); solar and volcanic drivers; and internal climate variability. Whiskers show likely ranges.\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124mPanel (c) Evidence from the assessment of radiative forcing and climate sensitivity. The panel shows temperature changes from individual components  of human influence: emissions of greenhouse gases, aerosols and their precursors; land-use changes (land-use reflectance and irrigation); and aviation contrails.  Whiskers show very likely ranges. Estimates account for both direct emissions into the atmosphere and their effect, if any, on other climate drivers. For aerosols,  both direct effects (through radiation) and indirect effects (through interactions with clouds) are considered.  \u001b[39m\u001b[38;5;124m{\u001b[39m\u001b[38;5;124mCross-Chapter Box 2.3, 3.3.1, 6.4.2, 7.3}\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mreranking_score\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m0.9769342541694641\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquery_used_for_retrieval\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWhat role do cloud formations play in modulating the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms radiative balance?\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msources_used\u001b[39m\u001b[38;5;124m'\u001b[39m: [\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPOS\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPBES\u001b[39m\u001b[38;5;124m'\u001b[39m], \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquestion_used\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWhat role do cloud formations play in modulating the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms radiative balance?\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mindex_used\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mVector\u001b[39m\u001b[38;5;124m'\u001b[39m}, page_content\u001b[38;5;241m=\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mPanel (b) Evidence from attribution studies, which synthesize information from climate models and observations. The panel shows temperature  change attributed to: total human influence; changes in well-mixed greenhouse gas concentrations; other human drivers due to aerosols, ozone and land-use  change (land-use reflectance); solar and volcanic drivers; and internal climate variability. Whiskers show likely ranges.\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124mPanel (c) Evidence from the assessment of radiative forcing and climate sensitivity. The panel shows temperature changes from individual components  of human influence: emissions of greenhouse gases, aerosols and their precursors; land-use changes (land-use reflectance and irrigation); and aviation contrails.  Whiskers show very likely ranges. Estimates account for both direct emissions into the atmosphere and their effect, if any, on other climate drivers. For aerosols,  both direct effects (through radiation) and indirect effects (through interactions with clouds) are considered.  \u001b[39m\u001b[38;5;124m{\u001b[39m\u001b[38;5;124mCross-Chapter Box 2.3, 3.3.1, 6.4.2, 7.3}\u001b[39m\u001b[38;5;124m'\u001b[39m), Document(metadata\u001b[38;5;241m=\u001b[39m{\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mchunk_type\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtext\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument_id\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument1\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument_number\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m1.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124melement_id\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mfigure_code\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mfile_size\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mimage_path\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mn_pages\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m32.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mname\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mSummary for Policymakers. In: Climate Change 2021: The Physical Science Basis. Contribution of the WGI to the AR6 of the IPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_characters\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m638.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_tokens\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m177.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_tokens_approx\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m200.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_words\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m150.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mpage_number\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m11\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mrelease_date\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m2021.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mreport_type\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mSPM\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msection_header\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mFigure SPM.3 | Synthesis of assessed observed and attributable regional changes \u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mshort_name\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC AR6 WGI SPM\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msource\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level0\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mA. The Current State of the Climate\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level1\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level2\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level3\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124murl\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mhttps://www.ipcc.ch/report/ar6/wg1/downloads/report/IPCC_AR6_WGI_SPM.pdf\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msimilarity_score\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m0.592556596\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mcontent\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mA.4.1 Human-caused radiative forcing of 2.72 [1.96 to 3.48] W m-2 in 2019 relative to 1750 has warmed the climate system. This  warming is mainly due to increased GHG concentrations, partly reduced by cooling due to increased aerosol concentrations.  The radiative forcing has increased by 0.43 W m-2 (19\u001b[39m\u001b[38;5;124m%\u001b[39m\u001b[38;5;124m) relative to AR5, of which 0.34 W m-2 is due to the increase in GHG  concentrations since 2011. The remainder is due to improved scientific understanding and changes in the assessment of  aerosol forcing, which include decreases in concentration and improvement in its calculation (high confidence).  \u001b[39m\u001b[38;5;124m{\u001b[39m\u001b[38;5;124m2.2, 7.3, TS.2.2, TS.3.1}\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mreranking_score\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m0.907663881778717\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquery_used_for_retrieval\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWhat role do cloud formations play in modulating the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms radiative balance?\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msources_used\u001b[39m\u001b[38;5;124m'\u001b[39m: [\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPOS\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPBES\u001b[39m\u001b[38;5;124m'\u001b[39m], \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquestion_used\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWhat role do cloud formations play in modulating the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms radiative balance?\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mindex_used\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mVector\u001b[39m\u001b[38;5;124m'\u001b[39m}, page_content\u001b[38;5;241m=\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mA.4.1 Human-caused radiative forcing of 2.72 [1.96 to 3.48] W m-2 in 2019 relative to 1750 has warmed the climate system. This  warming is mainly due to increased GHG concentrations, partly reduced by cooling due to increased aerosol concentrations.  The radiative forcing has increased by 0.43 W m-2 (19\u001b[39m\u001b[38;5;124m%\u001b[39m\u001b[38;5;124m) relative to AR5, of which 0.34 W m-2 is due to the increase in GHG  concentrations since 2011. The remainder is due to improved scientific understanding and changes in the assessment of  aerosol forcing, which include decreases in concentration and improvement in its calculation (high confidence).  \u001b[39m\u001b[38;5;124m{\u001b[39m\u001b[38;5;124m2.2, 7.3, TS.2.2, TS.3.1}\u001b[39m\u001b[38;5;124m'\u001b[39m), Document(metadata\u001b[38;5;241m=\u001b[39m{\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mchunk_type\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtext\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument_id\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument1\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument_number\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m1.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124melement_id\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mfigure_code\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mfile_size\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mimage_path\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mn_pages\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m32.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mname\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mSummary for Policymakers. In: Climate Change 2021: The Physical Science Basis. Contribution of the WGI to the AR6 of the IPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_characters\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m827.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_tokens\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m238.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_tokens_approx\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m278.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_words\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m209.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mpage_number\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m19\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mrelease_date\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m2021.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mreport_type\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mSPM\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msection_header\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mFigure SPM.6 | Projected changes in the intensity and frequency of hot temperature extremes over land, extreme precipitation over land, \u001b[39m\u001b[38;5;130;01m\\r\u001b[39;00m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124mand agricultural and ecological droughts in drying regions\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mshort_name\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC AR6 WGI SPM\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msource\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level0\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mB. Possible Climate Futures\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level1\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level2\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level3\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124murl\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mhttps://www.ipcc.ch/report/ar6/wg1/downloads/report/IPCC_AR6_WGI_SPM.pdf\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msimilarity_score\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m0.582914889\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mcontent\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mB.3.4 A projected southward shift and intensification of Southern Hemisphere summer mid-latitude storm tracks and associated  precipitation is likely in the long term under high GHG emissions scenarios (SSP3-7.0, SSP5-8.5), but in the near term  the effect of stratospheric ozone recovery counteracts these changes (high confidence). There is medium confidence in  a continued poleward shift of storms and their precipitation in the North Pacific, while there is low confidence in projected  changes in the North Atlantic storm tracks.  \u001b[39m\u001b[38;5;124m{\u001b[39m\u001b[38;5;124m4.4, 4.5, 8.4, TS.2.3, TS.4.2}\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124m{\u001b[39m\u001b[38;5;124m4.4, 4.5, 8.4, TS.2.3, TS.4.2}\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124mB.4 Under scenarios with increasing CO2 emissions, the ocean and land carbon sinks are projected to be less  effective at slowing the accumulation of CO2 in the atmosphere.  \u001b[39m\u001b[38;5;124m{\u001b[39m\u001b[38;5;124m4.3, 5.2, 5.4, 5.5, 5.6} (Figure SPM.7)\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124m1919\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mreranking_score\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m0.8376452922821045\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquery_used_for_retrieval\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWhat role do cloud formations play in modulating the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms radiative balance?\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msources_used\u001b[39m\u001b[38;5;124m'\u001b[39m: [\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPOS\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPBES\u001b[39m\u001b[38;5;124m'\u001b[39m], \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquestion_used\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWhat role do cloud formations play in modulating the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms radiative balance?\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mindex_used\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mVector\u001b[39m\u001b[38;5;124m'\u001b[39m}, page_content\u001b[38;5;241m=\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mB.3.4 A projected southward shift and intensification of Southern Hemisphere summer mid-latitude storm tracks and associated  precipitation is likely in the long term under high GHG emissions scenarios (SSP3-7.0, SSP5-8.5), but in the near term  the effect of stratospheric ozone recovery counteracts these changes (high confidence). There is medium confidence in  a continued poleward shift of storms and their precipitation in the North Pacific, while there is low confidence in projected  changes in the North Atlantic storm tracks.  \u001b[39m\u001b[38;5;124m{\u001b[39m\u001b[38;5;124m4.4, 4.5, 8.4, TS.2.3, TS.4.2}\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124m{\u001b[39m\u001b[38;5;124m4.4, 4.5, 8.4, TS.2.3, TS.4.2}\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124mB.4 Under scenarios with increasing CO2 emissions, the ocean and land carbon sinks are projected to be less  effective at slowing the accumulation of CO2 in the atmosphere.  \u001b[39m\u001b[38;5;124m{\u001b[39m\u001b[38;5;124m4.3, 5.2, 5.4, 5.5, 5.6} (Figure SPM.7)\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124m1919\u001b[39m\u001b[38;5;124m'\u001b[39m), Document(metadata\u001b[38;5;241m=\u001b[39m{\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mchunk_type\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtext\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument_id\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument4\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument_number\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m4.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124melement_id\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mfigure_code\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mfile_size\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mimage_path\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mn_pages\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m34.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mname\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mSummary for Policymakers. In: Climate Change 2022: Impacts, Adaptation and Vulnerability. Contribution of the WGII to the AR6 of the IPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_characters\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m806.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_tokens\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m147.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_tokens_approx\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m162.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_words\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m122.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mpage_number\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m19\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mrelease_date\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m2022.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mreport_type\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mSPM\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msection_header\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mComplex, Compound and Cascading Risks\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mshort_name\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC AR6 WGII SPM\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msource\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level0\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mB: Observed and Projected Impacts and Risks\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level1\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mImpacts of Temporary Overshoot\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level2\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level3\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124murl\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mhttps://www.ipcc.ch/report/ar6/wg2/downloads/report/IPCC_AR6_WGII_SummaryForPolicymakers.pdf\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msimilarity_score\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m0.581911206\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mcontent\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mB.5.5 Solar radiation modification approaches, if they were to be implemented, introduce a widespread range of new risks to people and  ecosystems, which are not well understood (high confidence). Solar radiation modification approaches have potential to offset warming  and ameliorate some climate hazards, but substantial residual climate change or overcompensating change would occur at regional  scales and seasonal timescales (high confidence). Large uncertainties and knowledge gaps are associated with the potential of solar  radiation modification approaches to reduce climate change risks. Solar radiation modification would not stop atmospheric CO2 concentrations from increasing or reduce resulting ocean acidification under continued anthropogenic emissions (high confidence).  \u001b[39m\u001b[38;5;124m{\u001b[39m\u001b[38;5;124mCWGB SRM}\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mreranking_score\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m0.7240780591964722\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquery_used_for_retrieval\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWhat role do cloud formations play in modulating the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms radiative balance?\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msources_used\u001b[39m\u001b[38;5;124m'\u001b[39m: [\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPOS\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPBES\u001b[39m\u001b[38;5;124m'\u001b[39m], \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquestion_used\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWhat role do cloud formations play in modulating the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms radiative balance?\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mindex_used\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mVector\u001b[39m\u001b[38;5;124m'\u001b[39m}, page_content\u001b[38;5;241m=\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mB.5.5 Solar radiation modification approaches, if they were to be implemented, introduce a widespread range of new risks to people and  ecosystems, which are not well understood (high confidence). Solar radiation modification approaches have potential to offset warming  and ameliorate some climate hazards, but substantial residual climate change or overcompensating change would occur at regional  scales and seasonal timescales (high confidence). Large uncertainties and knowledge gaps are associated with the potential of solar  radiation modification approaches to reduce climate change risks. Solar radiation modification would not stop atmospheric CO2 concentrations from increasing or reduce resulting ocean acidification under continued anthropogenic emissions (high confidence).  \u001b[39m\u001b[38;5;124m{\u001b[39m\u001b[38;5;124mCWGB SRM}\u001b[39m\u001b[38;5;124m'\u001b[39m), Document(metadata\u001b[38;5;241m=\u001b[39m{\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mchunk_type\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtext\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument_id\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument10\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument_number\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m10.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124melement_id\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mfigure_code\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mfile_size\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mimage_path\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mn_pages\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m36.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mname\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mSynthesis report of the IPCC Sixth Assesment Report AR6\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_characters\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m686.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_tokens\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m163.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_tokens_approx\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m182.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_words\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m137.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mpage_number\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m19\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mrelease_date\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m2023.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mreport_type\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mSPM\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msection_header\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mFuture Climate Change \u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mshort_name\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC AR6 SYR\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msource\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level0\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level1\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level2\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level3\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124murl\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mhttps://www.ipcc.ch/report/ar6/syr/downloads/report/IPCC_AR6_SYR_SPM.pdf\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msimilarity_score\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m0.581764042\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mcontent\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mPermafrost, seasonal snow cover, glaciers, the Greenland and Antarctic Ice Sheets, an\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124msonal snow cover, glaciers, the Greenland and Antarctic Ice Sheets, and Arctic se\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124m35 Based on 2500-year reconstructions, eruptions with a radiative forcing more negative than -1 W m-2, related to the radiative effect of volcanic stratospheric  aerosols in the literature assessed in this report, occur on average twice per century. \u001b[39m\u001b[38;5;132;01m{4.3}\u001b[39;00m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124m35 Based on 2500-year reconstructions, eruptions with a radiative forcing more negative than -1 W m-2, related to the radiative effect of volcanic stratospheric  aerosols in the literature assessed in this report, occur on average twice per century. \u001b[39m\u001b[38;5;132;01m{4.3}\u001b[39;00m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124m1313\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mreranking_score\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m0.7240780591964722\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquery_used_for_retrieval\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWhat role do cloud formations play in modulating the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms radiative balance?\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msources_used\u001b[39m\u001b[38;5;124m'\u001b[39m: [\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPOS\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPBES\u001b[39m\u001b[38;5;124m'\u001b[39m], \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquestion_used\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWhat role do cloud formations play in modulating the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms radiative balance?\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mindex_used\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mVector\u001b[39m\u001b[38;5;124m'\u001b[39m}, page_content\u001b[38;5;241m=\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mPermafrost, seasonal snow cover, glaciers, the Greenland and Antarctic Ice Sheets, an\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124msonal snow cover, glaciers, the Greenland and Antarctic Ice Sheets, and Arctic se\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124m35 Based on 2500-year reconstructions, eruptions with a radiative forcing more negative than -1 W m-2, related to the radiative effect of volcanic stratospheric  aerosols in the literature assessed in this report, occur on average twice per century. \u001b[39m\u001b[38;5;132;01m{4.3}\u001b[39;00m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124m35 Based on 2500-year reconstructions, eruptions with a radiative forcing more negative than -1 W m-2, related to the radiative effect of volcanic stratospheric  aerosols in the literature assessed in this report, occur on average twice per century. \u001b[39m\u001b[38;5;132;01m{4.3}\u001b[39;00m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124m1313\u001b[39m\u001b[38;5;124m'\u001b[39m), Document(metadata\u001b[38;5;241m=\u001b[39m{\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mchunk_type\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtext\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument_id\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument2\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument_number\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m2.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124melement_id\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mfigure_code\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mfile_size\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mimage_path\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mn_pages\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m2409.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mname\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mFull Report. In: Climate Change 2021: The Physical Science Basis. Contribution of the WGI to the AR6 of the IPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_characters\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m644.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_tokens\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m151.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_tokens_approx\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m165.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_words\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m124.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mpage_number\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m950\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mrelease_date\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m2021.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mreport_type\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mFull Report\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msection_header\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124m7.2.1 Present-day Energy Budget\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mshort_name\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC AR6 WGI FR\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msource\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level0\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124m7: The Earth’s Energy Budget, Climate Feedbacks and Climate Sensitivity\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level1\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124m7.2 Earth’s Energy Budget and its Changes\u001b[39m\u001b[38;5;130;01m\\xa0\u001b[39;00m\u001b[38;5;124mThrough Time\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level2\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124m7.2.1 Present-day Energy Budget\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level3\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124murl\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mhttps://report.ipcc.ch/ar6/wg1/IPCC_AR6_WGI_FullReport.pdf\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msimilarity_score\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m0.741419494\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mcontent\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mFigure 7.2 (upper panel) shows a schematic representation of Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms  energy budget for the early 21st century, including globally averaged  estimates of the individual components (Wild et al., 2015). Clouds are  important modulators of global energy fluxes. Thus, any perturbations  in the cloud fields, such as forcing by aerosol-cloud interactions  (Section  7.3) or through cloud feedbacks (Section  7.4) can have  a strong influence on the energy distribution in the climate system.  To illustrate the overall effects that clouds exert on energy fluxes,  Figure 7.2 (lower panel) also shows the energy budget in the absence \u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124m933933\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mreranking_score\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m0.7089773416519165\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquery_used_for_retrieval\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWhat role do cloud formations play in modulating the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms radiative balance?\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msources_used\u001b[39m\u001b[38;5;124m'\u001b[39m: [\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPOS\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPBES\u001b[39m\u001b[38;5;124m'\u001b[39m], \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquestion_used\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWhat role do cloud formations play in modulating the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms radiative balance?\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mindex_used\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mVector\u001b[39m\u001b[38;5;124m'\u001b[39m}, page_content\u001b[38;5;241m=\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mFigure 7.2 (upper panel) shows a schematic representation of Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms  energy budget for the early 21st century, including globally averaged  estimates of the individual components (Wild et al., 2015). Clouds are  important modulators of global energy fluxes. Thus, any perturbations  in the cloud fields, such as forcing by aerosol-cloud interactions  (Section  7.3) or through cloud feedbacks (Section  7.4) can have  a strong influence on the energy distribution in the climate system.  To illustrate the overall effects that clouds exert on energy fluxes,  Figure 7.2 (lower panel) also shows the energy budget in the absence \u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124m933933\u001b[39m\u001b[38;5;124m\"\u001b[39m), Document(metadata\u001b[38;5;241m=\u001b[39m{\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mchunk_type\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtext\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument_id\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument2\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mdocument_number\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m2.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124melement_id\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mfigure_code\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mfile_size\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mimage_path\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mN/A\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mn_pages\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m2409.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mname\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mFull Report. In: Climate Change 2021: The Physical Science Basis. Contribution of the WGI to the AR6 of the IPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_characters\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m1121.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_tokens\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m231.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_tokens_approx\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m288.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mnum_words\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m216.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mpage_number\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m1039\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mrelease_date\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m2021.0\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mreport_type\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mFull Report\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msection_header\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mFAQ 7.2 | What Is the Role of Clouds in a Warming Climate?\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mshort_name\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC AR6 WGI FR\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msource\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level0\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124m7: The Earth’s Energy Budget, Climate Feedbacks and Climate Sensitivity\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level1\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124m7.6 Metrics to Evaluate Emissions\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level2\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mFrequently Asked Questions\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtoc_level3\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mFAQ 7.1 | What Is the Earth’s Energy Budget, and What Does It Tell Us About Climate Change?\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124murl\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mhttps://report.ipcc.ch/ar6/wg1/IPCC_AR6_WGI_FullReport.pdf\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msimilarity_score\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m0.727996647\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mcontent\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mClouds cover roughly two-thirds of the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms surface. They consist of small droplets and/or ice crystals, which  form when water vapour condenses or deposits around tiny particles called aerosols (such as salt, dust, or smoke).  Clouds play a critical role in the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms energy budget at the top of our atmosphere and therefore influence  Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms surface temperature (see FAQ 7.1). The interactions between clouds and the climate are complex and  varied. Clouds at low altitudes tend to reflect incoming solar energy back to space, creating a cooling effect by  preventing this energy from reaching and warming the Earth. On the other hand, higher clouds tend to trap  (i.e., absorb and then emit at a lower temperature) some of the energy leaving the Earth, leading to a warming  effect. On average, clouds reflect back more incoming energy than the amount of outgoing energy they trap,  resulting in an overall net cooling effect on the present climate. Human activities since the pre-industrial era  have altered this climate effect of clouds in two different ways: by changing the abundance of the aerosol\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mreranking_score\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;241m0.47518521547317505\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquery_used_for_retrieval\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWhat role do cloud formations play in modulating the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms radiative balance?\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msources_used\u001b[39m\u001b[38;5;124m'\u001b[39m: [\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPOS\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPBES\u001b[39m\u001b[38;5;124m'\u001b[39m], \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquestion_used\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWhat role do cloud formations play in modulating the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms radiative balance?\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mindex_used\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mVector\u001b[39m\u001b[38;5;124m'\u001b[39m}, page_content\u001b[38;5;241m=\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mClouds cover roughly two-thirds of the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms surface. They consist of small droplets and/or ice crystals, which  form when water vapour condenses or deposits around tiny particles called aerosols (such as salt, dust, or smoke).  Clouds play a critical role in the Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms energy budget at the top of our atmosphere and therefore influence  Earth\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms surface temperature (see FAQ 7.1). The interactions between clouds and the climate are complex and  varied. Clouds at low altitudes tend to reflect incoming solar energy back to space, creating a cooling effect by  preventing this energy from reaching and warming the Earth. On the other hand, higher clouds tend to trap  (i.e., absorb and then emit at a lower temperature) some of the energy leaving the Earth, leading to a warming  effect. On average, clouds reflect back more incoming energy than the amount of outgoing energy they trap,  resulting in an overall net cooling effect on the present climate. Human activities since the pre-industrial era  have altered this climate effect of clouds in two different ways: by changing the abundance of the aerosol\u001b[39m\u001b[38;5;124m\"\u001b[39m)], \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mremaining_questions\u001b[39m\u001b[38;5;124m'\u001b[39m: [{\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mquestion\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mHow are cloud formations represented in current climate models?\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124msources\u001b[39m\u001b[38;5;124m'\u001b[39m: [\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPCC\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPOS\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mIPBES\u001b[39m\u001b[38;5;124m'\u001b[39m], \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mindex\u001b[39m\u001b[38;5;124m'\u001b[39m: \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mVector\u001b[39m\u001b[38;5;124m'\u001b[39m}]}}, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mparent_ids\u001b[39m\u001b[38;5;124m'\u001b[39m: []}\n",
      "\u001b[0;31mNameError\u001b[0m: name 'Document' is not defined"
     ]
    }
   ],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "98d3cafd",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'intent': 'search',\n",
       " 'language': 'English',\n",
       " 'query': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\"}"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "x[\"data\"][\"output\"]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "3aace6fc",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "id": "ff0aac1b",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array(['__start__', 'answer_rag', 'answer_search', 'categorize_intent',\n",
       "       'retrieve_documents', 'search', 'transform_query'], dtype='<U18')"
      ]
     },
     "execution_count": 17,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "np.unique(nodes)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "id": "1ba9fad4",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[{'event': 'on_chain_start',\n",
       "  'run_id': 'f405c636-8152-4d9f-ad15-f292600e7ae8',\n",
       "  'name': 'LangGraph',\n",
       "  'tags': [],\n",
       "  'metadata': {},\n",
       "  'data': {'input': {'user_input': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\",\n",
       "    'sources': ['auto'],\n",
       "    'audience': 'expert'}},\n",
       "  'parent_ids': []},\n",
       " {'event': 'on_chain_start',\n",
       "  'name': '__start__',\n",
       "  'run_id': '3a1114ca-865e-48e5-bb41-74f2eeceacdf',\n",
       "  'tags': ['graph:step:0', 'langsmith:hidden', 'langsmith:hidden'],\n",
       "  'metadata': {'langgraph_step': 0,\n",
       "   'langgraph_node': '__start__',\n",
       "   'langgraph_triggers': ['__start__'],\n",
       "   'langgraph_path': ('__pregel_pull', '__start__'),\n",
       "   'langgraph_checkpoint_ns': '__start__:d7171ff5-c9e3-ff42-6716-523efb4f8ac0'},\n",
       "  'data': {'input': {'user_input': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\",\n",
       "    'sources': ['auto'],\n",
       "    'audience': 'expert'}},\n",
       "  'parent_ids': []},\n",
       " {'event': 'on_chain_end',\n",
       "  'name': '__start__',\n",
       "  'run_id': '3a1114ca-865e-48e5-bb41-74f2eeceacdf',\n",
       "  'tags': ['graph:step:0', 'langsmith:hidden', 'langsmith:hidden'],\n",
       "  'metadata': {'langgraph_step': 0,\n",
       "   'langgraph_node': '__start__',\n",
       "   'langgraph_triggers': ['__start__'],\n",
       "   'langgraph_path': ('__pregel_pull', '__start__'),\n",
       "   'langgraph_checkpoint_ns': '__start__:d7171ff5-c9e3-ff42-6716-523efb4f8ac0'},\n",
       "  'data': {'input': {'user_input': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\",\n",
       "    'sources': ['auto'],\n",
       "    'audience': 'expert'},\n",
       "   'output': {'user_input': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\",\n",
       "    'sources': ['auto'],\n",
       "    'audience': 'expert'}},\n",
       "  'parent_ids': []},\n",
       " {'event': 'on_chain_start',\n",
       "  'name': 'categorize_intent',\n",
       "  'run_id': 'c1dbc947-7723-44b6-819b-6df4aeb7fd1a',\n",
       "  'tags': ['graph:step:1'],\n",
       "  'metadata': {'langgraph_step': 1,\n",
       "   'langgraph_node': 'categorize_intent',\n",
       "   'langgraph_triggers': ['start:categorize_intent'],\n",
       "   'langgraph_path': ('__pregel_pull', 'categorize_intent'),\n",
       "   'langgraph_checkpoint_ns': 'categorize_intent:e59da5fd-192c-44d7-ed6e-40297a9a1864'},\n",
       "  'data': {'input': {'user_input': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\",\n",
       "    'audience': 'expert'}},\n",
       "  'parent_ids': []},\n",
       " {'event': 'on_chain_start',\n",
       "  'name': 'RunnableSequence',\n",
       "  'run_id': '930d6ee8-107a-49e2-a19f-2f848ecda0a9',\n",
       "  'tags': ['seq:step:1'],\n",
       "  'metadata': {'langgraph_step': 1,\n",
       "   'langgraph_node': 'categorize_intent',\n",
       "   'langgraph_triggers': ['start:categorize_intent'],\n",
       "   'langgraph_path': ('__pregel_pull', 'categorize_intent'),\n",
       "   'langgraph_checkpoint_ns': 'categorize_intent:e59da5fd-192c-44d7-ed6e-40297a9a1864',\n",
       "   'checkpoint_ns': 'categorize_intent:e59da5fd-192c-44d7-ed6e-40297a9a1864'},\n",
       "  'data': {'input': {'input': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\"}},\n",
       "  'parent_ids': []},\n",
       " {'event': 'on_prompt_start',\n",
       "  'name': 'ChatPromptTemplate',\n",
       "  'run_id': '5df8b6c2-9b25-4dec-9d56-17cd221ec6aa',\n",
       "  'tags': ['seq:step:1'],\n",
       "  'metadata': {'langgraph_step': 1,\n",
       "   'langgraph_node': 'categorize_intent',\n",
       "   'langgraph_triggers': ['start:categorize_intent'],\n",
       "   'langgraph_path': ('__pregel_pull', 'categorize_intent'),\n",
       "   'langgraph_checkpoint_ns': 'categorize_intent:e59da5fd-192c-44d7-ed6e-40297a9a1864',\n",
       "   'checkpoint_ns': 'categorize_intent:e59da5fd-192c-44d7-ed6e-40297a9a1864'},\n",
       "  'data': {'input': {'input': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\"}},\n",
       "  'parent_ids': []},\n",
       " {'event': 'on_prompt_end',\n",
       "  'name': 'ChatPromptTemplate',\n",
       "  'run_id': '5df8b6c2-9b25-4dec-9d56-17cd221ec6aa',\n",
       "  'tags': ['seq:step:1'],\n",
       "  'metadata': {'langgraph_step': 1,\n",
       "   'langgraph_node': 'categorize_intent',\n",
       "   'langgraph_triggers': ['start:categorize_intent'],\n",
       "   'langgraph_path': ('__pregel_pull', 'categorize_intent'),\n",
       "   'langgraph_checkpoint_ns': 'categorize_intent:e59da5fd-192c-44d7-ed6e-40297a9a1864',\n",
       "   'checkpoint_ns': 'categorize_intent:e59da5fd-192c-44d7-ed6e-40297a9a1864'},\n",
       "  'data': {'input': {'input': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\"},\n",
       "   'output': ChatPromptValue(messages=[SystemMessage(content='You are a helpful assistant, you will analyze, translate and reformulate the user input message using the function provided'), HumanMessage(content=\"input: I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\")])},\n",
       "  'parent_ids': []},\n",
       " {'event': 'on_chat_model_start',\n",
       "  'name': 'ChatOpenAI',\n",
       "  'run_id': '90f65514-af42-4c64-b793-43bff670810a',\n",
       "  'tags': ['seq:step:2'],\n",
       "  'metadata': {'langgraph_step': 1,\n",
       "   'langgraph_node': 'categorize_intent',\n",
       "   'langgraph_triggers': ['start:categorize_intent'],\n",
       "   'langgraph_path': ('__pregel_pull', 'categorize_intent'),\n",
       "   'langgraph_checkpoint_ns': 'categorize_intent:e59da5fd-192c-44d7-ed6e-40297a9a1864',\n",
       "   'checkpoint_ns': 'categorize_intent:e59da5fd-192c-44d7-ed6e-40297a9a1864',\n",
       "   'ls_provider': 'openai',\n",
       "   'ls_model_type': 'chat',\n",
       "   'ls_model_name': 'gpt-3.5-turbo-0125',\n",
       "   'ls_temperature': 0.0,\n",
       "   'ls_max_tokens': 1024},\n",
       "  'data': {'input': {'messages': [[SystemMessage(content='You are a helpful assistant, you will analyze, translate and reformulate the user input message using the function provided'),\n",
       "      HumanMessage(content=\"input: I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\")]]}},\n",
       "  'parent_ids': []},\n",
       " {'event': 'on_chat_model_end',\n",
       "  'name': 'ChatOpenAI',\n",
       "  'run_id': '90f65514-af42-4c64-b793-43bff670810a',\n",
       "  'tags': ['seq:step:2'],\n",
       "  'metadata': {'langgraph_step': 1,\n",
       "   'langgraph_node': 'categorize_intent',\n",
       "   'langgraph_triggers': ['start:categorize_intent'],\n",
       "   'langgraph_path': ('__pregel_pull', 'categorize_intent'),\n",
       "   'langgraph_checkpoint_ns': 'categorize_intent:e59da5fd-192c-44d7-ed6e-40297a9a1864',\n",
       "   'checkpoint_ns': 'categorize_intent:e59da5fd-192c-44d7-ed6e-40297a9a1864',\n",
       "   'ls_provider': 'openai',\n",
       "   'ls_model_type': 'chat',\n",
       "   'ls_model_name': 'gpt-3.5-turbo-0125',\n",
       "   'ls_temperature': 0.0,\n",
       "   'ls_max_tokens': 1024},\n",
       "  'data': {'input': {'messages': [[SystemMessage(content='You are a helpful assistant, you will analyze, translate and reformulate the user input message using the function provided'),\n",
       "      HumanMessage(content=\"input: I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\")]]},\n",
       "   'output': {'generations': [[{'text': '',\n",
       "       'generation_info': {'finish_reason': 'stop'},\n",
       "       'type': 'ChatGeneration',\n",
       "       'message': AIMessage(content='', additional_kwargs={'function_call': {'arguments': '{\"intent\":\"search\"}', 'name': 'IntentCategorizer'}}, response_metadata={'finish_reason': 'stop'}, id='run-90f65514-af42-4c64-b793-43bff670810a')}]],\n",
       "    'llm_output': None,\n",
       "    'run': None}},\n",
       "  'parent_ids': []},\n",
       " {'event': 'on_parser_start',\n",
       "  'name': 'JsonOutputFunctionsParser',\n",
       "  'run_id': 'b411b4d6-df67-48a5-8645-f18bb1295fc0',\n",
       "  'tags': ['seq:step:3'],\n",
       "  'metadata': {'langgraph_step': 1,\n",
       "   'langgraph_node': 'categorize_intent',\n",
       "   'langgraph_triggers': ['start:categorize_intent'],\n",
       "   'langgraph_path': ('__pregel_pull', 'categorize_intent'),\n",
       "   'langgraph_checkpoint_ns': 'categorize_intent:e59da5fd-192c-44d7-ed6e-40297a9a1864',\n",
       "   'checkpoint_ns': 'categorize_intent:e59da5fd-192c-44d7-ed6e-40297a9a1864'},\n",
       "  'data': {'input': AIMessage(content='', additional_kwargs={'function_call': {'arguments': '{\"intent\":\"search\"}', 'name': 'IntentCategorizer'}}, response_metadata={'finish_reason': 'stop'}, id='run-90f65514-af42-4c64-b793-43bff670810a')},\n",
       "  'parent_ids': []}]"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "events_list[:10]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "33f1d95b",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'event': 'on_chain_start',\n",
       " 'run_id': 'f405c636-8152-4d9f-ad15-f292600e7ae8',\n",
       " 'name': 'LangGraph',\n",
       " 'tags': [],\n",
       " 'metadata': {},\n",
       " 'data': {'input': {'user_input': \"I am not really sure what you mean. What role do cloud formations play in modulating the Earth's radiative balance, and how are they represented in current climate models?\",\n",
       "   'sources': ['auto'],\n",
       "   'audience': 'expert'}},\n",
       " 'parent_ids': []}"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "events_list[0]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "339ee1cb",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'on_chain_end',\n",
       " 'on_chain_start',\n",
       " 'on_chain_stream',\n",
       " 'on_chat_model_end',\n",
       " 'on_chat_model_start',\n",
       " 'on_parser_end',\n",
       " 'on_parser_start',\n",
       " 'on_prompt_end',\n",
       " 'on_prompt_start',\n",
       " 'on_retriever_end',\n",
       " 'on_retriever_start'}"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "set([event[\"event\"] for event in events_list])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "743649a5",
   "metadata": {},
   "outputs": [],
   "source": [
    "events_list"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "climateqa",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.11.9"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}