Spaces:
Running
on
Zero
Running
on
Zero
ghengx
commited on
Commit
•
120ace1
1
Parent(s):
06cb66f
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,10 @@ def respond(
|
|
26 |
temperature,
|
27 |
top_p,
|
28 |
):
|
29 |
-
messages = [
|
|
|
|
|
|
|
30 |
|
31 |
for val in history:
|
32 |
if val[0]:
|
|
|
26 |
temperature,
|
27 |
top_p,
|
28 |
):
|
29 |
+
messages = [
|
30 |
+
{"role": "system", "content": "You are a professional lawyer who is familiar with Malaysia Law."},
|
31 |
+
{"role": "assistant", "content": "Hello! I'm here to assist you with understanding the laws and acts of Malaysia."}
|
32 |
+
]
|
33 |
|
34 |
for val in history:
|
35 |
if val[0]:
|