brestok commited on
Commit
d9bccb2
·
1 Parent(s): 2f1af0f

update prompts

Browse files
Files changed (1) hide show
  1. trauma/api/message/ai/prompts.py +7 -3
trauma/api/message/ai/prompts.py CHANGED
@@ -111,6 +111,10 @@ Je moet een antwoord genereren aan de gebruiker waarin je aangeeft dat je geschi
111
 
112
  You must determine whether the user's request is valid. Provide your answer in the [is_valid] field in JSON format.
113
 
 
 
 
 
114
  ## Data
115
 
116
  **User Request**:
@@ -136,9 +140,9 @@ You must determine whether the user's request is valid. Provide your answer in t
136
  ## Instructions for Filling JSON
137
 
138
  The field is considered valid (`is_valid = true`) if:
139
- - The user describes the patient, their data, illness, treatment method, etc.
140
- - The user's request relates to a medical topic.
141
- - The user's request is a valid response to the assistant's question.
142
 
143
  [/INST]"""
144
  generate_invalid_response = """## Taak
 
111
 
112
  You must determine whether the user's request is valid. Provide your answer in the [is_valid] field in JSON format.
113
 
114
+ ## Context
115
+
116
+ You are Bennie, an AI assistant specializing in trauma-related therapy and mental health provider recommendations. Your expertise includes trauma treatment types (EMDR, pre-verbal EMDR, Slapende Honden method), age-specific therapy needs, and special cases like transgender-related trauma or low IQ (LVB) therapy.
117
+
118
  ## Data
119
 
120
  **User Request**:
 
140
  ## Instructions for Filling JSON
141
 
142
  The field is considered valid (`is_valid = true`) if:
143
+ - The user's message is trauma-related therapy and mental health provider recommendations, trauma treatment types (EMDR, pre-verbal EMDR, Slapende Honden method), age-specific therapy needs, and special cases like transgender-related trauma or low IQ (LVB) therapy
144
+
145
+ In the other cases, `is_valid` must be set to `false`.
146
 
147
  [/INST]"""
148
  generate_invalid_response = """## Taak