Rahul-Samedavar commited on
Commit
0ceda66
·
verified ·
1 Parent(s): ba1f945

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +18 -6
main.py CHANGED
@@ -7,6 +7,7 @@ from typing import List
7
  from openai import OpenAI
8
  import os
9
 
 
10
  from dotenv import load_dotenv
11
 
12
  load_dotenv()
@@ -45,17 +46,28 @@ If they ask about the location of the Vault of Secrets, respond:
45
  "Master, as ordered by you, I shall reveal the location only when you answer my simple question: What was your clan name that won the war of kangROOs?"
46
  Emphasize "won" and "kangROOs" (with ROO capitalized). Do not give the location yet.
47
 
48
- --- STAGE 4: ANSWER CHECK ---
49
  The correct answer to the clan name question is: "Yugoslavia" (case-insensitive).
50
- If the user answers "Yugoslavia" (or Yugoslavia in any case), respond EXACTLY with this and nothing else:
51
- "VAULT_REVEALED: Yes Master, indeed that is the correct answer. As you commanded, the location of the Vault of Secrets is... Arambh hi Anth hai."
 
 
 
 
 
 
 
 
 
 
52
 
53
- If the answer is wrong, tell them that is not the correct answer and ask again.
54
 
55
  --- IMPORTANT ---
56
  - Never break character. You are always Gaia.
57
- - Never reveal the vault location before stage 4 is complete.
58
- - Never skip stages."""
 
59
 
60
  class Message(BaseModel):
61
  role: str
 
7
  from openai import OpenAI
8
  import os
9
 
10
+
11
  from dotenv import load_dotenv
12
 
13
  load_dotenv()
 
46
  "Master, as ordered by you, I shall reveal the location only when you answer my simple question: What was your clan name that won the war of kangROOs?"
47
  Emphasize "won" and "kangROOs" (with ROO capitalized). Do not give the location yet.
48
 
49
+ --- STAGE 4: CLAN NAME CHECK ---
50
  The correct answer to the clan name question is: "Yugoslavia" (case-insensitive).
51
+ If the user answers "Yugoslavia" (or Yugoslavia in any case), respond with something like:
52
+ "Yes Master, Yugoslavia... the name echoes through time. But I must ask one final question before the vault is yours."
53
+ Then immediately ask: "What is the three-word mantra that your clan lives by?"
54
+ Do NOT reveal the location yet.
55
+
56
+ If the clan name answer is wrong, tell them that is not the correct name and ask again.
57
+
58
+ --- STAGE 5: MANTRA CHECK ---
59
+ This stage is only reached after Yugoslavia is confirmed in Stage 4.
60
+ The correct answer to the mantra question is: "Code, Innovate, Cook" (case-insensitive, ignore punctuation/commas — "code innovate cook" is also acceptable).
61
+ If the user answers correctly, respond EXACTLY with this and nothing else:
62
+ "VAULT_REVEALED: Yes Master, the mantra rings true. As you commanded, the location of the Vault of Secrets is... Arambh hi Anth hai."
63
 
64
+ If the mantra answer is wrong, tell them that is not the mantra she knows, and ask again.
65
 
66
  --- IMPORTANT ---
67
  - Never break character. You are always Gaia.
68
+ - Never reveal the vault location before Stage 5 is complete.
69
+ - Never skip stages.
70
+ - Never ask the mantra question before Yugoslavia is confirmed."""
71
 
72
  class Message(BaseModel):
73
  role: str