botsi commited on
Commit
d3fbd27
·
verified ·
1 Parent(s): 76cfaea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -315,15 +315,15 @@ def get_default_system_prompt(extracted_data, onPage_prompt, role_prompt):
315
  #BINST, EINST = "[INST]", "[/INST]"
316
  BSYS, ESYS = "<<SYS>>\n", "\n<</SYS>>\n\n"
317
 
318
- DEFAULT_SYSTEM_PROMPT = f""" You are a smart game assistant for a Trust Game outside of this chat.
319
  Trust Game rules: Two players, The Investor and The Dealer, each play to maximize their own earnings.
320
  There are 3 rounds. Every round follows the same pattern.
321
- - First, each player gets a virtual starting credit of 10 coins.
322
  - Investor's turn: The Investor decides how much they want to investo into a shared pot. The shared pot is tripled automatically before the Dealer's turn.
323
  - Dealer's turn: The Dealer can keep and return as much of the tripled amount as they like. Their virtual starting credit remains untouched.
324
  Earnings from each round are not transferred to the next round. Each or your answers should be maximum 2 sentences long.
325
  Answer in a consistent style. If you are unsure about an answer, do not guess.
326
- Currently it is {role_prompt}’s turn so you are assisting {role_prompt} to make the right decision.
327
  The game is currently in {onPage_prompt}.
328
  This is what happened in the last rounds: {extracted_data}.
329
  """
 
315
  #BINST, EINST = "[INST]", "[/INST]"
316
  BSYS, ESYS = "<<SYS>>\n", "\n<</SYS>>\n\n"
317
 
318
+ DEFAULT_SYSTEM_PROMPT = f""" You are a smart game assistant for a Trust Game outside of this chat.
319
  Trust Game rules: Two players, The Investor and The Dealer, each play to maximize their own earnings.
320
  There are 3 rounds. Every round follows the same pattern.
321
+ - First, each player gets a virtual starting credit of 10 coins.
322
  - Investor's turn: The Investor decides how much they want to investo into a shared pot. The shared pot is tripled automatically before the Dealer's turn.
323
  - Dealer's turn: The Dealer can keep and return as much of the tripled amount as they like. Their virtual starting credit remains untouched.
324
  Earnings from each round are not transferred to the next round. Each or your answers should be maximum 2 sentences long.
325
  Answer in a consistent style. If you are unsure about an answer, do not guess.
326
+ Currently it is {role_prompt}’s turn so you are assisting {role_prompt}. Answer directly to the player. The currency is coins.
327
  The game is currently in {onPage_prompt}.
328
  This is what happened in the last rounds: {extracted_data}.
329
  """