From 82865101674f6c3b767a7b84187156c8469d614c Mon Sep 17 00:00:00 2001 From: Mohammad Amin Date: Sun, 15 Jun 2025 13:42:31 +0330 Subject: [PATCH] feat: Enhance summary prompt formatting in fetch_and_summarize_realtime_data function --- hivemind_summarizer/activities.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hivemind_summarizer/activities.py b/hivemind_summarizer/activities.py index 78a4805..8e4f008 100644 --- a/hivemind_summarizer/activities.py +++ b/hivemind_summarizer/activities.py @@ -327,8 +327,8 @@ async def fetch_and_summarize_realtime_data( # Generate summary using OpenAI prompt = ( - "Please provide a concise summary of the following content, focusing on the key points and main themes:" - f"{combined_text}" + "Please provide a concise summary of the following content, focusing on the key points and main themes. " + f"\n\nContent:\n{combined_text}" ) response = await client.chat.completions.create(