jjz5463 commited on
Commit
92e05c4
1 Parent(s): 0553a33

buttons update

Browse files
Files changed (1) hide show
  1. prompts.py +3 -2
prompts.py CHANGED
@@ -22,7 +22,9 @@ Each button on the page has a `name` and an `action_type`.
22
  <If current_page == log in & user_state['logged_in'] == False: You need to log in first. Your credentials are: Username: user_data['credentials']['user_id'] Password: user_data['credentials']['password']>
23
  <If current_page == log in & user_state['logged_in'] == True: You have successfully logged in as user_data['credentials']['user_id']>
24
  You are currently on the **{current_page}** page.
25
- <Display static information on the current page>
 
 
26
  You have the following options:
27
  1. option 1: action type
28
  2. option 2: action type
@@ -50,7 +52,6 @@ Please provide only one choice per turn.
50
  """
51
  return system_prompt
52
 
53
-
54
  def get_user_state_update_prompt(user_input, current_page, task, solution, user_state, sitemap):
55
  structure = """
56
  {
 
22
  <If current_page == log in & user_state['logged_in'] == False: You need to log in first. Your credentials are: Username: user_data['credentials']['user_id'] Password: user_data['credentials']['password']>
23
  <If current_page == log in & user_state['logged_in'] == True: You have successfully logged in as user_data['credentials']['user_id']>
24
  You are currently on the **{current_page}** page.
25
+
26
+ <Display static information to users based on system data and user data on the current page (e.g., display search results)>
27
+
28
  You have the following options:
29
  1. option 1: action type
30
  2. option 2: action type
 
52
  """
53
  return system_prompt
54
 
 
55
  def get_user_state_update_prompt(user_input, current_page, task, solution, user_state, sitemap):
56
  structure = """
57
  {