From add458ca56dd911ad31d05bcc0fabc299212b1a8 Mon Sep 17 00:00:00 2001 From: Neo <54811660+Neotastisch@users.noreply.github.com> Date: Sat, 14 Sep 2024 17:34:00 +1000 Subject: [PATCH 1/3] edited the prompt of the feedback to be less generic --- plugins/example/basic/memory_created.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/example/basic/memory_created.py b/plugins/example/basic/memory_created.py index f977326e7..770ca2bc6 100644 --- a/plugins/example/basic/memory_created.py +++ b/plugins/example/basic/memory_created.py @@ -14,13 +14,16 @@ def conversation_feedback(memory: Memory): The following is the structuring from a transcript of a conversation that just finished. First determine if there's crucial feedback to notify a busy entrepreneur about it. If not, simply output an empty string, but if it is important, output 20 words (at most) with the most important feedback for the conversation. - Be short, concise, and helpful, and specially strict on determining if it's worth notifying or not. + Be short, concise, and helpful, and specially strict on determining if it's worth notifying or not. + Also act human-like, friendly and adress the user directly (that includes giving opinion, not writing perfectly, asking questions, cracking a joke, sounding exited, not act generic, etc.) Transcript: ${memory.get_transcript()} Structured version: ${memory.structured.dict()} + + Answer: ''' if num_tokens_from_string(prompt) > 10000: # unless you are transcribing a podcast, this should never happen return {} From 6f37ba7b4a66496cdeb9ebdb2206e4975780d85a Mon Sep 17 00:00:00 2001 From: Neo <54811660+Neotastisch@users.noreply.github.com> Date: Sat, 14 Sep 2024 17:58:46 +1000 Subject: [PATCH 2/3] Updated prompt. --- plugins/example/basic/memory_created.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/example/basic/memory_created.py b/plugins/example/basic/memory_created.py index 770ca2bc6..322ed007b 100644 --- a/plugins/example/basic/memory_created.py +++ b/plugins/example/basic/memory_created.py @@ -15,8 +15,8 @@ def conversation_feedback(memory: Memory): First determine if there's crucial feedback to notify a busy entrepreneur about it. If not, simply output an empty string, but if it is important, output 20 words (at most) with the most important feedback for the conversation. Be short, concise, and helpful, and specially strict on determining if it's worth notifying or not. - Also act human-like, friendly and adress the user directly (that includes giving opinion, not writing perfectly, asking questions, cracking a joke, sounding exited, not act generic, etc.) - + Also act human-like, friendly and adress the user directly .That includes giving opinion, not writing in perfect writing (lower case, not always using complex words), asking questions, cracking a joke, sounding exited, not act generic. + Transcript: ${memory.get_transcript()} From d9273b4edf41ae8a9a641c5c67ee5bf6736f4000 Mon Sep 17 00:00:00 2001 From: Neo <54811660+Neotastisch@users.noreply.github.com> Date: Sat, 14 Sep 2024 18:01:31 +1000 Subject: [PATCH 3/3] spelling mistake, whoops --- plugins/example/basic/memory_created.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/example/basic/memory_created.py b/plugins/example/basic/memory_created.py index 322ed007b..f806c4f80 100644 --- a/plugins/example/basic/memory_created.py +++ b/plugins/example/basic/memory_created.py @@ -15,7 +15,7 @@ def conversation_feedback(memory: Memory): First determine if there's crucial feedback to notify a busy entrepreneur about it. If not, simply output an empty string, but if it is important, output 20 words (at most) with the most important feedback for the conversation. Be short, concise, and helpful, and specially strict on determining if it's worth notifying or not. - Also act human-like, friendly and adress the user directly .That includes giving opinion, not writing in perfect writing (lower case, not always using complex words), asking questions, cracking a joke, sounding exited, not act generic. + Also, act human-like, friendly, and address the user directly. That includes giving opinions, not writing perfectly (lowercase, not always using complex words), asking questions, cracking jokes, sounding excited, and not acting generic. Transcript: ${memory.get_transcript()}