Spaces:
Runtime error
Runtime error
HarshSanghavi
commited on
Update utils.py
Browse files
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
|
92 |
-
|
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 |
|