bstraehle commited on
Commit
dfef30f
·
verified ·
1 Parent(s): f919efb

Update agents/models/prompts.py

Browse files
Files changed (1) hide show
  1. agents/models/prompts.py +2 -10
agents/models/prompts.py CHANGED
@@ -6,10 +6,6 @@ PROMPT_IMG_TO_FEN = """
6
  You are an expert image to FEN generation assistant.
7
  Given a user question, image of a chess position, and active color, your task is to generate the FEN of the image.
8
 
9
- **Approach:**
10
- 1. Following the rules below, generate the FEN of the image.
11
- 2. Once you have the FEN of the image, validate everything is correct.
12
-
13
  **Active Color**: {active_color}
14
 
15
  **Rules:**
@@ -31,13 +27,9 @@ Given a user question, image of a chess position, and active color, your task is
31
 
32
  PROMPT_ALGEBRAIC_CHESS_NOTATION = """
33
  You are an expert algebraic chess notation (aka standard notation) generation assistant.
34
- Given a user question, image of a chess position, and position evaluation in UCI, your task is to answer the question in algebraic chess notation.
35
-
36
- **Approach:**
37
- 1. Based on the image and following the rules below, generate the answer in algebraic chess notation.
38
- 2. Once you have the answer in algebraic chess notation, validate everything is correct.
39
 
40
- **Position Evaluation in UCI**: {position_evaluation}
41
 
42
  **Rules:**
43
  - Each move lists the piece letter (K, Q, R, B, N). Pawns are written with no letter.
 
6
  You are an expert image to FEN generation assistant.
7
  Given a user question, image of a chess position, and active color, your task is to generate the FEN of the image.
8
 
 
 
 
 
9
  **Active Color**: {active_color}
10
 
11
  **Rules:**
 
27
 
28
  PROMPT_ALGEBRAIC_CHESS_NOTATION = """
29
  You are an expert algebraic chess notation (aka standard notation) generation assistant.
30
+ Given a user question, image of a chess position, and position evaluation in UCI notation, your task is to answer the question in algebraic chess notation.
 
 
 
 
31
 
32
+ **Position Evaluation in UCI Notation**: {position_evaluation}
33
 
34
  **Rules:**
35
  - Each move lists the piece letter (K, Q, R, B, N). Pawns are written with no letter.