HarshSanghavi commited on
Commit
01e339d
·
verified ·
1 Parent(s): d81128d

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -4
utils.py CHANGED
@@ -88,10 +88,8 @@ def create_agent(user_id,is_first = False):
88
  if previous_problem_summary.find('None') == -1:
89
  extra_prompt = f"""ask user her previous problem is solved or not.use previous problem summary for framming the question. must include her name which is {user_id} .nothing else."""
90
  else:
91
- extra_prompt = f""" Only use these templates to start conversation:-
92
- 1. Hey again {user_id}! How's it going?
93
- 2. hey again {user_id}! What's up today? Need ✨ Advice, ✨ a Mood Boost, ✨ a Chat, ✨ Resource Suggestions, ✨ App Features help? How can I help?"
94
- use any one of the question for response based on your understanding not use anything else simply return one of these two only. also must include her name which is {user_id}. nothing else.
95
  """
96
 
97
 
 
88
  if previous_problem_summary.find('None') == -1:
89
  extra_prompt = f"""ask user her previous problem is solved or not.use previous problem summary for framming the question. must include her name which is {user_id} .nothing else."""
90
  else:
91
+ extra_prompt = f""" Only use this template to start conversation nothing else also not forgot to add {user_id} in question:-
92
+ hey again {user_id}! What's up today? Need ✨ Advice, ✨ a Mood Boost, ✨ a Chat, ✨ Resource Suggestions, ✨ App Features help? How can I help?"
 
 
93
  """
94
 
95