hponepyae commited on
Commit
7f1d804
·
verified ·
1 Parent(s): 865f77e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def get_clinical_code(clinical_text):
52
  # Construct the full prompt exactly as it will be fed to the model
53
  # Note the specific newline characters and spacing
54
  user_prompt_section = f"""<start_of_turn>user
55
- You are an expert medical coder. Your task is to analyze the following clinical text and provide the diagnosis in standard medical terminology. Specify each diagnosis as main diagnosis or underlying chronic conditions.
56
  Clinical Text: "{clinical_text}"
57
  Provide the Diagnosis.
58
  <end_of_turn>"""
 
52
  # Construct the full prompt exactly as it will be fed to the model
53
  # Note the specific newline characters and spacing
54
  user_prompt_section = f"""<start_of_turn>user
55
+ You are a clinical assistant. You are provided with patient medical records. Analyze the clinical condition and suggest one or more actions missing in the document.
56
  Clinical Text: "{clinical_text}"
57
  Provide the Diagnosis.
58
  <end_of_turn>"""