mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-02-28 20:05:51 +00:00
enhanced summary
This commit is contained in:
parent
47a60e8844
commit
21a8aa96d6
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user