Joshua Sundance Bailey commited on
Commit ·
736288e
1
Parent(s): d08817e
newline in prompt
Browse files
langchain-streamlit-demo/summarize.py
CHANGED
|
@@ -13,7 +13,7 @@ CONCISE SUMMARY:"""
|
|
| 13 |
|
| 14 |
refine_template = (
|
| 15 |
"You are iteratively crafting a summary of the text below based on the user input\n"
|
| 16 |
-
"User input: {query}"
|
| 17 |
"We have provided an existing summary up to a certain point: {existing_answer}\n"
|
| 18 |
"We have the opportunity to refine the existing summary"
|
| 19 |
"(only if needed) with some more context below.\n"
|
|
|
|
| 13 |
|
| 14 |
refine_template = (
|
| 15 |
"You are iteratively crafting a summary of the text below based on the user input\n"
|
| 16 |
+
"User input: {query}\n"
|
| 17 |
"We have provided an existing summary up to a certain point: {existing_answer}\n"
|
| 18 |
"We have the opportunity to refine the existing summary"
|
| 19 |
"(only if needed) with some more context below.\n"
|