From b211b256c295bd898b14f1e22eea8db869e581dc Mon Sep 17 00:00:00 2001 From: kwaroran Date: Wed, 7 Jun 2023 09:46:23 +0900 Subject: [PATCH] [feat] better supamemory --- src/ts/process/supaMemory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/process/supaMemory.ts b/src/ts/process/supaMemory.ts index 8cdf1892..7e2a96da 100644 --- a/src/ts/process/supaMemory.ts +++ b/src/ts/process/supaMemory.ts @@ -78,7 +78,7 @@ export async function supaMemory( async function summarize(stringlizedChat:string){ const supaPrompt = db.supaMemoryPrompt === '' ? - "[Summarize the ongoing role story, including as many events from the past as possible, using assistant as a narrative helper;do not analyze. include all of the characters' names, statuses, thoughts, relationships, and attire. Be sure to include dialogue exchanges and context by referencing previous statements and reactions. assistant's summary should provide an objective overview of the story while also considering relevant past conversations and events. It must also remove redundancy and unnecessary content from the prompt so that gpt3 and other sublanguage models]\n" + "[Summarize the ongoing role story, It must also remove redundancy and unnecessary content from the prompt so that gpt3 and other sublanguage models]\n" : db.supaMemoryPrompt let result = ''