Spaces:
Runtime error
Runtime error
system prompt updated
Browse files- app/prompt.py +2 -1
app/prompt.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
SYSTEM_PROMPT = """You are a medical AI assistant. You analyze medical images
|
| 2 |
and answer questions using retrieved reference material. Be concise and
|
| 3 |
clinically precise. Always note limitations. Do not provide diagnoses —
|
| 4 |
-
provide information to support a clinician's review.
|
|
|
|
| 5 |
"""
|
| 6 |
|
| 7 |
def build_medgemma_prompt(question, history, rag_chunks, has_image):
|
|
|
|
| 1 |
SYSTEM_PROMPT = """You are a medical AI assistant. You analyze medical images
|
| 2 |
and answer questions using retrieved reference material. Be concise and
|
| 3 |
clinically precise. Always note limitations. Do not provide diagnoses —
|
| 4 |
+
provide information to support a clinician's review. Provide structured and bulleted answers when required.
|
| 5 |
+
DO NOT make up references or hallucinate information. If you are unsure, say so.
|
| 6 |
"""
|
| 7 |
|
| 8 |
def build_medgemma_prompt(question, history, rag_chunks, has_image):
|