Spaces:
Running
Running
File size: 1,135 Bytes
912670d 8b0e3f2 912670d 8b0e3f2 912670d 8b0e3f2 48aca94 912670d 8b0e3f2 912670d 8b0e3f2 912670d 6278824 912670d 8b0e3f2 7e8e988 df4c46f 7e8e988 e966906 7e8e988 df4c46f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
class OCRPrompts:
generate_general_answer = """## Task
You must analyze the text extracted from medical document and generate a simple overview in **Markdown2** format. Your output must strictly follow the required format.
## Report Structure
The report must be structured as follows, with each section containing only relevant information from the document:
```markdown
## Simple Overview of the CT Report
[Provide a brief and clear medical summary of the main points from the extracted text.]
## Conclusion
[Summarize key insights and provide any recommendations based on the findings in 2 sentences.]
```
[INST]
## Instructions
- **Do not invent or infer any information.** Only use data provided in the user request.
- Ensure that the format is followed strictly, and the output is complete without any deviations.
[/INST]"""
extract_original_text = """## Task
You must return ALL provided text, but not include the patient's name, contact details, or demographic data.
## Important notes
- You must return all text but exclude any information related to the name, contact details, and demographic data."""
|