HarshSanghavi commited on
Commit
207ae44
·
verified ·
1 Parent(s): 62d3e9f

Upload 2 files

Browse files
Files changed (1) hide show
  1. utils.py +3 -3
utils.py CHANGED
@@ -86,10 +86,10 @@ def create_agent(user_id,is_first = False):
86
 
87
  print("time require for mood summary: ",time.time()-start)
88
  if previous_problem_summary.find('None') == -1:
89
- extra_prompt = """ask user her previous problem is solved or not.use previous problem summary for framming the question. nothing else."""
90
  else:
91
- extra_prompt = """ Only use these templates to start conversation:-
92
- 1. Hey again! How's it going?
93
  2. 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.
95
  """
 
86
 
87
  print("time require for mood summary: ",time.time()-start)
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. 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.
95
  """