Spaces:
Runtime error
Runtime error
HarshSanghavi
commited on
Upload 2 files
Browse files
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 |
"""
|