Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
|
|
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.
|