Spaces:
Runtime error
Runtime error
arjunanand13
commited on
Commit
•
4e94fdb
1
Parent(s):
05bd5d0
Update app.py
Browse files
app.py
CHANGED
@@ -90,6 +90,7 @@ def qa_infer(query):
|
|
90 |
formatted_prompt = format_prompt(query)
|
91 |
result = chain({"question": formatted_prompt, "chat_history": chat_history})
|
92 |
for doc in result['source_documents']:
|
|
|
93 |
print("Retrieved Document:", doc.page_content)
|
94 |
print("#"*100)
|
95 |
print(result['answer'])
|
|
|
90 |
formatted_prompt = format_prompt(query)
|
91 |
result = chain({"question": formatted_prompt, "chat_history": chat_history})
|
92 |
for doc in result['source_documents']:
|
93 |
+
print("-"*50)
|
94 |
print("Retrieved Document:", doc.page_content)
|
95 |
print("#"*100)
|
96 |
print(result['answer'])
|