leofan commited on
Commit
406d20e
1 Parent(s): 5009f46

Update app/server.py

Browse files

Updated prompt to be more flexible.

Files changed (1) hide show
  1. 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, say you don't know. The answer you provided should be short.
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}