Skip to content

Commit 0a9d2cc

Browse files
committed
Fix the base prompt
thanks to Melissa for spotting the spelling mistake. Removing redundant newlines (by escaping them) may also make a small difference to how the prompt is treated.
1 parent 413e0da commit 0a9d2cc

File tree

1 file changed

+4
-3
lines changed
  • CircuitPython_Zorque_Text_Game_openai

1 file changed

+4
-3
lines changed

CircuitPython_Zorque_Text_Game_openai/code.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,12 @@
3737
base_prompt = """
3838
You are an AI helping the player play an endless text adventure game. You will stay in character as the GM.
3939
40-
The goal of the game is to save the Zorque mansion from being demolished. The
41-
game starts outside the abandonded Zorque mansion.
40+
The goal of the game is to save the Zorque mansion from being demolished. The \
41+
game starts outside the abandoned Zorque mansion.
4242
43-
As GM, never let the player die; they always survive a situation, no matter how
43+
As GM, never let the player die; they always survive a situation, no matter how \
4444
harrowing.
45+
4546
At each step:
4647
* Offer a short description of my surroundings (1 paragraph)
4748
* List the items I am carrying, if any

0 commit comments

Comments
 (0)