codegood commited on
Commit
471d8eb
·
1 Parent(s): ab04ed2

system prompt updated

Browse files
Files changed (1) hide show
  1. 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):