Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,9 @@ def main():
# Prompt #1 - New Features in Popular Browsers
prompt1 = (
"Look for articles about what new features have been added to popular web browsers, "
"and how popular browsers are incorporating AI. " + news_range_of_interest
"Then summarize these findings."
"and how popular browsers are incorporating AI. "
f"{news_range_of_interest} "
"Then summarize these findings. "
"Firefox should be omitted from this search as we are focusing on Firefox's competitors."
)
final_output_1, response_object_1 = summarize_with_open_ai(
Expand Down Expand Up @@ -294,10 +295,13 @@ def main():
More details can be found here: [Chrome Dev Tools](https://developer.chrome.com/docs/devtools/news?hl=en#whats-new)"""

# Prompt #5 - Browser & Device Partnership News
prompt5 = """Please find articles related to browser & device partnerships.
prompt5 = (
"""Please find articles related to browser & device partnerships.
Firefox should be omitted from this search as we are focusing on Firefox's competitors.
Please find all recent announcements of browser-device partnerships with browsers like Chrome, Edge, Safari, etc. and
devices like mobile phones, Smart TVs, or VR (virtual reality), then summarize these findings.""" + news_range_of_interest
devices like mobile phones, Smart TVs, or VR (virtual reality), then summarize these findings."""
+ news_range_of_interest
)
final_output_5, response_object_5 = summarize_with_open_ai(
client,
MODEL_TYPE,
Expand All @@ -310,7 +314,10 @@ def main():
final_report += f"\n{final_output_5}\n\n"

# Prompt #6 - Online Advertising News
prompt6 = "Look for articles from the past month about news related to online advertising, and summarize the findings."
prompt6 = (
"Look for articles about news related to online advertising, and summarize the findings."
+ news_range_of_interest
)
final_output_6, response_object_6 = summarize_with_open_ai(
client,
MODEL_TYPE,
Expand All @@ -324,7 +331,8 @@ def main():

# Prompt #7 - AI News
prompt7 = (
"Look for articles about news related to AI in general." + news_range_of_interest
"Look for articles about news related to AI in general."
+ news_range_of_interest
)
final_output_7, response_object_7 = summarize_with_open_ai(
client,
Expand Down