Spaces:
Running
Running
Commit
·
02c5578
1
Parent(s):
5ade6c6
commented out the memory buffer
Browse files
app.py
CHANGED
|
@@ -70,7 +70,8 @@ def handle_query(query):
|
|
| 70 |
)
|
| 71 |
]
|
| 72 |
text_qa_template = ChatPromptTemplate.from_messages(chat_text_qa_msgs)
|
| 73 |
-
query_engine = index.as_query_engine(text_qa_template=text_qa_template, memory=memory)
|
|
|
|
| 74 |
answer = query_engine.query(query)
|
| 75 |
|
| 76 |
if hasattr(answer, 'response'):
|
|
|
|
| 70 |
)
|
| 71 |
]
|
| 72 |
text_qa_template = ChatPromptTemplate.from_messages(chat_text_qa_msgs)
|
| 73 |
+
# query_engine = index.as_query_engine(text_qa_template=text_qa_template, memory=memory)
|
| 74 |
+
query_engine = index.as_query_engine(text_qa_template=text_qa_template)
|
| 75 |
answer = query_engine.query(query)
|
| 76 |
|
| 77 |
if hasattr(answer, 'response'):
|