From 940152b0604ef66a44d2d66d4e562c0e25560762 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Thu, 12 Dec 2024 15:37:37 +0100 Subject: [PATCH] fix(summarize): Try to make it use bulleted lists for longer texts Signed-off-by: Marcel Klehr --- lib/summarize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/summarize.py b/lib/summarize.py index 5bc8762..1fcc5e3 100644 --- a/lib/summarize.py +++ b/lib/summarize.py @@ -16,7 +16,7 @@ class SummarizeProcessor: A summarization chain """ - system_prompt: str = "You're an AI assistant tasked with summarizing the text given to you by the user." + system_prompt: str = "You're an AI assistant tasked with summarizing the text given to you by the user. If it's a long text, use bullet points to summarize. If the text is consisting of bullet points, also use bullet points to summarize." user_prompt: BasePromptTemplate = PromptTemplate( input_variables=["text"], template="""