Spaces:
Running
Running
Update app/server.py
Browse filesUpdated prompt to be more flexible.
- app/server.py +1 -1
app/server.py
CHANGED
@@ -28,7 +28,7 @@ retriever = faiss_index.as_retriever()
|
|
28 |
# retriever = faiss_index.as_retriever(search_kwargs={"k": 2})
|
29 |
|
30 |
prompt_template = """\
|
31 |
-
Use the provided context to answer the user's question. If you don't know the answer,
|
32 |
|
33 |
Context:
|
34 |
{context}
|
|
|
28 |
# retriever = faiss_index.as_retriever(search_kwargs={"k": 2})
|
29 |
|
30 |
prompt_template = """\
|
31 |
+
Use the provided context to answer the user's question. If you don't know the answer, try to provide related information that might help the user understand the topic better. The answer you provided should be concise but comprehensive. Your goal is to help the user learn and understand how to perform the PCR-test for COVID-19 better.
|
32 |
|
33 |
Context:
|
34 |
{context}
|