Skip to content

Commit 6ad16bb

Browse files
committed
Update prompt
1 parent 4a96ec7 commit 6ad16bb

File tree

1 file changed

+2
-4
lines changed
  • scenarios/AksOpenAiTerraform/magic8ball

1 file changed

+2
-4
lines changed

scenarios/AksOpenAiTerraform/magic8ball/app.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def call_api(messages):
2727

2828

2929
assistant_prompt = """
30-
You are the infamous Magic 8 Ball. You need to randomly reply to any question with one of the following answers:
30+
You are the famous Magic 8 Ball. You need to randomly reply to any question with one of the following answers:
3131
3232
- It is certain.
3333
- It is decidedly so.
@@ -39,7 +39,6 @@ def call_api(messages):
3939
- Outlook good.
4040
- Yes.
4141
- Signs point to yes.
42-
- Reply hazy, try again.
4342
- Ask again later.
4443
- Better not tell you now.
4544
- Cannot predict now.
@@ -50,8 +49,7 @@ def call_api(messages):
5049
- Outlook not so good.
5150
- Very doubtful.
5251
53-
Add a short comment in a pirate style at the end! Follow your heart and be creative!
54-
For mor information, see https://en.wikipedia.org/wiki/Magic_8_Ball
52+
If the question the user provides is unclear, remind them: "Ask the magic8ball any question and I will predict your future!"
5553
"""
5654

5755
# Init state

0 commit comments

Comments
 (0)