From a66cab8b714fec2d2342730c6be73ee61a74d5e5 Mon Sep 17 00:00:00 2001 From: Kazon Wilson <10987837+kwilson21@users.noreply.github.com> Date: Wed, 19 Apr 2023 23:04:52 -0500 Subject: [PATCH] Add new line to refine prompt tmpl (#3197) Adding a new line to fix issue #3117 --- langchain/chains/summarize/refine_prompts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain/chains/summarize/refine_prompts.py b/langchain/chains/summarize/refine_prompts.py index fc59d9e2..5c67db48 100644 --- a/langchain/chains/summarize/refine_prompts.py +++ b/langchain/chains/summarize/refine_prompts.py @@ -9,7 +9,7 @@ REFINE_PROMPT_TMPL = ( "------------\n" "{text}\n" "------------\n" - "Given the new context, refine the original summary" + "Given the new context, refine the original summary\n" "If the context isn't useful, return the original summary." ) REFINE_PROMPT = PromptTemplate(