From 3c1547925a7b013ff3570b4988d0a89634d14dbf Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 29 Aug 2023 14:02:13 -0700 Subject: [PATCH] fix --- libs/langchain/langchain/chains/summarize/refine_prompts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/langchain/langchain/chains/summarize/refine_prompts.py b/libs/langchain/langchain/chains/summarize/refine_prompts.py index 5c67db48185..a70d1966184 100644 --- a/libs/langchain/langchain/chains/summarize/refine_prompts.py +++ b/libs/langchain/langchain/chains/summarize/refine_prompts.py @@ -4,12 +4,12 @@ from langchain.prompts import PromptTemplate REFINE_PROMPT_TMPL = ( "Your job is to produce a final summary\n" "We have provided an existing summary up to a certain point: {existing_answer}\n" - "We have the opportunity to refine the existing summary" + "We have the opportunity to refine the existing summary " "(only if needed) with some more context below.\n" "------------\n" "{text}\n" "------------\n" - "Given the new context, refine the original summary\n" + "Given the new context, refine the original summary.\n" "If the context isn't useful, return the original summary." ) REFINE_PROMPT = PromptTemplate(