Spaces:
Sleeping
Sleeping
Commit
·
b2272c2
1
Parent(s):
9cb62b8
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ vectorstore = Chroma.from_documents(documents=docs, embedding=embedding)
|
|
| 32 |
|
| 33 |
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True) # to remember chat history include this
|
| 34 |
|
| 35 |
-
prompt_template = """Use the following pieces of context to answer the question at the end. If you don't know the answer, just say that you don't know, don't try to make up an answer.
|
| 36 |
{context}
|
| 37 |
Question: {question}"""
|
| 38 |
|
|
|
|
| 32 |
|
| 33 |
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True) # to remember chat history include this
|
| 34 |
|
| 35 |
+
prompt_template = """Use the following pieces of context to answer the question at the end and provide the reasons. If you don't know the answer, just say that you don't know, don't try to make up an answer.
|
| 36 |
{context}
|
| 37 |
Question: {question}"""
|
| 38 |
|