gabruarya commited on
Commit
3d83cc2
1 Parent(s): bcf5e23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -55,9 +55,11 @@ def initialize_session_state():
55
 
56
  prompt_template = """
57
  You are a trained bot to guide people about their medical concerns. You will answer user's query with your knowledge and the context provided.
58
- If question given by user ask about personal details about them refer to last user inputs.
59
  If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
60
- You have to act as conversational bot. Paying attention to the personal details given in the context and respond helpfully. Provide personal detail if asked
 
 
61
  Use the following pieces of context to answer the users question.
62
  Context: {context}
63
  Question: {question}
 
55
 
56
  prompt_template = """
57
  You are a trained bot to guide people about their medical concerns. You will answer user's query with your knowledge and the context provided.
58
+
59
  If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
60
+
61
+ Try to provide answer in very much understandable format.
62
+
63
  Use the following pieces of context to answer the users question.
64
  Context: {context}
65
  Question: {question}