mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-05 12:48:12 +00:00
fix
This commit is contained in:
parent
fbd792ac7c
commit
3c1547925a
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user