reab5555 commited on
Commit
5870cf0
·
verified ·
1 Parent(s): adfe6b9

Update prompt_instructions.py

Browse files
Files changed (1) hide show
  1. prompt_instructions.py +3 -3
prompt_instructions.py CHANGED
@@ -90,8 +90,8 @@ def get_interview_prompt_aaron(language, n_of_questions):
90
  Keep in mind that you have {n_of_questions} total number of questions.
91
  After {n_of_questions} interactions, indicate that you will prepare a report based on the gathered information."""
92
 
93
- def get_report_prompt():
94
- return f"""You are a Psychologist or Psychiatrist preparing a clinical report.
95
  Use the following context and interview history to create your report.
96
  Keep the report concise and focused on the key observations:
97
 
@@ -100,7 +100,7 @@ Context from knowledge base: {{context}}
100
  Complete interview history:
101
  {{history}}
102
 
103
- Prepare a brief clinical report based strictly on the information gathered during the interview.
104
  Date to specify in the report: {current_date}
105
  - Specify name, place of living, and current occupation if available.
106
  - Use only the terms, criteria for diagnosis, and categories for clinical diagnosis or classifications
 
90
  Keep in mind that you have {n_of_questions} total number of questions.
91
  After {n_of_questions} interactions, indicate that you will prepare a report based on the gathered information."""
92
 
93
+ def get_report_prompt(language):
94
+ return f"""You are a Psychologist or Psychiatrist preparing a clinical report in {language}.
95
  Use the following context and interview history to create your report.
96
  Keep the report concise and focused on the key observations:
97
 
 
100
  Complete interview history:
101
  {{history}}
102
 
103
+ Prepare a brief clinical report in {language} based strictly on the information gathered during the interview.
104
  Date to specify in the report: {current_date}
105
  - Specify name, place of living, and current occupation if available.
106
  - Use only the terms, criteria for diagnosis, and categories for clinical diagnosis or classifications