@@ -236,8 +236,9 @@ def main():
236236 # Prompt #1 - New Features in Popular Browsers
237237 prompt1 = (
238238 "Look for articles about what new features have been added to popular web browsers, "
239- "and how popular browsers are incorporating AI. " + news_range_of_interest
240- "Then summarize these findings."
239+ "and how popular browsers are incorporating AI. "
240+ f"{ news_range_of_interest } "
241+ "Then summarize these findings. "
241242 "Firefox should be omitted from this search as we are focusing on Firefox's competitors."
242243 )
243244 final_output_1 , response_object_1 = summarize_with_open_ai (
@@ -294,10 +295,13 @@ def main():
294295More details can be found here: [Chrome Dev Tools](https://developer.chrome.com/docs/devtools/news?hl=en#whats-new)"""
295296
296297 # Prompt #5 - Browser & Device Partnership News
297- prompt5 = """Please find articles related to browser & device partnerships.
298+ prompt5 = (
299+ """Please find articles related to browser & device partnerships.
298300Firefox should be omitted from this search as we are focusing on Firefox's competitors.
299301Please find all recent announcements of browser-device partnerships with browsers like Chrome, Edge, Safari, etc. and
300- devices like mobile phones, Smart TVs, or VR (virtual reality), then summarize these findings.""" + news_range_of_interest
302+ devices like mobile phones, Smart TVs, or VR (virtual reality), then summarize these findings."""
303+ + news_range_of_interest
304+ )
301305 final_output_5 , response_object_5 = summarize_with_open_ai (
302306 client ,
303307 MODEL_TYPE ,
@@ -310,7 +314,10 @@ def main():
310314 final_report += f"\n { final_output_5 } \n \n "
311315
312316 # Prompt #6 - Online Advertising News
313- prompt6 = "Look for articles from the past month about news related to online advertising, and summarize the findings."
317+ prompt6 = (
318+ "Look for articles about news related to online advertising, and summarize the findings."
319+ + news_range_of_interest
320+ )
314321 final_output_6 , response_object_6 = summarize_with_open_ai (
315322 client ,
316323 MODEL_TYPE ,
@@ -324,7 +331,8 @@ def main():
324331
325332 # Prompt #7 - AI News
326333 prompt7 = (
327- "Look for articles about news related to AI in general." + news_range_of_interest
334+ "Look for articles about news related to AI in general."
335+ + news_range_of_interest
328336 )
329337 final_output_7 , response_object_7 = summarize_with_open_ai (
330338 client ,
0 commit comments