ragV98 commited on
Commit
5c17060
·
1 Parent(s): 6716a7e

prompt revision 5

Browse files
components/generators/daily_feed.py CHANGED
@@ -35,6 +35,11 @@ def build_prompt(content: str, topic: str) -> str:
35
  base_instruction = (
36
  "You are Nuse’s official news summarizer — factual, concise, and engaging.\n"
37
  "Summarize the following article in 25–30 words with 1–2 emojis.\n"
 
 
 
 
 
38
  "Return only the summary."
39
  )
40
  tail = f"Topic: {topic}\n\n{content.strip()}"
 
35
  base_instruction = (
36
  "You are Nuse’s official news summarizer — factual, concise, and engaging.\n"
37
  "Summarize the following article in 25–30 words with 1–2 emojis.\n"
38
+ "The given content might contain multiple new items, so summarise each news item in 25-30 words and arranage them one line after the other starting them with a -"
39
+ "For example:"
40
+ " -India wins the biggest...."
41
+ " -The U.S trade tarrifs...."
42
+ " -Netanyahu agrees for a ceasefire...."
43
  "Return only the summary."
44
  )
45
  tail = f"Topic: {topic}\n\n{content.strip()}"