Spaces:
Sleeping
Sleeping
Patrick Walukagga
commited on
Commit
·
59d3a91
1
Parent(s):
2b8d655
Rag changes
Browse files- .gitignore +12 -1
- app.py +6 -0
- config.py +4 -0
- data/ebola_virus_zotero_items.json +17 -17
- data/gene_xpert_zotero_items.json +31 -31
- data/vaccine_coverage_zotero_items.json +18 -18
- rag/rag_pipeline.py +1 -1
- requirements.txt +2 -1
- sample_queries.md +2 -0
.gitignore
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
# Byte-compiled / optimized / DLL files
|
2 |
__pycache__/
|
3 |
*.py[cod]
|
@@ -159,4 +160,14 @@ cython_debug/
|
|
159 |
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
160 |
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
161 |
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
162 |
-
#.idea/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
### Python ###
|
2 |
# Byte-compiled / optimized / DLL files
|
3 |
__pycache__/
|
4 |
*.py[cod]
|
|
|
160 |
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
161 |
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
162 |
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
163 |
+
#.idea/
|
164 |
+
|
165 |
+
### Python Patch ###
|
166 |
+
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
|
167 |
+
poetry.toml
|
168 |
+
|
169 |
+
# ruff
|
170 |
+
.ruff_cache/
|
171 |
+
|
172 |
+
# LSP config files
|
173 |
+
pyrightconfig.json
|
app.py
CHANGED
@@ -11,7 +11,13 @@ from utils.prompts import (
|
|
11 |
evidence_based_prompt,
|
12 |
sample_questions,
|
13 |
)
|
|
|
14 |
|
|
|
|
|
|
|
|
|
|
|
15 |
rag_cache = {}
|
16 |
|
17 |
|
|
|
11 |
evidence_based_prompt,
|
12 |
sample_questions,
|
13 |
)
|
14 |
+
import openai
|
15 |
|
16 |
+
from config import STUDY_FILES, OPENAI_API_KEY
|
17 |
+
|
18 |
+
openai.api_key = OPENAI_API_KEY
|
19 |
+
|
20 |
+
# Cache for RAG pipelines
|
21 |
rag_cache = {}
|
22 |
|
23 |
|
config.py
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
import os
|
2 |
|
|
|
|
|
|
|
|
|
3 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
4 |
|
5 |
STUDY_FILES = {
|
|
|
1 |
import os
|
2 |
|
3 |
+
from dotenv import load_dotenv
|
4 |
+
|
5 |
+
load_dotenv()
|
6 |
+
|
7 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
8 |
|
9 |
STUDY_FILES = {
|
data/ebola_virus_zotero_items.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
"Marco Tuccori"
|
12 |
],
|
13 |
"doi": "",
|
14 |
-
"
|
15 |
"item_type": "journalArticle",
|
16 |
"url": ""
|
17 |
},
|
@@ -28,7 +28,7 @@
|
|
28 |
"Sina Bavari"
|
29 |
],
|
30 |
"doi": "10.1146/annurev-pharmtox-010716-105055",
|
31 |
-
"
|
32 |
"item_type": "journalArticle",
|
33 |
"url": "https://www.annualreviews.org/doi/10.1146/annurev-pharmtox-010716-105055"
|
34 |
},
|
@@ -48,7 +48,7 @@
|
|
48 |
"Xiangguo Qiu"
|
49 |
],
|
50 |
"doi": "10.1016/j.molmed.2017.07.002",
|
51 |
-
"
|
52 |
"item_type": "journalArticle",
|
53 |
"url": "https://linkinghub.elsevier.com/retrieve/pii/S1471491417301090"
|
54 |
},
|
@@ -66,7 +66,7 @@
|
|
66 |
"Robert L. Gottlieb"
|
67 |
],
|
68 |
"doi": "10.1038/s41577-021-00542-x",
|
69 |
-
"
|
70 |
"item_type": "journalArticle",
|
71 |
"url": "https://www.nature.com/articles/s41577-021-00542-x"
|
72 |
},
|
@@ -85,7 +85,7 @@
|
|
85 |
"M. P. Grobusch"
|
86 |
],
|
87 |
"doi": "10.1080/13543784.2016.1240785",
|
88 |
-
"
|
89 |
"item_type": "journalArticle",
|
90 |
"url": "https://www.tandfonline.com/doi/full/10.1080/13543784.2016.1240785"
|
91 |
},
|
@@ -99,7 +99,7 @@
|
|
99 |
"Luciana Borio"
|
100 |
],
|
101 |
"doi": "10.1128/microbiolspec.EI10-0014-2016",
|
102 |
-
"
|
103 |
"item_type": "journalArticle",
|
104 |
"url": "https://journals.asm.org/doi/10.1128/microbiolspec.EI10-0014-2016"
|
105 |
},
|
@@ -117,7 +117,7 @@
|
|
117 |
"Larry Zeitlin"
|
118 |
],
|
119 |
"doi": "10.3233/HAB-150284",
|
120 |
-
"
|
121 |
"item_type": "journalArticle",
|
122 |
"url": "https://www.medra.org/servlet/aliasResolver?alias=iospress&doi=10.3233/HAB-150284"
|
123 |
},
|
@@ -130,7 +130,7 @@
|
|
130 |
"Olivier Garraud"
|
131 |
],
|
132 |
"doi": "10.1016/j.transci.2016.12.014",
|
133 |
-
"
|
134 |
"item_type": "journalArticle",
|
135 |
"url": "https://linkinghub.elsevier.com/retrieve/pii/S1473050216302002"
|
136 |
},
|
@@ -144,7 +144,7 @@
|
|
144 |
"K Karunamoorthi"
|
145 |
],
|
146 |
"doi": "",
|
147 |
-
"
|
148 |
"item_type": "journalArticle",
|
149 |
"url": ""
|
150 |
},
|
@@ -162,7 +162,7 @@
|
|
162 |
"Larry Zeitlin"
|
163 |
],
|
164 |
"doi": "10.3233/HAB-150284",
|
165 |
-
"
|
166 |
"item_type": "journalArticle",
|
167 |
"url": ""
|
168 |
},
|
@@ -176,7 +176,7 @@
|
|
176 |
"Aaron A. R. Tobian"
|
177 |
],
|
178 |
"doi": "10.1111/trf.12913",
|
179 |
-
"
|
180 |
"item_type": "journalArticle",
|
181 |
"url": ""
|
182 |
},
|
@@ -194,7 +194,7 @@
|
|
194 |
"Robert L. Gottlieb"
|
195 |
],
|
196 |
"doi": "10.1038/s41577-021-00542-x",
|
197 |
-
"
|
198 |
"item_type": "journalArticle",
|
199 |
"url": ""
|
200 |
},
|
@@ -210,7 +210,7 @@
|
|
210 |
"Marco Tuccori"
|
211 |
],
|
212 |
"doi": "10.1128/CMR.00072-20",
|
213 |
-
"
|
214 |
"item_type": "journalArticle",
|
215 |
"url": ""
|
216 |
},
|
@@ -223,7 +223,7 @@
|
|
223 |
"Olivier Garraud"
|
224 |
],
|
225 |
"doi": "10.1016/j.transci.2016.12.014",
|
226 |
-
"
|
227 |
"item_type": "journalArticle",
|
228 |
"url": ""
|
229 |
},
|
@@ -237,7 +237,7 @@
|
|
237 |
"Luciana Borio"
|
238 |
],
|
239 |
"doi": "10.1128/microbiolspec.EI10-0014-2016",
|
240 |
-
"
|
241 |
"item_type": "journalArticle",
|
242 |
"url": ""
|
243 |
},
|
@@ -257,7 +257,7 @@
|
|
257 |
"Xiangguo Qiu"
|
258 |
],
|
259 |
"doi": "10.1016/j.molmed.2017.07.002",
|
260 |
-
"
|
261 |
"item_type": "journalArticle",
|
262 |
"url": ""
|
263 |
},
|
@@ -274,7 +274,7 @@
|
|
274 |
"Sina Bavari"
|
275 |
],
|
276 |
"doi": "10.1146/annurev-pharmtox-010716-105055",
|
277 |
-
"
|
278 |
"item_type": "journalArticle",
|
279 |
"url": ""
|
280 |
}
|
|
|
11 |
"Marco Tuccori"
|
12 |
],
|
13 |
"doi": "",
|
14 |
+
"date": "2020",
|
15 |
"item_type": "journalArticle",
|
16 |
"url": ""
|
17 |
},
|
|
|
28 |
"Sina Bavari"
|
29 |
],
|
30 |
"doi": "10.1146/annurev-pharmtox-010716-105055",
|
31 |
+
"date": "2017-01-06",
|
32 |
"item_type": "journalArticle",
|
33 |
"url": "https://www.annualreviews.org/doi/10.1146/annurev-pharmtox-010716-105055"
|
34 |
},
|
|
|
48 |
"Xiangguo Qiu"
|
49 |
],
|
50 |
"doi": "10.1016/j.molmed.2017.07.002",
|
51 |
+
"date": "09/2017",
|
52 |
"item_type": "journalArticle",
|
53 |
"url": "https://linkinghub.elsevier.com/retrieve/pii/S1471491417301090"
|
54 |
},
|
|
|
66 |
"Robert L. Gottlieb"
|
67 |
],
|
68 |
"doi": "10.1038/s41577-021-00542-x",
|
69 |
+
"date": "06/2021",
|
70 |
"item_type": "journalArticle",
|
71 |
"url": "https://www.nature.com/articles/s41577-021-00542-x"
|
72 |
},
|
|
|
85 |
"M. P. Grobusch"
|
86 |
],
|
87 |
"doi": "10.1080/13543784.2016.1240785",
|
88 |
+
"date": "2016-11-01",
|
89 |
"item_type": "journalArticle",
|
90 |
"url": "https://www.tandfonline.com/doi/full/10.1080/13543784.2016.1240785"
|
91 |
},
|
|
|
99 |
"Luciana Borio"
|
100 |
],
|
101 |
"doi": "10.1128/microbiolspec.EI10-0014-2016",
|
102 |
+
"date": "2016-05-06",
|
103 |
"item_type": "journalArticle",
|
104 |
"url": "https://journals.asm.org/doi/10.1128/microbiolspec.EI10-0014-2016"
|
105 |
},
|
|
|
117 |
"Larry Zeitlin"
|
118 |
],
|
119 |
"doi": "10.3233/HAB-150284",
|
120 |
+
"date": "2015-12-23",
|
121 |
"item_type": "journalArticle",
|
122 |
"url": "https://www.medra.org/servlet/aliasResolver?alias=iospress&doi=10.3233/HAB-150284"
|
123 |
},
|
|
|
130 |
"Olivier Garraud"
|
131 |
],
|
132 |
"doi": "10.1016/j.transci.2016.12.014",
|
133 |
+
"date": "02/2017",
|
134 |
"item_type": "journalArticle",
|
135 |
"url": "https://linkinghub.elsevier.com/retrieve/pii/S1473050216302002"
|
136 |
},
|
|
|
144 |
"K Karunamoorthi"
|
145 |
],
|
146 |
"doi": "",
|
147 |
+
"date": "",
|
148 |
"item_type": "journalArticle",
|
149 |
"url": ""
|
150 |
},
|
|
|
162 |
"Larry Zeitlin"
|
163 |
],
|
164 |
"doi": "10.3233/HAB-150284",
|
165 |
+
"date": "2015-12-23",
|
166 |
"item_type": "journalArticle",
|
167 |
"url": ""
|
168 |
},
|
|
|
176 |
"Aaron A. R. Tobian"
|
177 |
],
|
178 |
"doi": "10.1111/trf.12913",
|
179 |
+
"date": "2014-12",
|
180 |
"item_type": "journalArticle",
|
181 |
"url": ""
|
182 |
},
|
|
|
194 |
"Robert L. Gottlieb"
|
195 |
],
|
196 |
"doi": "10.1038/s41577-021-00542-x",
|
197 |
+
"date": "2021-06",
|
198 |
"item_type": "journalArticle",
|
199 |
"url": ""
|
200 |
},
|
|
|
210 |
"Marco Tuccori"
|
211 |
],
|
212 |
"doi": "10.1128/CMR.00072-20",
|
213 |
+
"date": "2020-09-16",
|
214 |
"item_type": "journalArticle",
|
215 |
"url": ""
|
216 |
},
|
|
|
223 |
"Olivier Garraud"
|
224 |
],
|
225 |
"doi": "10.1016/j.transci.2016.12.014",
|
226 |
+
"date": "2017-02",
|
227 |
"item_type": "journalArticle",
|
228 |
"url": ""
|
229 |
},
|
|
|
237 |
"Luciana Borio"
|
238 |
],
|
239 |
"doi": "10.1128/microbiolspec.EI10-0014-2016",
|
240 |
+
"date": "2016-06",
|
241 |
"item_type": "journalArticle",
|
242 |
"url": ""
|
243 |
},
|
|
|
257 |
"Xiangguo Qiu"
|
258 |
],
|
259 |
"doi": "10.1016/j.molmed.2017.07.002",
|
260 |
+
"date": "2017-09",
|
261 |
"item_type": "journalArticle",
|
262 |
"url": ""
|
263 |
},
|
|
|
274 |
"Sina Bavari"
|
275 |
],
|
276 |
"doi": "10.1146/annurev-pharmtox-010716-105055",
|
277 |
+
"date": "2017-01-06",
|
278 |
"item_type": "journalArticle",
|
279 |
"url": ""
|
280 |
}
|
data/gene_xpert_zotero_items.json
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
"Hairong Huang"
|
14 |
],
|
15 |
"doi": "10.21037/jtd.2018.02.60",
|
16 |
-
"
|
17 |
"item_type": "journalArticle",
|
18 |
"url": "http://jtd.amegroups.com/article/view/19447/15515"
|
19 |
},
|
@@ -33,7 +33,7 @@
|
|
33 |
"David W. Dowdy"
|
34 |
],
|
35 |
"doi": "10.1097/QAI.0000000000000712",
|
36 |
-
"
|
37 |
"item_type": "journalArticle",
|
38 |
"url": "https://journals.lww.com/00126334-201509010-00011"
|
39 |
},
|
@@ -52,7 +52,7 @@
|
|
52 |
"Sydney Rosen"
|
53 |
],
|
54 |
"doi": "10.1111/j.1365-3156.2012.03028.x",
|
55 |
-
"
|
56 |
"item_type": "journalArticle",
|
57 |
"url": "https://onlinelibrary.wiley.com/doi/10.1111/j.1365-3156.2012.03028.x"
|
58 |
},
|
@@ -75,7 +75,7 @@
|
|
75 |
"Keertan Dheda"
|
76 |
],
|
77 |
"doi": "10.1183/09031936.00145511",
|
78 |
-
"
|
79 |
"item_type": "journalArticle",
|
80 |
"url": "http://erj.ersjournals.com/lookup/doi/10.1183/09031936.00145511"
|
81 |
},
|
@@ -94,7 +94,7 @@
|
|
94 |
"Achilles Katamba"
|
95 |
],
|
96 |
"doi": "10.1186/s12913-016-1804-9",
|
97 |
-
"
|
98 |
"item_type": "journalArticle",
|
99 |
"url": "http://bmchealthservres.biomedcentral.com/articles/10.1186/s12913-016-1804-9"
|
100 |
},
|
@@ -115,7 +115,7 @@
|
|
115 |
"A. H. Van'T Hoog"
|
116 |
],
|
117 |
"doi": "10.5588/ijtld.16.0496",
|
118 |
-
"
|
119 |
"item_type": "journalArticle",
|
120 |
"url": "http://www.ingentaconnect.com/content/10.5588/ijtld.16.0496"
|
121 |
},
|
@@ -138,7 +138,7 @@
|
|
138 |
"Julio Croda"
|
139 |
],
|
140 |
"doi": "10.1093/cid/ciaa135",
|
141 |
-
"
|
142 |
"item_type": "journalArticle",
|
143 |
"url": "https://academic.oup.com/cid/article/72/5/771/5736588"
|
144 |
},
|
@@ -154,7 +154,7 @@
|
|
154 |
"Anete Trajman"
|
155 |
],
|
156 |
"doi": "10.1590/s1806-37562015000004524",
|
157 |
-
"
|
158 |
"item_type": "journalArticle",
|
159 |
"url": "http://www.scielo.br/scielo.php?script=sci_arttext&pid=S1806-37132015000600536&lng=en&tlng=en"
|
160 |
},
|
@@ -181,7 +181,7 @@
|
|
181 |
"Keertan Dheda"
|
182 |
],
|
183 |
"doi": "10.1016/S2214-109X(19)30164-0",
|
184 |
-
"
|
185 |
"item_type": "journalArticle",
|
186 |
"url": "https://linkinghub.elsevier.com/retrieve/pii/S2214109X19301640"
|
187 |
},
|
@@ -206,7 +206,7 @@
|
|
206 |
"Luis E Cuevas"
|
207 |
],
|
208 |
"doi": "10.1136/bmjgh-2021-007592",
|
209 |
-
"
|
210 |
"item_type": "journalArticle",
|
211 |
"url": "https://gh.bmj.com/lookup/doi/10.1136/bmjgh-2021-007592"
|
212 |
},
|
@@ -222,7 +222,7 @@
|
|
222 |
"Elvira Richter"
|
223 |
],
|
224 |
"doi": "10.1183/13993003.01333-2015",
|
225 |
-
"
|
226 |
"item_type": "journalArticle",
|
227 |
"url": "http://erj.ersjournals.com/lookup/doi/10.1183/13993003.01333-2015"
|
228 |
},
|
@@ -244,7 +244,7 @@
|
|
244 |
"Susan Cleary"
|
245 |
],
|
246 |
"doi": "10.1371/journal.pone.0251547",
|
247 |
-
"
|
248 |
"item_type": "journalArticle",
|
249 |
"url": "https://dx.plos.org/10.1371/journal.pone.0251547"
|
250 |
},
|
@@ -260,7 +260,7 @@
|
|
260 |
"M. Shah"
|
261 |
],
|
262 |
"doi": "10.5588/ijtld.13.0095",
|
263 |
-
"
|
264 |
"item_type": "journalArticle",
|
265 |
"url": "http://openurl.ingenta.com/content/xref?genre=article&issn=1027-3719&volume=17&issue=10&spage=1328"
|
266 |
},
|
@@ -285,7 +285,7 @@
|
|
285 |
"Jacob Creswell"
|
286 |
],
|
287 |
"doi": "10.3201/eid2703.204090",
|
288 |
-
"
|
289 |
"item_type": "journalArticle",
|
290 |
"url": "https://wwwnc.cdc.gov/eid/article/27/3/20-4090_article.htm"
|
291 |
},
|
@@ -300,7 +300,7 @@
|
|
300 |
"A. Trajman"
|
301 |
],
|
302 |
"doi": "10.5588/ijtld.13.0637",
|
303 |
-
"
|
304 |
"item_type": "journalArticle",
|
305 |
"url": "http://openurl.ingenta.com/content/xref?genre=article&issn=1027-3719&volume=18&issue=5&spage=547"
|
306 |
},
|
@@ -317,7 +317,7 @@
|
|
317 |
"Deborah K. Glencross"
|
318 |
],
|
319 |
"doi": "10.4102/ajlm.v10i1.1229",
|
320 |
-
"
|
321 |
"item_type": "journalArticle",
|
322 |
"url": "http://www.ajlmonline.org/index.php/AJLM/article/view/1229"
|
323 |
},
|
@@ -337,7 +337,7 @@
|
|
337 |
"Maria Claudia Vater"
|
338 |
],
|
339 |
"doi": "10.1590/0037-8682-0082-2018",
|
340 |
-
"
|
341 |
"item_type": "journalArticle",
|
342 |
"url": "http://www.scielo.br/scielo.php?script=sci_arttext&pid=S0037-86822018000500631&tlng=en"
|
343 |
},
|
@@ -361,7 +361,7 @@
|
|
361 |
"Luis E. Cuevas"
|
362 |
],
|
363 |
"doi": "10.1128/JCM.00864-15",
|
364 |
-
"
|
365 |
"item_type": "journalArticle",
|
366 |
"url": "https://journals.asm.org/doi/10.1128/JCM.00864-15"
|
367 |
},
|
@@ -386,7 +386,7 @@
|
|
386 |
"Corinne S. Merle"
|
387 |
],
|
388 |
"doi": "10.1371/journal.pone.0264206",
|
389 |
-
"
|
390 |
"item_type": "journalArticle",
|
391 |
"url": "https://dx.plos.org/10.1371/journal.pone.0264206"
|
392 |
},
|
@@ -406,7 +406,7 @@
|
|
406 |
"Prathap Tharyan"
|
407 |
],
|
408 |
"doi": "10.1371/journal.pone.0205233",
|
409 |
-
"
|
410 |
"item_type": "journalArticle",
|
411 |
"url": "https://dx.plos.org/10.1371/journal.pone.0205233"
|
412 |
},
|
@@ -423,7 +423,7 @@
|
|
423 |
"Susan E Dorman"
|
424 |
],
|
425 |
"doi": "10.1186/1471-2334-13-352",
|
426 |
-
"
|
427 |
"item_type": "journalArticle",
|
428 |
"url": "https://bmcinfectdis.biomedcentral.com/articles/10.1186/1471-2334-13-352"
|
429 |
},
|
@@ -450,7 +450,7 @@
|
|
450 |
"Frank Cobelens"
|
451 |
],
|
452 |
"doi": "10.1371/journal.pmed.1001120",
|
453 |
-
"
|
454 |
"item_type": "journalArticle",
|
455 |
"url": "https://dx.plos.org/10.1371/journal.pmed.1001120"
|
456 |
},
|
@@ -468,7 +468,7 @@
|
|
468 |
"Achilles Katamba"
|
469 |
],
|
470 |
"doi": "10.1371/journal.pone.0122574",
|
471 |
-
"
|
472 |
"item_type": "journalArticle",
|
473 |
"url": "https://dx.plos.org/10.1371/journal.pone.0122574"
|
474 |
},
|
@@ -486,7 +486,7 @@
|
|
486 |
"Brittany Moore"
|
487 |
],
|
488 |
"doi": "10.1007/s40258-018-0397-3",
|
489 |
-
"
|
490 |
"item_type": "journalArticle",
|
491 |
"url": "http://link.springer.com/10.1007/s40258-018-0397-3"
|
492 |
},
|
@@ -502,7 +502,7 @@
|
|
502 |
"Charoen Chuchottaworn"
|
503 |
],
|
504 |
"doi": "10.1016/j.vhri.2019.09.010",
|
505 |
-
"
|
506 |
"item_type": "journalArticle",
|
507 |
"url": "https://linkinghub.elsevier.com/retrieve/pii/S221210992030008X"
|
508 |
},
|
@@ -519,7 +519,7 @@
|
|
519 |
"Kevin Schwartzman"
|
520 |
],
|
521 |
"doi": "10.1371/journal.pone.0150119",
|
522 |
-
"
|
523 |
"item_type": "journalArticle",
|
524 |
"url": "https://dx.plos.org/10.1371/journal.pone.0150119"
|
525 |
},
|
@@ -533,7 +533,7 @@
|
|
533 |
"Alemayehu Hailu"
|
534 |
],
|
535 |
"doi": "10.1371/journal.pone.0259056",
|
536 |
-
"
|
537 |
"item_type": "journalArticle",
|
538 |
"url": "https://dx.plos.org/10.1371/journal.pone.0259056"
|
539 |
},
|
@@ -555,7 +555,7 @@
|
|
555 |
"Esther Turunga"
|
556 |
],
|
557 |
"doi": "10.1097/QAI.0000000000002371",
|
558 |
-
"
|
559 |
"item_type": "journalArticle",
|
560 |
"url": "https://journals.lww.com/10.1097/QAI.0000000000002371"
|
561 |
},
|
@@ -575,7 +575,7 @@
|
|
575 |
"Jos\u00e9 Mar\u00eda Ten\u00edas-Burillo"
|
576 |
],
|
577 |
"doi": "10.1016/j.eimc.2016.06.009",
|
578 |
-
"
|
579 |
"item_type": "journalArticle",
|
580 |
"url": "https://linkinghub.elsevier.com/retrieve/pii/S0213005X16301550"
|
581 |
},
|
@@ -595,7 +595,7 @@
|
|
595 |
"Jos\u00e9 Mar\u00eda Ten\u00edas-Burillo"
|
596 |
],
|
597 |
"doi": "10.1016/j.eimc.2016.06.009",
|
598 |
-
"
|
599 |
"item_type": "journalArticle",
|
600 |
"url": "https://linkinghub.elsevier.com/retrieve/pii/S0213005X16301550"
|
601 |
},
|
@@ -611,7 +611,7 @@
|
|
611 |
"Nelson L.S. Lee"
|
612 |
],
|
613 |
"doi": "10.1016/j.jinf.2014.12.015",
|
614 |
-
"
|
615 |
"item_type": "journalArticle",
|
616 |
"url": "https://linkinghub.elsevier.com/retrieve/pii/S016344531500002X"
|
617 |
}
|
|
|
13 |
"Hairong Huang"
|
14 |
],
|
15 |
"doi": "10.21037/jtd.2018.02.60",
|
16 |
+
"date": "3/2018",
|
17 |
"item_type": "journalArticle",
|
18 |
"url": "http://jtd.amegroups.com/article/view/19447/15515"
|
19 |
},
|
|
|
33 |
"David W. Dowdy"
|
34 |
],
|
35 |
"doi": "10.1097/QAI.0000000000000712",
|
36 |
+
"date": "2015-09-1",
|
37 |
"item_type": "journalArticle",
|
38 |
"url": "https://journals.lww.com/00126334-201509010-00011"
|
39 |
},
|
|
|
52 |
"Sydney Rosen"
|
53 |
],
|
54 |
"doi": "10.1111/j.1365-3156.2012.03028.x",
|
55 |
+
"date": "09/2012",
|
56 |
"item_type": "journalArticle",
|
57 |
"url": "https://onlinelibrary.wiley.com/doi/10.1111/j.1365-3156.2012.03028.x"
|
58 |
},
|
|
|
75 |
"Keertan Dheda"
|
76 |
],
|
77 |
"doi": "10.1183/09031936.00145511",
|
78 |
+
"date": "07/2012",
|
79 |
"item_type": "journalArticle",
|
80 |
"url": "http://erj.ersjournals.com/lookup/doi/10.1183/09031936.00145511"
|
81 |
},
|
|
|
94 |
"Achilles Katamba"
|
95 |
],
|
96 |
"doi": "10.1186/s12913-016-1804-9",
|
97 |
+
"date": "12/2016",
|
98 |
"item_type": "journalArticle",
|
99 |
"url": "http://bmchealthservres.biomedcentral.com/articles/10.1186/s12913-016-1804-9"
|
100 |
},
|
|
|
115 |
"A. H. Van'T Hoog"
|
116 |
],
|
117 |
"doi": "10.5588/ijtld.16.0496",
|
118 |
+
"date": "2017-04-01",
|
119 |
"item_type": "journalArticle",
|
120 |
"url": "http://www.ingentaconnect.com/content/10.5588/ijtld.16.0496"
|
121 |
},
|
|
|
138 |
"Julio Croda"
|
139 |
],
|
140 |
"doi": "10.1093/cid/ciaa135",
|
141 |
+
"date": "2021-03-01",
|
142 |
"item_type": "journalArticle",
|
143 |
"url": "https://academic.oup.com/cid/article/72/5/771/5736588"
|
144 |
},
|
|
|
154 |
"Anete Trajman"
|
155 |
],
|
156 |
"doi": "10.1590/s1806-37562015000004524",
|
157 |
+
"date": "12/2015",
|
158 |
"item_type": "journalArticle",
|
159 |
"url": "http://www.scielo.br/scielo.php?script=sci_arttext&pid=S1806-37132015000600536&lng=en&tlng=en"
|
160 |
},
|
|
|
181 |
"Keertan Dheda"
|
182 |
],
|
183 |
"doi": "10.1016/S2214-109X(19)30164-0",
|
184 |
+
"date": "06/2019",
|
185 |
"item_type": "journalArticle",
|
186 |
"url": "https://linkinghub.elsevier.com/retrieve/pii/S2214109X19301640"
|
187 |
},
|
|
|
206 |
"Luis E Cuevas"
|
207 |
],
|
208 |
"doi": "10.1136/bmjgh-2021-007592",
|
209 |
+
"date": "02/2022",
|
210 |
"item_type": "journalArticle",
|
211 |
"url": "https://gh.bmj.com/lookup/doi/10.1136/bmjgh-2021-007592"
|
212 |
},
|
|
|
222 |
"Elvira Richter"
|
223 |
],
|
224 |
"doi": "10.1183/13993003.01333-2015",
|
225 |
+
"date": "02/2016",
|
226 |
"item_type": "journalArticle",
|
227 |
"url": "http://erj.ersjournals.com/lookup/doi/10.1183/13993003.01333-2015"
|
228 |
},
|
|
|
244 |
"Susan Cleary"
|
245 |
],
|
246 |
"doi": "10.1371/journal.pone.0251547",
|
247 |
+
"date": "2021-5-14",
|
248 |
"item_type": "journalArticle",
|
249 |
"url": "https://dx.plos.org/10.1371/journal.pone.0251547"
|
250 |
},
|
|
|
260 |
"M. Shah"
|
261 |
],
|
262 |
"doi": "10.5588/ijtld.13.0095",
|
263 |
+
"date": "2013-10-01",
|
264 |
"item_type": "journalArticle",
|
265 |
"url": "http://openurl.ingenta.com/content/xref?genre=article&issn=1027-3719&volume=17&issue=10&spage=1328"
|
266 |
},
|
|
|
285 |
"Jacob Creswell"
|
286 |
],
|
287 |
"doi": "10.3201/eid2703.204090",
|
288 |
+
"date": "03/2021",
|
289 |
"item_type": "journalArticle",
|
290 |
"url": "https://wwwnc.cdc.gov/eid/article/27/3/20-4090_article.htm"
|
291 |
},
|
|
|
300 |
"A. Trajman"
|
301 |
],
|
302 |
"doi": "10.5588/ijtld.13.0637",
|
303 |
+
"date": "2014-05-01",
|
304 |
"item_type": "journalArticle",
|
305 |
"url": "http://openurl.ingenta.com/content/xref?genre=article&issn=1027-3719&volume=18&issue=5&spage=547"
|
306 |
},
|
|
|
317 |
"Deborah K. Glencross"
|
318 |
],
|
319 |
"doi": "10.4102/ajlm.v10i1.1229",
|
320 |
+
"date": "2021-11-30",
|
321 |
"item_type": "journalArticle",
|
322 |
"url": "http://www.ajlmonline.org/index.php/AJLM/article/view/1229"
|
323 |
},
|
|
|
337 |
"Maria Claudia Vater"
|
338 |
],
|
339 |
"doi": "10.1590/0037-8682-0082-2018",
|
340 |
+
"date": "10/2018",
|
341 |
"item_type": "journalArticle",
|
342 |
"url": "http://www.scielo.br/scielo.php?script=sci_arttext&pid=S0037-86822018000500631&tlng=en"
|
343 |
},
|
|
|
361 |
"Luis E. Cuevas"
|
362 |
],
|
363 |
"doi": "10.1128/JCM.00864-15",
|
364 |
+
"date": "08/2015",
|
365 |
"item_type": "journalArticle",
|
366 |
"url": "https://journals.asm.org/doi/10.1128/JCM.00864-15"
|
367 |
},
|
|
|
386 |
"Corinne S. Merle"
|
387 |
],
|
388 |
"doi": "10.1371/journal.pone.0264206",
|
389 |
+
"date": "2022-2-22",
|
390 |
"item_type": "journalArticle",
|
391 |
"url": "https://dx.plos.org/10.1371/journal.pone.0264206"
|
392 |
},
|
|
|
406 |
"Prathap Tharyan"
|
407 |
],
|
408 |
"doi": "10.1371/journal.pone.0205233",
|
409 |
+
"date": "2018-10-29",
|
410 |
"item_type": "journalArticle",
|
411 |
"url": "https://dx.plos.org/10.1371/journal.pone.0205233"
|
412 |
},
|
|
|
423 |
"Susan E Dorman"
|
424 |
],
|
425 |
"doi": "10.1186/1471-2334-13-352",
|
426 |
+
"date": "12/2013",
|
427 |
"item_type": "journalArticle",
|
428 |
"url": "https://bmcinfectdis.biomedcentral.com/articles/10.1186/1471-2334-13-352"
|
429 |
},
|
|
|
450 |
"Frank Cobelens"
|
451 |
],
|
452 |
"doi": "10.1371/journal.pmed.1001120",
|
453 |
+
"date": "2011-11-8",
|
454 |
"item_type": "journalArticle",
|
455 |
"url": "https://dx.plos.org/10.1371/journal.pmed.1001120"
|
456 |
},
|
|
|
468 |
"Achilles Katamba"
|
469 |
],
|
470 |
"doi": "10.1371/journal.pone.0122574",
|
471 |
+
"date": "2015-4-1",
|
472 |
"item_type": "journalArticle",
|
473 |
"url": "https://dx.plos.org/10.1371/journal.pone.0122574"
|
474 |
},
|
|
|
486 |
"Brittany Moore"
|
487 |
],
|
488 |
"doi": "10.1007/s40258-018-0397-3",
|
489 |
+
"date": "8/2018",
|
490 |
"item_type": "journalArticle",
|
491 |
"url": "http://link.springer.com/10.1007/s40258-018-0397-3"
|
492 |
},
|
|
|
502 |
"Charoen Chuchottaworn"
|
503 |
],
|
504 |
"doi": "10.1016/j.vhri.2019.09.010",
|
505 |
+
"date": "05/2020",
|
506 |
"item_type": "journalArticle",
|
507 |
"url": "https://linkinghub.elsevier.com/retrieve/pii/S221210992030008X"
|
508 |
},
|
|
|
519 |
"Kevin Schwartzman"
|
520 |
],
|
521 |
"doi": "10.1371/journal.pone.0150119",
|
522 |
+
"date": "2016-3-18",
|
523 |
"item_type": "journalArticle",
|
524 |
"url": "https://dx.plos.org/10.1371/journal.pone.0150119"
|
525 |
},
|
|
|
533 |
"Alemayehu Hailu"
|
534 |
],
|
535 |
"doi": "10.1371/journal.pone.0259056",
|
536 |
+
"date": "2021-10-25",
|
537 |
"item_type": "journalArticle",
|
538 |
"url": "https://dx.plos.org/10.1371/journal.pone.0259056"
|
539 |
},
|
|
|
555 |
"Esther Turunga"
|
556 |
],
|
557 |
"doi": "10.1097/QAI.0000000000002371",
|
558 |
+
"date": "2020-07-1",
|
559 |
"item_type": "journalArticle",
|
560 |
"url": "https://journals.lww.com/10.1097/QAI.0000000000002371"
|
561 |
},
|
|
|
575 |
"Jos\u00e9 Mar\u00eda Ten\u00edas-Burillo"
|
576 |
],
|
577 |
"doi": "10.1016/j.eimc.2016.06.009",
|
578 |
+
"date": "08/2017",
|
579 |
"item_type": "journalArticle",
|
580 |
"url": "https://linkinghub.elsevier.com/retrieve/pii/S0213005X16301550"
|
581 |
},
|
|
|
595 |
"Jos\u00e9 Mar\u00eda Ten\u00edas-Burillo"
|
596 |
],
|
597 |
"doi": "10.1016/j.eimc.2016.06.009",
|
598 |
+
"date": "08/2017",
|
599 |
"item_type": "journalArticle",
|
600 |
"url": "https://linkinghub.elsevier.com/retrieve/pii/S0213005X16301550"
|
601 |
},
|
|
|
611 |
"Nelson L.S. Lee"
|
612 |
],
|
613 |
"doi": "10.1016/j.jinf.2014.12.015",
|
614 |
+
"date": "04/2015",
|
615 |
"item_type": "journalArticle",
|
616 |
"url": "https://linkinghub.elsevier.com/retrieve/pii/S016344531500002X"
|
617 |
}
|
data/vaccine_coverage_zotero_items.json
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
"Rania A Tohme"
|
18 |
],
|
19 |
"doi": "10.15585/mmwr.mm7229a2",
|
20 |
-
"
|
21 |
"item_type": "journalArticle",
|
22 |
"url": ""
|
23 |
},
|
@@ -31,7 +31,7 @@
|
|
31 |
"Edgar Mugema Mulogo"
|
32 |
],
|
33 |
"doi": "10.21522/TIJPH.2013.09.03.Art019",
|
34 |
-
"
|
35 |
"item_type": "journalArticle",
|
36 |
"url": ""
|
37 |
},
|
@@ -45,7 +45,7 @@
|
|
45 |
"Edgar Mugema Mulogo"
|
46 |
],
|
47 |
"doi": "10.21522/TIJPH.2013.09.04.Art008",
|
48 |
-
"
|
49 |
"item_type": "journalArticle",
|
50 |
"url": ""
|
51 |
},
|
@@ -89,7 +89,7 @@
|
|
89 |
"G. Shapira"
|
90 |
],
|
91 |
"doi": "10.1371/journal.pmed.1004070",
|
92 |
-
"
|
93 |
"item_type": "journalArticle",
|
94 |
"url": "https://www.scopus.com/inward/record.uri?eid=2-s2.0-85137126764&doi=10.1371%2fjournal.pmed.1004070&partnerID=40&md5=32f1cd887f5eb46121eb1e48abfcdaaf"
|
95 |
},
|
@@ -111,7 +111,7 @@
|
|
111 |
"Yahaya Gavamukulya"
|
112 |
],
|
113 |
"doi": "10.1016/j.dib.2019.104269",
|
114 |
-
"
|
115 |
"item_type": "journalArticle",
|
116 |
"url": ""
|
117 |
},
|
@@ -137,7 +137,7 @@
|
|
137 |
"Kirsty Le Doare"
|
138 |
],
|
139 |
"doi": "10.1136/bmjgh-2021-006102",
|
140 |
-
"
|
141 |
"item_type": "journalArticle",
|
142 |
"url": "https://search.ebscohost.com/login.aspx?direct=true&db=cmedm&AN=34452941&site=ehost-live&scope=site"
|
143 |
},
|
@@ -152,7 +152,7 @@
|
|
152 |
"Tsai-Ching Hsu"
|
153 |
],
|
154 |
"doi": "",
|
155 |
-
"
|
156 |
"item_type": "journalArticle",
|
157 |
"url": "https://search.ebscohost.com/login.aspx?direct=true&db=a9h&AN=148721705&site=ehost-live&scope=site"
|
158 |
},
|
@@ -176,7 +176,7 @@
|
|
176 |
"E. M. Mulogo"
|
177 |
],
|
178 |
"doi": "10.1186/s12879-022-07579-w",
|
179 |
-
"
|
180 |
"item_type": "journalArticle",
|
181 |
"url": ""
|
182 |
},
|
@@ -192,7 +192,7 @@
|
|
192 |
"D. Kajungu"
|
193 |
],
|
194 |
"doi": "10.1186/s12913-023-09875-w",
|
195 |
-
"
|
196 |
"item_type": "journalArticle",
|
197 |
"url": ""
|
198 |
},
|
@@ -210,7 +210,7 @@
|
|
210 |
"C. Banura"
|
211 |
],
|
212 |
"doi": "10.1186/s12889-022-13113-z",
|
213 |
-
"
|
214 |
"item_type": "journalArticle",
|
215 |
"url": ""
|
216 |
},
|
@@ -242,7 +242,7 @@
|
|
242 |
"N. Fadl"
|
243 |
],
|
244 |
"doi": "10.1007/s10900-023-01261-1",
|
245 |
-
"
|
246 |
"item_type": "journalArticle",
|
247 |
"url": ""
|
248 |
},
|
@@ -264,7 +264,7 @@
|
|
264 |
"Y. Gavamukulya"
|
265 |
],
|
266 |
"doi": "10.1016/j.dib.2019.104269",
|
267 |
-
"
|
268 |
"item_type": "journalArticle",
|
269 |
"url": ""
|
270 |
},
|
@@ -286,7 +286,7 @@
|
|
286 |
"Y. Gavamukulya"
|
287 |
],
|
288 |
"doi": "10.9734/ijtdh/2019/v39i330209",
|
289 |
-
"
|
290 |
"item_type": "journalArticle",
|
291 |
"url": ""
|
292 |
},
|
@@ -303,7 +303,7 @@
|
|
303 |
"H. W. Reynolds"
|
304 |
],
|
305 |
"doi": "10.3390/vaccines11030647",
|
306 |
-
"
|
307 |
"item_type": "journalArticle",
|
308 |
"url": ""
|
309 |
},
|
@@ -320,7 +320,7 @@
|
|
320 |
"E. Sacks"
|
321 |
],
|
322 |
"doi": "10.1093/heapol/czaa099",
|
323 |
-
"
|
324 |
"item_type": "journalArticle",
|
325 |
"url": ""
|
326 |
},
|
@@ -341,7 +341,7 @@
|
|
341 |
"L. Berman"
|
342 |
],
|
343 |
"doi": "10.3390/vaccines11020375",
|
344 |
-
"
|
345 |
"item_type": "journalArticle",
|
346 |
"url": ""
|
347 |
},
|
@@ -359,7 +359,7 @@
|
|
359 |
"P. Waiswa"
|
360 |
],
|
361 |
"doi": "10.1186/s12913-021-06554-6",
|
362 |
-
"
|
363 |
"item_type": "journalArticle",
|
364 |
"url": ""
|
365 |
},
|
@@ -378,7 +378,7 @@
|
|
378 |
"F. Guillen-Grima"
|
379 |
],
|
380 |
"doi": "10.3390/vaccines11061103",
|
381 |
-
"
|
382 |
"item_type": "journalArticle",
|
383 |
"url": ""
|
384 |
}
|
|
|
17 |
"Rania A Tohme"
|
18 |
],
|
19 |
"doi": "10.15585/mmwr.mm7229a2",
|
20 |
+
"date": "2023",
|
21 |
"item_type": "journalArticle",
|
22 |
"url": ""
|
23 |
},
|
|
|
31 |
"Edgar Mugema Mulogo"
|
32 |
],
|
33 |
"doi": "10.21522/TIJPH.2013.09.03.Art019",
|
34 |
+
"date": "2021",
|
35 |
"item_type": "journalArticle",
|
36 |
"url": ""
|
37 |
},
|
|
|
45 |
"Edgar Mugema Mulogo"
|
46 |
],
|
47 |
"doi": "10.21522/TIJPH.2013.09.04.Art008",
|
48 |
+
"date": "2021",
|
49 |
"item_type": "journalArticle",
|
50 |
"url": ""
|
51 |
},
|
|
|
89 |
"G. Shapira"
|
90 |
],
|
91 |
"doi": "10.1371/journal.pmed.1004070",
|
92 |
+
"date": "2022",
|
93 |
"item_type": "journalArticle",
|
94 |
"url": "https://www.scopus.com/inward/record.uri?eid=2-s2.0-85137126764&doi=10.1371%2fjournal.pmed.1004070&partnerID=40&md5=32f1cd887f5eb46121eb1e48abfcdaaf"
|
95 |
},
|
|
|
111 |
"Yahaya Gavamukulya"
|
112 |
],
|
113 |
"doi": "10.1016/j.dib.2019.104269",
|
114 |
+
"date": "2019",
|
115 |
"item_type": "journalArticle",
|
116 |
"url": ""
|
117 |
},
|
|
|
137 |
"Kirsty Le Doare"
|
138 |
],
|
139 |
"doi": "10.1136/bmjgh-2021-006102",
|
140 |
+
"date": "2021",
|
141 |
"item_type": "journalArticle",
|
142 |
"url": "https://search.ebscohost.com/login.aspx?direct=true&db=cmedm&AN=34452941&site=ehost-live&scope=site"
|
143 |
},
|
|
|
152 |
"Tsai-Ching Hsu"
|
153 |
],
|
154 |
"doi": "",
|
155 |
+
"date": "2020",
|
156 |
"item_type": "journalArticle",
|
157 |
"url": "https://search.ebscohost.com/login.aspx?direct=true&db=a9h&AN=148721705&site=ehost-live&scope=site"
|
158 |
},
|
|
|
176 |
"E. M. Mulogo"
|
177 |
],
|
178 |
"doi": "10.1186/s12879-022-07579-w",
|
179 |
+
"date": "2022",
|
180 |
"item_type": "journalArticle",
|
181 |
"url": ""
|
182 |
},
|
|
|
192 |
"D. Kajungu"
|
193 |
],
|
194 |
"doi": "10.1186/s12913-023-09875-w",
|
195 |
+
"date": "2023",
|
196 |
"item_type": "journalArticle",
|
197 |
"url": ""
|
198 |
},
|
|
|
210 |
"C. Banura"
|
211 |
],
|
212 |
"doi": "10.1186/s12889-022-13113-z",
|
213 |
+
"date": "2022",
|
214 |
"item_type": "journalArticle",
|
215 |
"url": ""
|
216 |
},
|
|
|
242 |
"N. Fadl"
|
243 |
],
|
244 |
"doi": "10.1007/s10900-023-01261-1",
|
245 |
+
"date": "2024",
|
246 |
"item_type": "journalArticle",
|
247 |
"url": ""
|
248 |
},
|
|
|
264 |
"Y. Gavamukulya"
|
265 |
],
|
266 |
"doi": "10.1016/j.dib.2019.104269",
|
267 |
+
"date": "2019",
|
268 |
"item_type": "journalArticle",
|
269 |
"url": ""
|
270 |
},
|
|
|
286 |
"Y. Gavamukulya"
|
287 |
],
|
288 |
"doi": "10.9734/ijtdh/2019/v39i330209",
|
289 |
+
"date": "2019",
|
290 |
"item_type": "journalArticle",
|
291 |
"url": ""
|
292 |
},
|
|
|
303 |
"H. W. Reynolds"
|
304 |
],
|
305 |
"doi": "10.3390/vaccines11030647",
|
306 |
+
"date": "2023",
|
307 |
"item_type": "journalArticle",
|
308 |
"url": ""
|
309 |
},
|
|
|
320 |
"E. Sacks"
|
321 |
],
|
322 |
"doi": "10.1093/heapol/czaa099",
|
323 |
+
"date": "2020",
|
324 |
"item_type": "journalArticle",
|
325 |
"url": ""
|
326 |
},
|
|
|
341 |
"L. Berman"
|
342 |
],
|
343 |
"doi": "10.3390/vaccines11020375",
|
344 |
+
"date": "2023",
|
345 |
"item_type": "journalArticle",
|
346 |
"url": ""
|
347 |
},
|
|
|
359 |
"P. Waiswa"
|
360 |
],
|
361 |
"doi": "10.1186/s12913-021-06554-6",
|
362 |
+
"date": "2021",
|
363 |
"item_type": "journalArticle",
|
364 |
"url": ""
|
365 |
},
|
|
|
378 |
"F. Guillen-Grima"
|
379 |
],
|
380 |
"doi": "10.3390/vaccines11061103",
|
381 |
+
"date": "2023",
|
382 |
"item_type": "journalArticle",
|
383 |
"url": ""
|
384 |
}
|
rag/rag_pipeline.py
CHANGED
@@ -35,7 +35,7 @@ class RAGPipeline:
|
|
35 |
metadata = {
|
36 |
"title": doc_data.get("title"),
|
37 |
"authors": doc_data.get("authors", []),
|
38 |
-
"year": doc_data.get("
|
39 |
"doi": doc_data.get("doi"),
|
40 |
}
|
41 |
|
|
|
35 |
metadata = {
|
36 |
"title": doc_data.get("title"),
|
37 |
"authors": doc_data.get("authors", []),
|
38 |
+
"year": doc_data.get("date"),
|
39 |
"doi": doc_data.get("doi"),
|
40 |
}
|
41 |
|
requirements.txt
CHANGED
@@ -3,4 +3,5 @@ gradio
|
|
3 |
llama-index
|
4 |
openai
|
5 |
pandas
|
6 |
-
pydantic
|
|
|
|
3 |
llama-index
|
4 |
openai
|
5 |
pandas
|
6 |
+
pydantic
|
7 |
+
python-dotenv
|
sample_queries.md
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
1. For each of the studies on vaccine coverage, could you create a table that lists the findings from the vaccine coverage studies, incorporating variables such as STUDYID, TITLE, DOIs, YEAR?
|
2 |
+
|