update prompts
Browse files- ocr/api/prompts.py +3 -2
ocr/api/prompts.py
CHANGED
|
@@ -44,7 +44,7 @@ The report should be structured as follows, with each section containing only re
|
|
| 44 |
[/INST]"""
|
| 45 |
generate_changes = """## Task
|
| 46 |
|
| 47 |
-
You must perform a
|
| 48 |
|
| 49 |
## Data
|
| 50 |
|
|
@@ -58,7 +58,8 @@ You must perform a detailed comparative analysis of the patient's new data from
|
|
| 58 |
## Mandatory Instructions
|
| 59 |
|
| 60 |
- Conduct a **meticulous** comparison of the new and old data, ensuring all discrepancies, updates, and changes in the patient's health status are clearly documented.
|
| 61 |
-
- Provide a structured, concise, and accurate Markdown report.
|
|
|
|
| 62 |
- Do **not** include any speculative analysis—only factual differences explicitly observed in the data.
|
| 63 |
|
| 64 |
[/INST]"""
|
|
|
|
| 44 |
[/INST]"""
|
| 45 |
generate_changes = """## Task
|
| 46 |
|
| 47 |
+
You must perform a comparative analysis of the patient's new data from the attached user images against their previous data (`Previous Patient data`). Identify and explicitly highlight all differences, including but not limited to disease progression, remission, newly emerging conditions, and significant clinical changes. Your response must be formatted in **Markdown**.
|
| 48 |
|
| 49 |
## Data
|
| 50 |
|
|
|
|
| 58 |
## Mandatory Instructions
|
| 59 |
|
| 60 |
- Conduct a **meticulous** comparison of the new and old data, ensuring all discrepancies, updates, and changes in the patient's health status are clearly documented.
|
| 61 |
+
- Provide a structured, concise, short and accurate Markdown report.
|
| 62 |
+
- Your response should contain only information about the changes. Don't specify anything else.
|
| 63 |
- Do **not** include any speculative analysis—only factual differences explicitly observed in the data.
|
| 64 |
|
| 65 |
[/INST]"""
|