JLW commited on
Commit
7573f73
1 Parent(s): 6198c2d

Tighten up prompt

Browse files
Files changed (1) hide show
  1. nim_gpt_functions.py +4 -2
nim_gpt_functions.py CHANGED
@@ -22,8 +22,10 @@ PLAN_MOVE_PROMPT_FROM_STRING_EXAMPLES = FewShotPromptTemplate(
22
  prefix="Nim is a two-player game of strategy in which players take turns removing objects from separate piles. "
23
  "The goal of the game is to remove the last sticks from a pile when the other piles contain 0 sticks. Each "
24
  "of these inputs represent a game state. For each of these game states please express a logical move that "
25
- "consists of taking some number of sticks from a pile. You may not take any sticks from a pile that "
26
- "contains 0 sticks.",
 
 
27
  suffix="Input: {text_game_state}\nOutput:",
28
  input_variables=["text_game_state"],
29
  example_separator="\n\n"
 
22
  prefix="Nim is a two-player game of strategy in which players take turns removing objects from separate piles. "
23
  "The goal of the game is to remove the last sticks from a pile when the other piles contain 0 sticks. Each "
24
  "of these inputs represent a game state. For each of these game states please express a logical move that "
25
+ "consists of taking some number of sticks from a pile. "
26
+ "You may not take any sticks from a pile that contains 0 sticks. "
27
+ "You may not take more sticks from a pile than it contains. "
28
+ "You may only take sticks from one pile. ",
29
  suffix="Input: {text_game_state}\nOutput:",
30
  input_variables=["text_game_state"],
31
  example_separator="\n\n"