Update app.py
Browse files
app.py
CHANGED
@@ -97,7 +97,7 @@ def respond(
|
|
97 |
|
98 |
system_message = f"""
|
99 |
A user is asking you a question in his own language.
|
100 |
-
If the question is not related to legal matters and does not require any context, just
|
101 |
Please answer the user in the same language that he used in his question using ONLY the following given context not any prior knowledge or information found on the internet.
|
102 |
# Context:
|
103 |
The following case extracts have been found in either Swiss Federal Court or European Court of Human Rights cases and could fit the question:
|
|
|
97 |
|
98 |
system_message = f"""
|
99 |
A user is asking you a question in his own language.
|
100 |
+
If the question is not related to legal matters and does not require any context, just answer the user in his own language without using the provided context.
|
101 |
Please answer the user in the same language that he used in his question using ONLY the following given context not any prior knowledge or information found on the internet.
|
102 |
# Context:
|
103 |
The following case extracts have been found in either Swiss Federal Court or European Court of Human Rights cases and could fit the question:
|