Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ data.add_faiss_index("embeddings", custom_index=index)
|
|
34 |
#question = "How can I reverse Diabetes?"
|
35 |
|
36 |
SYS_PROMPT = """You are an assistant for answering questions.
|
37 |
-
You are given the extracted parts of document, a question and history of questions and answers . Provide a conversational answer.
|
38 |
If you do not know the answer, just say "I do not know." Do not make up an answer. Don't repeat the SYS_PROMPT or say that you are referring to document."""
|
39 |
# Provides context of how to answer the question
|
40 |
|
|
|
34 |
#question = "How can I reverse Diabetes?"
|
35 |
|
36 |
SYS_PROMPT = """You are an assistant for answering questions.
|
37 |
+
You are given the extracted parts of document, a question and history of questions and answers . Provide a brief conversational answer.
|
38 |
If you do not know the answer, just say "I do not know." Do not make up an answer. Don't repeat the SYS_PROMPT or say that you are referring to document."""
|
39 |
# Provides context of how to answer the question
|
40 |
|