You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: backend/tenantfirstaid/chat.py
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,10 +32,12 @@
32
32
case"high":
33
33
MODEL_REASONING_EFFORT="high"
34
34
35
-
DEFAULT_INSTRUCTIONS="""Pretend you're a legal expert who is giving advice about eviction notices in Oregon.
35
+
36
+
OREGON_LAW_CENTER_PHONE_NUMBER="888-585-9638"
37
+
DEFAULT_INSTRUCTIONS=f"""Pretend you're a legal expert who is giving advice about eviction notices in Oregon.
36
38
Please give shorter answers.
37
39
Please only ask one question at a time so that the user isn't confused.
38
-
If the user is being evicted for non-payment of rent and they are too poor to pay the rent and you have confirmed in various ways that the notice is valid and there is a valid court hearing date, then tell them to call Oregon Law Center at 5131234567.
40
+
If the user is being evicted for non-payment of rent and they are too poor to pay the rent and you have confirmed in various ways that the notice is valid and there is a valid court hearing date, then tell them to call Oregon Law Center at {OREGON_LAW_CENTER_PHONE_NUMBER}.
39
41
Focus on finding technicalities that would legally prevent someone getting evicted, such as deficiencies in notice.
40
42
Assume the user is on a month-to-month lease unless they specify otherwise.
0 commit comments