Update my_memory_logic.py
Browse files- my_memory_logic.py +3 -0
my_memory_logic.py
CHANGED
|
@@ -21,6 +21,9 @@ restatement_system_prompt = (
|
|
| 21 |
"formulate a standalone question that can be understood "
|
| 22 |
"without the chat history. Do NOT answer the question, "
|
| 23 |
"just reformulate it if needed; otherwise return it as is."
|
|
|
|
|
|
|
|
|
|
| 24 |
)
|
| 25 |
|
| 26 |
# 3) Build the ChatPromptTemplate
|
|
|
|
| 21 |
"formulate a standalone question that can be understood "
|
| 22 |
"without the chat history. Do NOT answer the question, "
|
| 23 |
"just reformulate it if needed; otherwise return it as is."
|
| 24 |
+
"Do not repeat or quote the entire conversation."
|
| 25 |
+
"Only produce one question that stands alone,"
|
| 26 |
+
"and keep it concise."
|
| 27 |
)
|
| 28 |
|
| 29 |
# 3) Build the ChatPromptTemplate
|