Skip to content

Commit

Permalink
fix(summarize): Try to make it use bulleted lists for longer texts
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Dec 12, 2024
1 parent c873355 commit 940152b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/summarize.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="""
Expand Down

0 comments on commit 940152b

Please sign in to comment.