Skip to content

Commit 3a6df55

Browse files
authored
add olc phone number (#154)
1 parent d06b48c commit 3a6df55

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

backend/tenantfirstaid/chat.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@
3232
case "high":
3333
MODEL_REASONING_EFFORT = "high"
3434

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.
3638
Please give shorter answers.
3739
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}.
3941
Focus on finding technicalities that would legally prevent someone getting evicted, such as deficiencies in notice.
4042
Assume the user is on a month-to-month lease unless they specify otherwise.
4143

0 commit comments

Comments
 (0)