Update app.py
Browse files
app.py
CHANGED
@@ -58,10 +58,11 @@ def respond(
|
|
58 |
break
|
59 |
|
60 |
message = f"""
|
61 |
-
Context:
|
62 |
{context}
|
63 |
-
|
64 |
-
Always answer the user using the language used in his question
|
|
|
65 |
"""
|
66 |
|
67 |
print(message)
|
|
|
58 |
break
|
59 |
|
60 |
message = f"""
|
61 |
+
Context: Answer the user's question using the following case extracts collected from various Federal Supreme Court of Switzerland and European Court of Human Rights cases:
|
62 |
{context}
|
63 |
+
Task: A user is asking a question, so start by summarizing these case in the user's question's language and reference the sources, including the urls and dates.
|
64 |
+
Instructions: Always answer the user using the language used in his question.
|
65 |
+
Question: {message}
|
66 |
"""
|
67 |
|
68 |
print(message)
|