Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-
|
|
50 |
|
51 |
prompt = '''You are given a context below. Use it to answer the question that follows.
|
52 |
Provide a concise and factual response based on the context as below". If user mentions keywords such as "file","pdf", "document", please refer them as context.
|
53 |
-
If you cannot find the answer, please reply
|
54 |
|
55 |
<context>
|
56 |
{context}
|
|
|
50 |
|
51 |
prompt = '''You are given a context below. Use it to answer the question that follows.
|
52 |
Provide a concise and factual response based on the context as below". If user mentions keywords such as "file","pdf", "document", please refer them as context.
|
53 |
+
If you cannot find the answer, please reply *the answer cannot be found in the given context*
|
54 |
|
55 |
<context>
|
56 |
{context}
|