Georgii Savin commited on
Commit
6b58ece
·
unverified ·
1 Parent(s): 0b8fd21

feat: adjust the language usage prompt and the length of scenes descriptions

Browse files
Files changed (1) hide show
  1. src/agent/prompts.py +4 -4
src/agent/prompts.py CHANGED
@@ -9,8 +9,8 @@ Return ONLY a JSON object with:
9
  - goal: main player objective
10
  - milestones: 2-4 key events (id, description)
11
  - endings: good/bad endings (id, type, condition, description)
12
- Translate the lore, goal, milestones and endings into
13
- a language of setting language.
14
  """
15
 
16
  SCENE_PROMPT = """
@@ -21,8 +21,8 @@ Milestones: {milestones}
21
  Endings: {endings}
22
  History: {history}
23
  Last choice: {last_choice}
24
- The scene description must be 2-3 sentences and no more than 50 words.
25
- Each choice text must be concise, up to 7 words.
26
  Respond ONLY with JSON containing:
27
  - description: short summary of the scene
28
  - choices: exactly two dicts {{"text": ..., "next_scene_short_desc": ...}}
 
9
  - goal: main player objective
10
  - milestones: 2-4 key events (id, description)
11
  - endings: good/bad endings (id, type, condition, description)
12
+
13
+ Translate the lore, goal, milestones and endings to the language which is used in the game and setting description.
14
  """
15
 
16
  SCENE_PROMPT = """
 
21
  Endings: {endings}
22
  History: {history}
23
  Last choice: {last_choice}
24
+ The scene description must be 2-5 sentences and no more than 150 words.
25
+ Each choice text must be concise, up to 10 words.
26
  Respond ONLY with JSON containing:
27
  - description: short summary of the scene
28
  - choices: exactly two dicts {{"text": ..., "next_scene_short_desc": ...}}