pvanand commited on
Commit
a888f31
1 Parent(s): 16ef4d2

Update prompts.py

Browse files
Files changed (1) hide show
  1. 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 in markdown:'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"
 
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"