Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ llm_chain = ConversationalRetrievalChain.from_llm(llm, retriever=retriever, memo
|
|
| 22 |
verbose=False, return_source_documents=True)
|
| 23 |
|
| 24 |
|
| 25 |
-
def blogbot(question):
|
| 26 |
# log what questions are asked
|
| 27 |
logging.info('question: ' + question)
|
| 28 |
## do the prompt against the Q&A chain & display the result
|
|
|
|
| 22 |
verbose=False, return_source_documents=True)
|
| 23 |
|
| 24 |
|
| 25 |
+
def blogbot(question, history=None):
|
| 26 |
# log what questions are asked
|
| 27 |
logging.info('question: ' + question)
|
| 28 |
## do the prompt against the Q&A chain & display the result
|