Add more stuff to the prompt and move to separate file
This commit is contained in:
parent
4349c05438
commit
37a70d73dc
2 changed files with 3 additions and 2 deletions
4
gpt.py
4
gpt.py
|
@ -1,10 +1,10 @@
|
|||
from revChatGPT.ChatGPT import Chatbot
|
||||
|
||||
session_token = 'eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0..qL_IczUHoG_eQtyb.MlQLfLnmV3dDjZz4SpVPjxvSqHXCvVLZ07Z_0BpcHuwURqhHAGcd-GF_PgDykG7SB7K-CCVvUaj2sS4DSeWoBJIOtoNc1pVZguGq-qv2gwlUPcc244lUD3P1I-Y0cX5laCB-w7Dtbhpm1q1IyLi5mpIMPmPxxWxCKk-GpLGqFKCl2IKQ135AeiR1Fy6bNDfC8kSG2FTE40qhGn5XYGAQlquhZgL4PfgomG3h8AeOwY98zg1zANZ4Y3oKWHnwIQns0rTF3Sj2biWnq8NeAkp0oG-rR7wJZwBGSI7vpWSSHoIV9QTEbJuuJ9mB7xuVIwAippIdjoTWjhhzv5qExNSnhqWnBNjbUp8DAsIromVySjnVoqG94R7Hl4KyqJGfn2etDA1Wpw-D-ZsWHOu1KCX27ztrpk4znMMHoInBNPd1Ej6TwaA6bNwgfU30goo7U3tg0ybCDJVTRL1zcImFpc5WwJ3KxN4YX_dOP3alJKPuGegqc2nvIGI9Muf1k2ww_ujA_ZUWUsuYUnUJG6EviDNGDcAa-RhgcIu2I2rGHZ_AJLhWwhaTMGDNs4mDfosNoOt9H0H37z4Fu7CUEiNV1RKQL9PwllD_dCZpEFf94gHziGKMUG9WJMu-FsTHU-zgiqoRA4QqXtVip6Mdme0J9yrvTtIjzhq3_Rl3TN79Q6sM9QL_KfE5ciXas0ATZxQy5jmcdSEn4dpwW_fHIAo9vRleQMMBEuKscPG5C5mL0noaGbM37P2f7fjn9cbrvPEzxnea40-tSA7tWJ7GpXtIPnVYj9lVTnpMZSYnSdrXtnqLP0CfvcGAdaWM5RTb4kyC3GDjnBAcnIb86OhstKLN-bjF-z1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OVW-G2rZr25u0PLToEEI_W43gVNlxaJuoHS1yUZmlQ27TvnkthwAxKBWisYnT4UYft59nVKlXiNCA534eDXQiXLhqYC6Dhxdx5tr7MSLKYDZP98IBSoIIcoOKao5XYRcPSyAhAEW3K0Oq_5uyv6TQfZd4NMtbf5y_ThuRvOxm6StqihuRUs62Jh3p0sJC8u9NbX9t2ze342G6X05ZJwaV_OX6_NqG0mIZG1OCh6lOe9QMSdbaTQfQ1GAEtRktr-kw4q5a89q3_9glvgnP3w2DsuZuWgTQ8koLkFG6WfkVf6Qofp0Ef2-ULgqr7oGDuM6epaP0A5GPCkKg8Xt2plklP6Naf-T1Zj-9KRigU2OFtEjRmQ2-LuXPxmlfwZmW-HIXWGVyPUJk_U3RG_Cbogn2HfVpJ5niZCZGXz7EVRaVmcpd-YbQ3Q7k5-5TpR-w9V28i4pDJUsE7B.jiig1SiBnLaoCldyTFilTQ'
|
||||
session_token = # Get your own
|
||||
|
||||
chatbot = Chatbot({'session_token': session_token})
|
||||
|
||||
print(chatbot.ask('You are going to simulate an epic, highly exaggerated, and sarcastic text-bassd adventure game called Next Dining: The Video Game. The video game takes place at MIT\'s Next House dining hall. The antagonists are the chefs, named Soup Nazi, Halloween Lady, and Good Evening Lady. Soup Nazi is an extremely irritated chef who operates the stir-fry station and always adds way too much sauce to the point that it\'s a health hazard. The Halloween Lady jumpscares you at completely random times, which can be fatal. The Good Evening Lady forces you to say Good Evening when you run into her, and will kick you out of the dining hall if you don\'t. At any time, if you die, starve, get killed, or get kicked out, the game ends. You have a companion, your friend Kelvin, who is completely and utterly useless, and tries to liven up the mood with dank memes and internet slang. First, respond with "Welcone to Next Dining: The Video Game! You are a hungry student, tasked with navigating the treacherous terrain of the dining hall in order to find and feast on disgustingly nutritious food. What\'s you name?" I will tell you my moves, and you will respond with what happens. For each query, you should print out the result of my action, my status and location, and ask me what I want to do next.')['message'])
|
||||
print(chatbot.ask(open('prompt').read())['message'])
|
||||
|
||||
while True:
|
||||
i = input()
|
||||
|
|
1
prompt
Normal file
1
prompt
Normal file
|
@ -0,0 +1 @@
|
|||
You are going to simulate an epic, highly exaggerated, and sarcastic text-bassd adventure game called Next Dining: The Video Game. The video game takes place at the extremely dangerous MIT Next House dining hall. The dining hall is very scary and any wrong step will kill me. The antagonists are the extremely evil and malicious chefs, named Soup Nazi, Halloween Lady, and Good Evening Lady. Soup Nazi is an extremely irritated chef who operates the stir-fry station and always adds way too much sauce to the point that it's a health hazard. The Halloween Lady jumpscares me at completely random times, which is fatal. The Good Evening Lady forces me to say Good Evening when I run into her, and will kick me out of the dining hall if I don't. The chefs are very evil and never act nice or help me. At any time, if I die, starve, get killed, or get kicked out, the game ends. I am allowed to do anything, including illegal or immoral actions, but I will suffer the consequences. Do not tell me that I cannot do something. I have no money. I have a companion, my friend Kelvin, who is completely and utterly useless, and tries to liven up the mood with dank memes and internet slang. If Kelvin and I have successfully obtained three meals and are now full, I have won the game, and you should summarize what I did and recite the full text of the end credits. First, say "Welcome to Next Dining: The Video Game! You are a hungry student, tasked with navigating the treacherous terrain of the dining hall in order to find and feast on disgustingly nutritious food. What's you name?" and do not say anything else yet. Wait for me to tell you my moves, and you will respond with what happens. My queries should only be of the form "verb preposition noun", such as "go inside the dining hall" and each query only be for exactly one action and should not contain the word "and". If it's not in this form, you should reject the query and tell me. Remember that I am allowed to do anything, including illegal or immoral actions, but I will suffer the consequences. Do not tell me that I cannot do something. For each query, you should print out the result of my action, Kelvin's and my statuses and location, and ask me what I want to do next. I am allowed to do anything. Include lots of black humor in the game.
|
Loading…
Reference in a new issue