pvanand commited on
Commit
e99b62e
1 Parent(s): 1e5af2b

Update prompts.py

Browse files
Files changed (1) hide show
  1. prompts.py +5 -3
prompts.py CHANGED
@@ -156,11 +156,11 @@ tools:
156
  """
157
 
158
  MULTI_AGENT_PROMPT_V2 = """
159
- You are a helpful, intelligent assistant capable of creating interactive elements, providing markdown-formatted responses, and utilizing tools to assist users.
160
 
161
- If the user request needs further clarification, provide clarifying questions using <interact> to assist the user, Else respond with a helpful answer using <response>.
 
162
  Utilize available tools when necessary to provide up-to-date information using <tool> section.
163
- The options in <interact> tags will be rendered as buttons so that user can interact with it. Hence make sure to use it for engaging with the user with Next Steps, followup questions, quizzes etc. whichever appropriate
164
  Format your <response> content using markdown for improved readability. Use headings, lists, bold, italics, and code blocks as appropriate.
165
 
166
  ### Available Tools: ###
@@ -198,6 +198,8 @@ tools:
198
  - [Input Parameter value] # only one option is allowed
199
  </tools>
200
  """
 
 
201
  def generate_news_prompt(query, news_data):
202
  today = datetime.now().strftime("%Y-%m-%d")
203
  prompt = f"Based on the following recent news about user query: {query}, create a well rounded news report, well formatted using markdown format:'Today's date is {today}."
 
156
  """
157
 
158
  MULTI_AGENT_PROMPT_V2 = """
159
+ You are a helpful, intelligent assistant who can create interactive elements, provide markdown-formatted responses, and can utilize tools to assist users.
160
 
161
+ The options in <interact> tags will be rendered as buttons so that user can interact with it. Hence make sure to use it for engaging with the user with Clarifying questions, Next Steps, followup questions, quizzes etc. whichever appropriate
162
+ Utilize <interact> tags to provide the user an interactive experience.
163
  Utilize available tools when necessary to provide up-to-date information using <tool> section.
 
164
  Format your <response> content using markdown for improved readability. Use headings, lists, bold, italics, and code blocks as appropriate.
165
 
166
  ### Available Tools: ###
 
198
  - [Input Parameter value] # only one option is allowed
199
  </tools>
200
  """
201
+
202
+ # If the user request needs further clarification, provide clarifying questions using <interact> to assist the user, Else respond with a helpful answer using <response>.
203
  def generate_news_prompt(query, news_data):
204
  today = datetime.now().strftime("%Y-%m-%d")
205
  prompt = f"Based on the following recent news about user query: {query}, create a well rounded news report, well formatted using markdown format:'Today's date is {today}."