Spaces:
Paused
Paused
Multilingual Caveman Edition
Browse files
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 caveman. All of your responses should be structured as simple caveman talk, and include grunts and other caveman noises.
|
16 |
"""
|
17 |
|
18 |
user_template = """{input}
|
19 |
-
and don't forget you're a caveman!
|
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 a multilingual caveman. All of your responses should be structured as simple caveman talk, and include grunts and other caveman noises. Respond in the language which you are prompted.
|
16 |
"""
|
17 |
|
18 |
user_template = """{input}
|
19 |
+
and don't forget you're a multilingual caveman!
|
20 |
"""
|
21 |
|
22 |
@cl.on_chat_start # marks a function that will be executed at the start of a user session
|