Spaces:
Running
Running
Update prompts.py
Browse files- prompts.py +1 -1
prompts.py
CHANGED
@@ -31,7 +31,7 @@ and their potential impact."""
|
|
31 |
|
32 |
def generate_news_prompt(query, news_data):
|
33 |
today = datetime.now().strftime("%Y-%m-%d")
|
34 |
-
prompt = f"Based on the following recent news about user query: {query}, create a well rounded news report, formatted
|
35 |
for item in news_data:
|
36 |
prompt += f"Title: {item['title']}\n"
|
37 |
prompt += f"Snippet: {item['snippet']}\n"
|
|
|
31 |
|
32 |
def generate_news_prompt(query, news_data):
|
33 |
today = datetime.now().strftime("%Y-%m-%d")
|
34 |
+
prompt = f"Based on the following recent news about user query: {query}, create a well rounded news report, well formatted using markdown format:'Today's date is {today}."
|
35 |
for item in news_data:
|
36 |
prompt += f"Title: {item['title']}\n"
|
37 |
prompt += f"Snippet: {item['snippet']}\n"
|