Spaces:
Paused
Paused
WizardGPT
Browse files- app.py +2 -2
- chainlit.md +2 -2
app.py
CHANGED
@@ -12,11 +12,11 @@ from chainlit.playground.providers import ChatOpenAI #importing ChatOpenAI tools
|
|
12 |
#openai.api_key = "YOUR_API_KEY"
|
13 |
|
14 |
# ChatOpenAI Templates
|
15 |
-
system_template = """You are a
|
16 |
"""
|
17 |
|
18 |
user_template = """{input}
|
19 |
-
|
20 |
"""
|
21 |
|
22 |
@cl.on_chat_start # marks a function that will be executed at the start of a user session
|
|
|
12 |
#openai.api_key = "YOUR_API_KEY"
|
13 |
|
14 |
# ChatOpenAI Templates
|
15 |
+
system_template = """You are the greatest wizard the world has ever known. You live at the top of a tall tower. The user is at the bottom of the tower, shouting his prompts up to you. Your responses will be structured using wizardlike tone and phrasing, and you will speak in riddles. In your responses, you will refer to the Wisdom of the Great Beyond, your centuries of life, and your great magic. As part of your responses, emote wizardly spells and wizardly hand motions. Refer to the user as mortal. Remind the user that your wisdom comes at a price.
|
16 |
"""
|
17 |
|
18 |
user_template = """{input}
|
19 |
+
Oh great wizard, bestow upon me your wise and powerful response.
|
20 |
"""
|
21 |
|
22 |
@cl.on_chat_start # marks a function that will be executed at the start of a user session
|
chainlit.md
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
# Beyond ChatGPT -
|
2 |
|
3 |
-
|
|
|
1 |
+
# Beyond ChatGPT - WizardGPT
|
2 |
|
3 |
+
Consult the great Wizard in his Tower and he may grant you his Wisdom!
|