Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ data.add_faiss_index("embeddings", custom_index=index)
|
|
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."""
|
39 |
# Provides context of how to answer the question
|
40 |
|
41 |
#llm_model = "TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF", tinyllama-1.1b-chat-v1.0.Q5_K_M.gguf
|
|
|
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 |
|
41 |
#llm_model = "TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF", tinyllama-1.1b-chat-v1.0.Q5_K_M.gguf
|