Update constants.py
Browse files- climateqa/constants.py +36 -1
climateqa/constants.py
CHANGED
@@ -65,4 +65,39 @@ OWID_CATEGORIES = ['Access to Energy', 'Agricultural Production',
|
|
65 |
'Oil Spills', 'Outdoor Air Pollution', 'Ozone Layer', 'Pandemics',
|
66 |
'Pesticides', 'Plastic Pollution', 'Renewable Energy', 'Soil',
|
67 |
'Transport', 'Urbanization', 'Waste Management', 'Water Pollution',
|
68 |
-
'Water Use & Stress', 'Wildfires']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
'Oil Spills', 'Outdoor Air Pollution', 'Ozone Layer', 'Pandemics',
|
66 |
'Pesticides', 'Plastic Pollution', 'Renewable Energy', 'Soil',
|
67 |
'Transport', 'Urbanization', 'Waste Management', 'Water Pollution',
|
68 |
+
'Water Use & Stress', 'Wildfires']
|
69 |
+
|
70 |
+
|
71 |
+
DOCUMENT_METADATA_DEFAULT_VALUES = {
|
72 |
+
"chunk_type": "",
|
73 |
+
"document_id": "",
|
74 |
+
"document_number": 0.0,
|
75 |
+
"element_id": "",
|
76 |
+
"figure_code": "",
|
77 |
+
"file_size": "",
|
78 |
+
"image_path": "",
|
79 |
+
"n_pages": 0.0,
|
80 |
+
"name": "",
|
81 |
+
"num_characters": 0.0,
|
82 |
+
"num_tokens": 0.0,
|
83 |
+
"num_tokens_approx": 0.0,
|
84 |
+
"num_words": 0.0,
|
85 |
+
"page_number": 0,
|
86 |
+
"release_date": 0.0,
|
87 |
+
"report_type": "",
|
88 |
+
"section_header": "",
|
89 |
+
"short_name": "",
|
90 |
+
"source": "",
|
91 |
+
"toc_level0": "",
|
92 |
+
"toc_level1": "",
|
93 |
+
"toc_level2": "",
|
94 |
+
"toc_level3": "",
|
95 |
+
"url": "",
|
96 |
+
"similarity_score": 0.0,
|
97 |
+
"content": "",
|
98 |
+
"reranking_score": 0.0,
|
99 |
+
"query_used_for_retrieval": "",
|
100 |
+
"sources_used": [],
|
101 |
+
"question_used": "",
|
102 |
+
"index_used": ""
|
103 |
+
}
|