Skip to content

Commit 8286510

Browse files
committed
feat: Enhance summary prompt formatting in fetch_and_summarize_realtime_data function
1 parent 9c76678 commit 8286510

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hivemind_summarizer/activities.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ async def fetch_and_summarize_realtime_data(
327327

328328
# Generate summary using OpenAI
329329
prompt = (
330-
"Please provide a concise summary of the following content, focusing on the key points and main themes:"
331-
f"{combined_text}"
330+
"Please provide a concise summary of the following content, focusing on the key points and main themes. "
331+
f"\n\nContent:\n{combined_text}"
332332
)
333333

334334
response = await client.chat.completions.create(

0 commit comments

Comments
 (0)