The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Add new line to refine prompt tmpl (#3197)
Kazon Wilsona66cab8b714f
diff --git a/langchain/chains/summarize/refine_prompts.py b/langchain/chains/summarize/refine_prompts.pyindex fc59d9e23d..5c67db4818 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(