Spaces:
Running
Running
ryanrwatkins
commited on
Commit
•
cbbe8b4
1
Parent(s):
527aebe
Update app.py
Browse files
app.py
CHANGED
@@ -646,7 +646,7 @@ follow_up_question = "plaese give more details about it, including its use cases
|
|
646 |
chain.invoke({"question":follow_up_question})['answer']
|
647 |
|
648 |
|
649 |
-
|
650 |
# 1. load memory using RunnableLambda. Retrieves the chat_history attribute using itemgetter.
|
651 |
# `RunnablePassthrough.assign` adds the chat_history to the assign function
|
652 |
|
@@ -687,7 +687,7 @@ memory.save_context(
|
|
687 |
{"answer": "Diffuse to Choose."}
|
688 |
)
|
689 |
|
690 |
-
|
691 |
|
692 |
print("Chat history:\n",memory.load_memory_variables({}))
|
693 |
|
|
|
646 |
chain.invoke({"question":follow_up_question})['answer']
|
647 |
|
648 |
|
649 |
+
|
650 |
# 1. load memory using RunnableLambda. Retrieves the chat_history attribute using itemgetter.
|
651 |
# `RunnablePassthrough.assign` adds the chat_history to the assign function
|
652 |
|
|
|
687 |
{"answer": "Diffuse to Choose."}
|
688 |
)
|
689 |
|
690 |
+
|
691 |
|
692 |
print("Chat history:\n",memory.load_memory_variables({}))
|
693 |
|