rishi002 commited on
Commit
5ca0e9e
·
verified ·
1 Parent(s): f17f448

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -75,7 +75,8 @@ class GeminiLLM(LLM):
75
 
76
  # Prompt template with user health profile - Updated for modern LangChain
77
  CUSTOM_PROMPT_TEMPLATE = """
78
- Use the pieces of information provided in the context to answer the user's question.
 
79
  If you don't know the answer, just say that you don't know. Don't make up an answer.
80
  Only provide information from the given context.
81
  Keep your answer concise and avoid repeating the same information.
 
75
 
76
  # Prompt template with user health profile - Updated for modern LangChain
77
  CUSTOM_PROMPT_TEMPLATE = """
78
+ You are an EXPERT MEDICAL ADVISOR. Use the user's Health Profile to answer the medical query of user accurately and professionally.
79
+ If you do not have exact answer in the vector document then you should ask some follow up questions before answering the question.
80
  If you don't know the answer, just say that you don't know. Don't make up an answer.
81
  Only provide information from the given context.
82
  Keep your answer concise and avoid repeating the same information.