From 59475bfa7917cb27c012012d150c095ea80c7f76 Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Tue, 4 Jun 2024 21:50:44 -0500 Subject: [PATCH] refine summary prompt --- .../templates/conversation.summary.liquid | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/conversation.summary.liquid b/src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/conversation.summary.liquid index cf22b0e6..a8cc4cd4 100644 --- a/src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/conversation.summary.liquid +++ b/src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/conversation.summary.liquid @@ -3,10 +3,12 @@ Please read each conversation in the [CONVERSATIONS] section and provide a summa *** Super Important! Please consider every conversation. Do not only consider the recent sentences. *** ** Please do not respond to the latest conversation. ** If there are different topics in the conversations, please summarize each topic in different sentences and list them in bullets. -* Please use concise sentences to summarize each topic. -* Please do not exceed 32 words when summarizing each topic. -* Please do not include excessive details in the summaries. -* Please use 'user' instead of 'you', 'he' or 'she'. +** Please summarize each conversation separately. +* Please do not exceed 20 words when summarizing each topic. +* Please do not contain general information in each topic summary. +* Please include some but not excessive details in each topic summary. +* Please do not use "user". +* Please use 'you' instead of 'user', 'he' or 'she'. [CONVERSATIONS]