hponepyae commited on
Commit
2d68901
·
verified ·
1 Parent(s): df9c621

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 determine the most appropriate ICD-10 code. Provide only the ICD-10 code and a brief description only. Include no other text in your response.
56
  Clinical Text: "{clinical_text}"
57
  Provide the ICD-10 code and a brief description.
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 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 ICD-10 code and a brief description.
58
  <end_of_turn>"""