leofan commited on
Commit
5009f46
·
verified ·
1 Parent(s): 4c32f76

Update app/server.py

Browse files
Files changed (1) hide show
  1. app/server.py +1 -4
app/server.py CHANGED
@@ -28,10 +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.
32
- The text output that you are providing should only contain the answer, but not the question text or any other prompt text.
33
- The answer you provided should be limited to 2 sentences if possible.
34
- Also, if the answer contains any of the word phrases [pipette tip, vortex mixer, lysis-buffer, covid sample], replace the space in the word phrase with a hyphen (e.g. pipette-tip).
35
 
36
  Context:
37
  {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, say you don't know. The answer you provided should be short.
 
 
 
32
 
33
  Context:
34
  {context}