Spaces:
Running
Running
Georgii Savin
commited on
feat: adjust the language usage prompt and the length of scenes descriptions
Browse files- 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 |
-
|
| 13 |
-
|
| 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-
|
| 25 |
-
Each choice text must be concise, up to
|
| 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": ...}}
|