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 1/2] 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 cf22b0e6d..a8cc4cd46 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] From 8d25414d7624d405400590b9fdabebf9abc27566 Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Tue, 4 Jun 2024 22:03:00 -0500 Subject: [PATCH 2/2] minor change --- .../templates/conversation.summary.liquid | 3 +-- 1 file changed, 1 insertion(+), 2 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 a8cc4cd46..eb6263161 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 @@ -7,8 +7,7 @@ Please read each conversation in the [CONVERSATIONS] section and provide a summa * 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'. +* Please do not use "user", "I", "you", "he" or "she". [CONVERSATIONS]