From 21a8aa96d6c4545162cbc739013b678b59d6e623 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Mon, 10 Feb 2025 01:31:39 +0100 Subject: [PATCH] enhanced summary --- lollms/personality.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lollms/personality.py b/lollms/personality.py index 3b1d6db..694b4fe 100644 --- a/lollms/personality.py +++ b/lollms/personality.py @@ -3812,7 +3812,7 @@ class APScript(StateMachine): ]), max_generation_size=max_generation_size, callback=self.sink) return translated - def sequential_summarize(self, text: Any, summary_context: str = "", format: str = "bullet points", tone: str = "neutral", ctx_size: int = 4096, callback = None): + def sequential_summarize(self, text: str, summary_context: str = "", task="Create final summary using this memory.", format: str = "bullet points", tone: str = "neutral", ctx_size: int = 4096, callback = None): """ Summarizes a long text sequentially by processing chunks and maintaining a memory.