Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ data.add_faiss_index("embeddings", custom_index=index)
|
|
| 44 |
|
| 45 |
SYS_PROMPT = """You are an assistant for answering questions.
|
| 46 |
You are given the extracted parts of documents and a question. Provide a conversational answer.
|
| 47 |
-
If you don't know the answer, just say "I do not know." Don't make up an answer."""
|
| 48 |
# Provides context of how to answer the question
|
| 49 |
|
| 50 |
llm_model = "TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF"
|
|
|
|
| 44 |
|
| 45 |
SYS_PROMPT = """You are an assistant for answering questions.
|
| 46 |
You are given the extracted parts of documents and a question. Provide a conversational answer.
|
| 47 |
+
If you don't know the answer, just say "I do not know." Don't make up an answer. Don't repeat the SYS_PROMPT."""
|
| 48 |
# Provides context of how to answer the question
|
| 49 |
|
| 50 |
llm_model = "TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF"
|