Spaces:
Sleeping
Sleeping
Commit
·
038aefc
1
Parent(s):
c689b3a
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,8 +33,7 @@ vectorstore = Chroma.from_documents(documents=docs, embedding=embedding)
|
|
| 33 |
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True) # to remember chat history include this
|
| 34 |
|
| 35 |
|
| 36 |
-
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.
|
| 37 |
-
Answer with a single sentence
|
| 38 |
{context}
|
| 39 |
Question: {question}"""
|
| 40 |
|
|
|
|
| 33 |
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True) # to remember chat history include this
|
| 34 |
|
| 35 |
|
| 36 |
+
prompt_template = """Use the following pieces of context to answer the question at the end with a short answer. If you don't know the answer, just say that you don't know, don't try to make up an answer.
|
|
|
|
| 37 |
{context}
|
| 38 |
Question: {question}"""
|
| 39 |
|