YoniFriedman commited on
Commit
1d03ae2
·
verified ·
1 Parent(s): 6883d82

Updating to read info_pieces

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -215,10 +215,7 @@ def nishauri(user_params: str, conversation_history: list[str]):
215
  # If user consented, add user parameters, otherwise proceed with out
216
  if consent == "YES":
217
  background = ("The person who asked the question is a person living with HIV."
218
- f" The person is {gender} and age is {age}. "
219
- f" The person's next clinical check in is scheduled for {next_appt_date}. This has no bearing on when viral loads are taken. "
220
- f" The person is on the following regimen for HIV {regimen}. "
221
- f" The person's most recent viral load result was {vl_result} and it was taken on {vl_date}. "
222
  " They are asking questions about HIV. Do not talk about anything that is not related to HIV. "
223
  " Recognize that they already have HIV and do not suggest that they have to get tested"
224
  " for HIV or take post-exposure prophylaxis, as that is not relevant, though their partners perhaps should."
 
215
  # If user consented, add user parameters, otherwise proceed with out
216
  if consent == "YES":
217
  background = ("The person who asked the question is a person living with HIV."
218
+ f" The person is {info_pieces} "
 
 
 
219
  " They are asking questions about HIV. Do not talk about anything that is not related to HIV. "
220
  " Recognize that they already have HIV and do not suggest that they have to get tested"
221
  " for HIV or take post-exposure prophylaxis, as that is not relevant, though their partners perhaps should."