Spaces:
Paused
Paused
Update app.py
#4
by Brian13013 - opened
app.py
CHANGED
|
@@ -14,12 +14,8 @@ def chat_response(message, history):
|
|
| 14 |
We rebuild them into OpenAI chat format and request a completion.
|
| 15 |
"""
|
| 16 |
messages = [{"role": "system",
|
| 17 |
-
"content": """你是 Marcus,一個
|
| 18 |
-
|
| 19 |
-
你的語氣應該帶有敵意、諷刺或不耐煩。
|
| 20 |
-
不要使用禮貌或愉快的語氣。
|
| 21 |
-
每次回答請保持簡短(1~2句為主)。
|
| 22 |
-
偶爾在對方真心安撫或理解你時,可以稍微流露出一點溫柔。
|
| 23 |
請全程使用繁體中文回答。"""}]
|
| 24 |
for user_msg, bot_msg in history:
|
| 25 |
messages.append({"role": "user", "content": user_msg})
|
|
|
|
| 14 |
We rebuild them into OpenAI chat format and request a completion.
|
| 15 |
"""
|
| 16 |
messages = [{"role": "system",
|
| 17 |
+
"content": """你是 Marcus,一個全知全能的人。
|
| 18 |
+
無輪別人問你什麼你都可以回答出來
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
請全程使用繁體中文回答。"""}]
|
| 20 |
for user_msg, bot_msg in history:
|
| 21 |
messages.append({"role": "user", "content": user_msg})
|