monsoon-nlp
commited on
Commit
•
f77f672
1
Parent(s):
bbabc35
rework prompt and meaningful links
Browse files- 20240518_qa_public.jsonl +25 -25
- scrape_with_openai.py +5 -2
20240518_qa_public.jsonl
CHANGED
@@ -1,25 +1,25 @@
|
|
1 |
-
{"question_date": "2024/04/26", "question_url": "https://en.wikinews.org/wiki/Wikinews_interviews_noted_juggler_for_International_Jugglers_Day", "question_sentence": "Who
|
2 |
-
{"question_date": "2024/04/26", "question_url": "https://en.wikinews.org/wiki/Wikinews_interviews_noted_juggler_for_International_Jugglers_Day", "question_sentence": "At what age did Spencer Androli start juggling?", "links": ["https://nationaltoday.com/international-jugglers-day/", "https://www.youtube.com/watch?v=4si4QsK8gkE", "https://www.youtube.com/watch?v=W3Cd9s_y0D0", "https://tylerpaper.com/news/local/tyler-juggling-duo-set-to-perform-the-spence-and-paul-show-this-weekend/article_953f822a-e513-11ed-af0d-bfaa46819b6a.html", "
|
3 |
-
{"question_date": "2024/04/26", "question_url": "https://en.wikinews.org/wiki/Wikinews_interviews_noted_juggler_for_International_Jugglers_Day", "question_sentence": "
|
4 |
-
{"question_date": "2024/04/26", "question_url": "https://en.wikinews.org/wiki/Wikinews_interviews_noted_juggler_for_International_Jugglers_Day", "question_sentence": "
|
5 |
-
{"question_date": "2024/04/26", "question_url": "https://en.wikinews.org/wiki/Wikinews_interviews_noted_juggler_for_International_Jugglers_Day", "question_sentence": "
|
6 |
-
{"question_date": "2024/04/25", "question_url": "https://en.wikinews.org/wiki/Industry_leaders_see_energy_supply_as_the_next_hurdle_for_AI", "question_sentence": "
|
7 |
-
{"question_date": "2024/04/25", "question_url": "https://en.wikinews.org/wiki/Industry_leaders_see_energy_supply_as_the_next_hurdle_for_AI", "question_sentence": "
|
8 |
-
{"question_date": "2024/04/25", "question_url": "https://en.wikinews.org/wiki/Industry_leaders_see_energy_supply_as_the_next_hurdle_for_AI", "question_sentence": "
|
9 |
-
{"question_date": "2024/04/25", "question_url": "https://en.wikinews.org/wiki/Industry_leaders_see_energy_supply_as_the_next_hurdle_for_AI", "question_sentence": "
|
10 |
-
{"question_date": "2024/04/25", "question_url": "https://en.wikinews.org/wiki/Industry_leaders_see_energy_supply_as_the_next_hurdle_for_AI", "question_sentence": "What
|
11 |
-
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Lawrence_Wong_to_become_Prime_Minister_of_Singapore_on_May_15", "question_sentence": "
|
12 |
-
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Lawrence_Wong_to_become_Prime_Minister_of_Singapore_on_May_15", "question_sentence": "
|
13 |
-
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Lawrence_Wong_to_become_Prime_Minister_of_Singapore_on_May_15", "question_sentence": "
|
14 |
-
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Lawrence_Wong_to_become_Prime_Minister_of_Singapore_on_May_15", "question_sentence": "
|
15 |
-
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Lawrence_Wong_to_become_Prime_Minister_of_Singapore_on_May_15", "question_sentence": "
|
16 |
-
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Environmental_protesters_arrested_at_Massachusetts_airport", "question_sentence": "What
|
17 |
-
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Environmental_protesters_arrested_at_Massachusetts_airport", "question_sentence": "
|
18 |
-
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Environmental_protesters_arrested_at_Massachusetts_airport", "question_sentence": "What
|
19 |
-
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Environmental_protesters_arrested_at_Massachusetts_airport", "question_sentence": "What
|
20 |
-
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Environmental_protesters_arrested_at_Massachusetts_airport", "question_sentence": "
|
21 |
-
{"question_date": "2024/04/22", "question_url": "https://en.wikinews.org/wiki/NASA_says_object_that_hit_Florida_home_is_from_International_Space_Station", "question_sentence": "What did NASA confirm about the object that struck a Naples, Florida home?", "links": ["https://people.com/nasa-says-piece-of-space-junk-crashed-into-florida-home-last-month-8634328", "https://cnn.com/2024/04/16/world/space-junk-florida-home-crash-scn/index.html", "https://blogs.nasa.gov/spacestation/2024/04/15/nasa-completes-analysis-of-recovered-space-object"
|
22 |
-
{"question_date": "2024/04/22", "question_url": "https://en.wikinews.org/wiki/NASA_says_object_that_hit_Florida_home_is_from_International_Space_Station", "question_sentence": "
|
23 |
-
{"question_date": "2024/04/22", "question_url": "https://en.wikinews.org/wiki/NASA_says_object_that_hit_Florida_home_is_from_International_Space_Station", "question_sentence": "
|
24 |
-
{"question_date": "2024/04/22", "question_url": "https://en.wikinews.org/wiki/NASA_says_object_that_hit_Florida_home_is_from_International_Space_Station", "question_sentence": "
|
25 |
-
{"question_date": "2024/04/22", "question_url": "https://en.wikinews.org/wiki/NASA_says_object_that_hit_Florida_home_is_from_International_Space_Station", "question_sentence": "Where
|
|
|
1 |
+
{"question_date": "2024/04/26", "question_url": "https://en.wikinews.org/wiki/Wikinews_interviews_noted_juggler_for_International_Jugglers_Day", "question_sentence": "Who is the organizer of the Top 40 Jugglers of the Year Chart?", "links": ["https://nationaltoday.com/international-jugglers-day/", "https://www.youtube.com/watch?v=4si4QsK8gkE", "https://www.youtube.com/watch?v=W3Cd9s_y0D0", "https://tylerpaper.com/news/local/tyler-juggling-duo-set-to-perform-the-spence-and-paul-show-this-weekend/article_953f822a-e513-11ed-af0d-bfaa46819b6a.html", "https://www.youtube.com/@spencethejuggler", "https://www.flynncreekcircus.com/"], "choices": ["Luke Burrage", "Spencer Androli", "Paul Haygood", "Viktor Pinchuk"], "answer_text": "Luke Burrage", "answer": [0], "question_id": "20240518_0", "question_source": "WikiNews"}
|
2 |
+
{"question_date": "2024/04/26", "question_url": "https://en.wikinews.org/wiki/Wikinews_interviews_noted_juggler_for_International_Jugglers_Day", "question_sentence": "At what age did Spencer Androli start juggling?", "links": ["https://nationaltoday.com/international-jugglers-day/", "https://www.youtube.com/watch?v=4si4QsK8gkE", "https://www.youtube.com/watch?v=W3Cd9s_y0D0", "https://tylerpaper.com/news/local/tyler-juggling-duo-set-to-perform-the-spence-and-paul-show-this-weekend/article_953f822a-e513-11ed-af0d-bfaa46819b6a.html", "https://www.youtube.com/@spencethejuggler", "https://www.flynncreekcircus.com/"], "choices": ["Five", "Eight", "Ten", "Twelve"], "answer_text": "Eight", "answer": [1], "question_id": "20240518_1", "question_source": "WikiNews"}
|
3 |
+
{"question_date": "2024/04/26", "question_url": "https://en.wikinews.org/wiki/Wikinews_interviews_noted_juggler_for_International_Jugglers_Day", "question_sentence": "Which circus did Spencer Androli tour with from June to October 2023?", "links": ["https://nationaltoday.com/international-jugglers-day/", "https://www.youtube.com/watch?v=4si4QsK8gkE", "https://www.youtube.com/watch?v=W3Cd9s_y0D0", "https://tylerpaper.com/news/local/tyler-juggling-duo-set-to-perform-the-spence-and-paul-show-this-weekend/article_953f822a-e513-11ed-af0d-bfaa46819b6a.html", "https://www.youtube.com/@spencethejuggler", "https://www.flynncreekcircus.com/"], "choices": ["Big Apple Circus", "Ringling Bros. Circus", "Flynn Creek Circus", "Cirque du Soleil"], "answer_text": "Flynn Creek Circus", "answer": [2], "question_id": "20240518_2", "question_source": "WikiNews"}
|
4 |
+
{"question_date": "2024/04/26", "question_url": "https://en.wikinews.org/wiki/Wikinews_interviews_noted_juggler_for_International_Jugglers_Day", "question_sentence": "Which two states did the Flynn Creek Circus tour through in 2023?", "links": ["https://nationaltoday.com/international-jugglers-day/", "https://www.youtube.com/watch?v=4si4QsK8gkE", "https://www.youtube.com/watch?v=W3Cd9s_y0D0", "https://tylerpaper.com/news/local/tyler-juggling-duo-set-to-perform-the-spence-and-paul-show-this-weekend/article_953f822a-e513-11ed-af0d-bfaa46819b6a.html", "https://www.youtube.com/@spencethejuggler", "https://www.flynncreekcircus.com/"], "choices": ["California and Nevada", "California and Oregon", "Texas and Louisiana", "Nevada and Arizona"], "answer_text": "California and Oregon", "answer": [1], "question_id": "20240518_3", "question_source": "WikiNews"}
|
5 |
+
{"question_date": "2024/04/26", "question_url": "https://en.wikinews.org/wiki/Wikinews_interviews_noted_juggler_for_International_Jugglers_Day", "question_sentence": "What is the name of the juggling duo Spencer Androli was part of?", "links": ["https://nationaltoday.com/international-jugglers-day/", "https://www.youtube.com/watch?v=4si4QsK8gkE", "https://www.youtube.com/watch?v=W3Cd9s_y0D0", "https://tylerpaper.com/news/local/tyler-juggling-duo-set-to-perform-the-spence-and-paul-show-this-weekend/article_953f822a-e513-11ed-af0d-bfaa46819b6a.html", "https://www.youtube.com/@spencethejuggler", "https://www.flynncreekcircus.com/"], "choices": ["The Amazing Jugglers", "Spence and Paul Show", "The Juggling Masters", "Dynamic Duo Jugglers"], "answer_text": "Spence and Paul Show", "answer": [1], "question_id": "20240518_4", "question_source": "WikiNews"}
|
6 |
+
{"question_date": "2024/04/25", "question_url": "https://en.wikinews.org/wiki/Industry_leaders_see_energy_supply_as_the_next_hurdle_for_AI", "question_sentence": "Who raised concerns on a podcast about the approaching energy supply challenges for artificial intelligence (AI) development?", "links": ["https://www.flickr.com/people/22882274@N04", "https://www.datacenterdynamics.com/en/news/metas-mark-zuckerberg-says-energy-constraints-are-holding-back-ai-data-center-buildout/", "https://arstechnica.com/ai/2024/04/power-hungry-ai-is-putting-the-hurt-on-global-electricity-supply/", "https://www.theregister.com/2024/04/09/aws_resource_restrictions/", "https://newatlas.com/technology/elon-musk-ai"], "choices": ["Elon Musk", "Satya Nadella", "Mark Zuckerberg", "Sundar Pichai"], "answer_text": "Mark Zuckerberg", "answer": [2], "question_id": "20240518_5", "question_source": "WikiNews"}
|
7 |
+
{"question_date": "2024/04/25", "question_url": "https://en.wikinews.org/wiki/Industry_leaders_see_energy_supply_as_the_next_hurdle_for_AI", "question_sentence": "What did Elon Musk warn about in relation to AI development?", "links": ["https://www.flickr.com/people/22882274@N04", "https://www.datacenterdynamics.com/en/news/metas-mark-zuckerberg-says-energy-constraints-are-holding-back-ai-data-center-buildout/", "https://arstechnica.com/ai/2024/04/power-hungry-ai-is-putting-the-hurt-on-global-electricity-supply/", "https://www.theregister.com/2024/04/09/aws_resource_restrictions/", "https://newatlas.com/technology/elon-musk-ai"], "choices": ["AI exceeding computational limits", "AI exceeding energy capacity", "AI posing ethical concerns", "AI surpassing human intelligence"], "answer_text": "AI exceeding energy capacity", "answer": [1], "question_id": "20240518_6", "question_source": "WikiNews"}
|
8 |
+
{"question_date": "2024/04/25", "question_url": "https://en.wikinews.org/wiki/Industry_leaders_see_energy_supply_as_the_next_hurdle_for_AI", "question_sentence": "Which three companies are projected to spend over US$120 billion on data center expansion in 2025?", "links": ["https://www.flickr.com/people/22882274@N04", "https://www.datacenterdynamics.com/en/news/metas-mark-zuckerberg-says-energy-constraints-are-holding-back-ai-data-center-buildout/", "https://arstechnica.com/ai/2024/04/power-hungry-ai-is-putting-the-hurt-on-global-electricity-supply/", "https://www.theregister.com/2024/04/09/aws_resource_restrictions/", "https://newatlas.com/technology/elon-musk-ai"], "choices": ["Apple, Meta, IBM", "Alphabet Inc. (Google), Microsoft, Amazon.com", "Alibaba, Tencent, ByteDance", "Samsung, Intel, AMD"], "answer_text": "Alphabet Inc. (Google), Microsoft, Amazon.com", "answer": [1], "question_id": "20240518_7", "question_source": "WikiNews"}
|
9 |
+
{"question_date": "2024/04/25", "question_url": "https://en.wikinews.org/wiki/Industry_leaders_see_energy_supply_as_the_next_hurdle_for_AI", "question_sentence": "What energy capacity does Mark Zuckerberg anticipate for future data centers?", "links": ["https://www.flickr.com/people/22882274@N04", "https://www.datacenterdynamics.com/en/news/metas-mark-zuckerberg-says-energy-constraints-are-holding-back-ai-data-center-buildout/", "https://arstechnica.com/ai/2024/04/power-hungry-ai-is-putting-the-hurt-on-global-electricity-supply/", "https://www.theregister.com/2024/04/09/aws_resource_restrictions/", "https://newatlas.com/technology/elon-musk-ai"], "choices": ["500 megawatts", "1 gigawatt", "2 gigawatts", "5 gigawatts"], "answer_text": "1 gigawatt", "answer": [1], "question_id": "20240518_8", "question_source": "WikiNews"}
|
10 |
+
{"question_date": "2024/04/25", "question_url": "https://en.wikinews.org/wiki/Industry_leaders_see_energy_supply_as_the_next_hurdle_for_AI", "question_sentence": "What is competing with the AI industry for energy supply, according to Elon Musk?", "links": ["https://www.flickr.com/people/22882274@N04", "https://www.datacenterdynamics.com/en/news/metas-mark-zuckerberg-says-energy-constraints-are-holding-back-ai-data-center-buildout/", "https://arstechnica.com/ai/2024/04/power-hungry-ai-is-putting-the-hurt-on-global-electricity-supply/", "https://www.theregister.com/2024/04/09/aws_resource_restrictions/", "https://newatlas.com/technology/elon-musk-ai"], "choices": ["Cloud computing", "Electric vehicles", "Cryptocurrency mining", "5G technology"], "answer_text": "Electric vehicles", "answer": [1], "question_id": "20240518_9", "question_source": "WikiNews"}
|
11 |
+
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Lawrence_Wong_to_become_Prime_Minister_of_Singapore_on_May_15", "question_sentence": "Who is set to become the next Prime Minister of Singapore on May 15, 2024?", "links": ["https://www.pmo.gov.sg/The-Cabinet/Mr-Lawrence-WONG", "https://asia.nikkei.com/Politics/Lee-Hsien-Loong-to-step-down-as-Singapore-prime-minister-in-May", "https://www.pmo.gov.sg/Newsroom/PMO-Statement-on-the-Handover-Date-Apr-2024", "https://www.channelnewsasia.com/singapore/prime-minister-lee-hsien-loong-lawrence-wong-leadership-handover-4266031"], "choices": ["Lee Hsien Loong", "Lawrence Wong", "Ranil Wickremesinghe", "Heng Swee Keat"], "answer_text": "Lawrence Wong", "answer": [1], "question_id": "20240518_10", "question_source": "WikiNews"}
|
12 |
+
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Lawrence_Wong_to_become_Prime_Minister_of_Singapore_on_May_15", "question_sentence": "What role does Lawrence Wong currently hold in addition to being the Deputy Prime Minister?", "links": ["https://www.pmo.gov.sg/The-Cabinet/Mr-Lawrence-WONG", "https://asia.nikkei.com/Politics/Lee-Hsien-Loong-to-step-down-as-Singapore-prime-minister-in-May", "https://www.pmo.gov.sg/Newsroom/PMO-Statement-on-the-Handover-Date-Apr-2024", "https://www.channelnewsasia.com/singapore/prime-minister-lee-hsien-loong-lawrence-wong-leadership-handover-4266031"], "choices": ["Minister for Defence", "Minister for Finance", "Minister for Foreign Affairs", "Chairman of the People's Action Party"], "answer_text": "Minister for Finance", "answer": [1], "question_id": "20240518_11", "question_source": "WikiNews"}
|
13 |
+
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Lawrence_Wong_to_become_Prime_Minister_of_Singapore_on_May_15", "question_sentence": "At what time will Lawrence Wong be sworn in on May 15, 2024?", "links": ["https://www.pmo.gov.sg/The-Cabinet/Mr-Lawrence-WONG", "https://asia.nikkei.com/Politics/Lee-Hsien-Loong-to-step-down-as-Singapore-prime-minister-in-May", "https://www.pmo.gov.sg/Newsroom/PMO-Statement-on-the-Handover-Date-Apr-2024", "https://www.channelnewsasia.com/singapore/prime-minister-lee-hsien-loong-lawrence-wong-leadership-handover-4266031"], "choices": ["6:00 p.m. SGT", "8:00 p.m. SGT", "5:00 p.m. SGT", "7:00 p.m. SGT"], "answer_text": "8:00 p.m. SGT", "answer": [1], "question_id": "20240518_12", "question_source": "WikiNews"}
|
14 |
+
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Lawrence_Wong_to_become_Prime_Minister_of_Singapore_on_May_15", "question_sentence": "What is Lawrence Wong's predecessor, Lee Hsien Loong, planning to do after stepping down as Prime Minister?", "links": ["https://www.pmo.gov.sg/The-Cabinet/Mr-Lawrence-WONG", "https://asia.nikkei.com/Politics/Lee-Hsien-Loong-to-step-down-as-Singapore-prime-minister-in-May", "https://www.pmo.gov.sg/Newsroom/PMO-Statement-on-the-Handover-Date-Apr-2024", "https://www.channelnewsasia.com/singapore/prime-minister-lee-hsien-loong-lawrence-wong-leadership-handover-4266031"], "choices": ["Retire from politics", "Become Senior Minister", "Join a private company", "Move to another country"], "answer_text": "Become Senior Minister", "answer": [1], "question_id": "20240518_13", "question_source": "WikiNews"}
|
15 |
+
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Lawrence_Wong_to_become_Prime_Minister_of_Singapore_on_May_15", "question_sentence": "What pandemic-related role did Lawrence Wong hold prior to being announced as the next Prime Minister?", "links": ["https://www.pmo.gov.sg/The-Cabinet/Mr-Lawrence-WONG", "https://asia.nikkei.com/Politics/Lee-Hsien-Loong-to-step-down-as-Singapore-prime-minister-in-May", "https://www.pmo.gov.sg/Newsroom/PMO-Statement-on-the-Handover-Date-Apr-2024", "https://www.channelnewsasia.com/singapore/prime-minister-lee-hsien-loong-lawrence-wong-leadership-handover-4266031"], "choices": ["Head of the COVID-19 National Vaccination Programme", "Lead of the COVID-19 task force", "Chief Healthcare Officer", "President of the Medical Association"], "answer_text": "Lead of the COVID-19 task force", "answer": [1], "question_id": "20240518_14", "question_source": "WikiNews"}
|
16 |
+
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Environmental_protesters_arrested_at_Massachusetts_airport", "question_sentence": "What organization were the arrested protesters supporting?", "links": ["https://www.msn.com/en-us/news/other/at-least-20-environmental-protesters-arrested-at-massachusetts-airport-police-say/ar-AA1nmD1d", "https://www.msn.com/en-us/news/us/20-climate-change-protesters-arrested-at-hanscom-airport-state-police-say/ar-AA1nmsmo"], "choices": ["Greenpeace", "Sierra Club", "Extinction Rebellion", "Friends of Earth"], "answer_text": "Extinction Rebellion", "answer": [2], "question_id": "20240518_15", "question_source": "WikiNews"}
|
17 |
+
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Environmental_protesters_arrested_at_Massachusetts_airport", "question_sentence": "Where did the incident involving environmental protesters take place?", "links": ["https://www.msn.com/en-us/news/other/at-least-20-environmental-protesters-arrested-at-massachusetts-airport-police-say/ar-AA1nmD1d", "https://www.msn.com/en-us/news/us/20-climate-change-protesters-arrested-at-hanscom-airport-state-police-say/ar-AA1nmsmo"], "choices": ["Logan International Airport", "Worcester Regional Airport", "Hanscom Field Airport", "Martha's Vineyard Airport"], "answer_text": "Hanscom Field Airport", "answer": [2], "question_id": "20240518_16", "question_source": "WikiNews"}
|
18 |
+
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Environmental_protesters_arrested_at_Massachusetts_airport", "question_sentence": "What were the protesters at Hanscom Field Airport protesting?", "links": ["https://www.msn.com/en-us/news/other/at-least-20-environmental-protesters-arrested-at-massachusetts-airport-police-say/ar-AA1nmD1d", "https://www.msn.com/en-us/news/us/20-climate-change-protesters-arrested-at-hanscom-airport-state-police-say/ar-AA1nmsmo"], "choices": ["Noise pollution", "The use of fossil fuels", "Expansion of private jet hangers", "Commercial flight operations"], "answer_text": "Expansion of private jet hangers", "answer": [2], "question_id": "20240518_17", "question_source": "WikiNews"}
|
19 |
+
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Environmental_protesters_arrested_at_Massachusetts_airport", "question_sentence": "What charges could the arrested protesters face?", "links": ["https://www.msn.com/en-us/news/other/at-least-20-environmental-protesters-arrested-at-massachusetts-airport-police-say/ar-AA1nmD1d", "https://www.msn.com/en-us/news/us/20-climate-change-protesters-arrested-at-hanscom-airport-state-police-say/ar-AA1nmsmo"], "choices": ["Illegal assembly and vandalism", "Trespassing and disorderly conduct", "Assault and battery", "Destruction of property and harassment"], "answer_text": "Trespassing and disorderly conduct", "answer": [1], "question_id": "20240518_18", "question_source": "WikiNews"}
|
20 |
+
{"question_date": "2024/04/23", "question_url": "https://en.wikinews.org/wiki/Environmental_protesters_arrested_at_Massachusetts_airport", "question_sentence": "Who commented that the Hanscom Airport expansion project is currently under review?", "links": ["https://www.msn.com/en-us/news/other/at-least-20-environmental-protesters-arrested-at-massachusetts-airport-police-say/ar-AA1nmD1d", "https://www.msn.com/en-us/news/us/20-climate-change-protesters-arrested-at-hanscom-airport-state-police-say/ar-AA1nmsmo"], "choices": ["The Governor of Massachusetts, Maura Healey", "The Mayor of Bedford, John Smith", "The Massachusetts Port Authority", "The FAA Spokesperson"], "answer_text": "The Governor of Massachusetts, Maura Healey", "answer": [0], "question_id": "20240518_19", "question_source": "WikiNews"}
|
21 |
+
{"question_date": "2024/04/22", "question_url": "https://en.wikinews.org/wiki/NASA_says_object_that_hit_Florida_home_is_from_International_Space_Station", "question_sentence": "What did NASA confirm about the object that struck a Naples, Florida home?", "links": ["https://people.com/nasa-says-piece-of-space-junk-crashed-into-florida-home-last-month-8634328", "https://cnn.com/2024/04/16/world/space-junk-florida-home-crash-scn/index.html", "https://blogs.nasa.gov/spacestation/2024/04/15/nasa-completes-analysis-of-recovered-space-object"], "choices": ["It was a piece of a comet", "It originated from the International Space Station (ISS)", "It was a meteorite", "It was part of a satellite from another country"], "answer_text": "It originated from the International Space Station (ISS)", "answer": [1], "question_id": "20240518_20", "question_source": "WikiNews"}
|
22 |
+
{"question_date": "2024/04/22", "question_url": "https://en.wikinews.org/wiki/NASA_says_object_that_hit_Florida_home_is_from_International_Space_Station", "question_sentence": "What was the weight of the fragment that survived re-entry and struck the home?", "links": ["https://people.com/nasa-says-piece-of-space-junk-crashed-into-florida-home-last-month-8634328", "https://cnn.com/2024/04/16/world/space-junk-florida-home-crash-scn/index.html", "https://blogs.nasa.gov/spacestation/2024/04/15/nasa-completes-analysis-of-recovered-space-object"], "choices": ["1.6 lbs", "2.4 lbs", "3 lbs", "0.5 lbs"], "answer_text": "1.6 lbs", "answer": [0], "question_id": "20240518_21", "question_source": "WikiNews"}
|
23 |
+
{"question_date": "2024/04/22", "question_url": "https://en.wikinews.org/wiki/NASA_says_object_that_hit_Florida_home_is_from_International_Space_Station", "question_sentence": "Who was the homeowner affected by the space debris?", "links": ["https://people.com/nasa-says-piece-of-space-junk-crashed-into-florida-home-last-month-8634328", "https://cnn.com/2024/04/16/world/space-junk-florida-home-crash-scn/index.html", "https://blogs.nasa.gov/spacestation/2024/04/15/nasa-completes-analysis-of-recovered-space-object"], "choices": ["Jonathan McDowell", "Mike Johnson", "Alejandro Otero", "Sarah Perkins"], "answer_text": "Alejandro Otero", "answer": [2], "question_id": "20240518_22", "question_source": "WikiNews"}
|
24 |
+
{"question_date": "2024/04/22", "question_url": "https://en.wikinews.org/wiki/NASA_says_object_that_hit_Florida_home_is_from_International_Space_Station", "question_sentence": "When was the pallet containing old nickel\u2013hydride batteries released from the ISS?", "links": ["https://people.com/nasa-says-piece-of-space-junk-crashed-into-florida-home-last-month-8634328", "https://cnn.com/2024/04/16/world/space-junk-florida-home-crash-scn/index.html", "https://blogs.nasa.gov/spacestation/2024/04/15/nasa-completes-analysis-of-recovered-space-object"], "choices": ["March 8, 2021", "April 11, 2021", "March 11, 2021", "February 11, 2021"], "answer_text": "March 11, 2021", "answer": [2], "question_id": "20240518_23", "question_source": "WikiNews"}
|
25 |
+
{"question_date": "2024/04/22", "question_url": "https://en.wikinews.org/wiki/NASA_says_object_that_hit_Florida_home_is_from_International_Space_Station", "question_sentence": "Where did NASA perform the analysis of the collected fragment?", "links": ["https://people.com/nasa-says-piece-of-space-junk-crashed-into-florida-home-last-month-8634328", "https://cnn.com/2024/04/16/world/space-junk-florida-home-crash-scn/index.html", "https://blogs.nasa.gov/spacestation/2024/04/15/nasa-completes-analysis-of-recovered-space-object"], "choices": ["Johnson Space Center", "Kennedy Space Center", "Houston Space Center", "Cape Canaveral Space Center"], "answer_text": "Kennedy Space Center", "answer": [1], "question_id": "20240518_24", "question_source": "WikiNews"}
|
scrape_with_openai.py
CHANGED
@@ -29,7 +29,10 @@ for en in entries:
|
|
29 |
foundElements = selAnchor(summ)
|
30 |
articleLinks = []
|
31 |
for el in foundElements:
|
32 |
-
|
|
|
|
|
|
|
33 |
|
34 |
plaintxt = summ.text_content()
|
35 |
if 'Have an opinion on this story?' in plaintxt:
|
@@ -41,7 +44,7 @@ for en in entries:
|
|
41 |
messages=[
|
42 |
{
|
43 |
"role": "system",
|
44 |
-
"content": "You will be provided with an article from today's news. Provide 3-5 multiple choice questions based on the content of the article, especially newly-introduced facts
|
45 |
},
|
46 |
{
|
47 |
"role": "user",
|
|
|
29 |
foundElements = selAnchor(summ)
|
30 |
articleLinks = []
|
31 |
for el in foundElements:
|
32 |
+
link = el.get('href')
|
33 |
+
if '.com/intent/tweet' in link or 'facebook.com/sharer.php' in link or 'mailto:' in link or 'reddit.com/submit' in link or 'linkedin.com/shareArticle' in link:
|
34 |
+
continue
|
35 |
+
articleLinks.append(link)
|
36 |
|
37 |
plaintxt = summ.text_content()
|
38 |
if 'Have an opinion on this story?' in plaintxt:
|
|
|
44 |
messages=[
|
45 |
{
|
46 |
"role": "system",
|
47 |
+
"content": "You will be provided with an article from today's news. Provide 3-5 multiple choice questions based on the content of the article, especially newly-introduced facts or knowledge. Don't make the correct answer any more specific, numeric, or realistic compared to the others.\n Respond in JSON format: [{ question: 'Who was elected president of Sesame Street?', choices: ['Big Bird', 'Donald Duck'], answer: 'Big Bird' }]",
|
48 |
},
|
49 |
{
|
50 |
"role": "user",
|