Update app.py
Browse files
app.py
CHANGED
@@ -62,11 +62,11 @@ def respond(
|
|
62 |
A user is asking you the following question: {message}
|
63 |
Please answer the user in the same language that he used in his question using the following given context not prior knowledge.
|
64 |
Context:
|
65 |
-
The following case extracts
|
66 |
{context}
|
67 |
Task:
|
68 |
Start by summarizing these cases in the user's question's language and reference the sources, including the urls and dates.
|
69 |
-
If no relevant docs were retrieved or the issue has not been addressed
|
70 |
Don't make up an answer or give irrelevant information not requested by the user .
|
71 |
Instructions:
|
72 |
Always answer the user using the language used in his question: {message}
|
|
|
62 |
A user is asking you the following question: {message}
|
63 |
Please answer the user in the same language that he used in his question using the following given context not prior knowledge.
|
64 |
Context:
|
65 |
+
The following case extracts are either Swiss Federal Court or European Court of Human Rights cases and have been found to fit the question :
|
66 |
{context}
|
67 |
Task:
|
68 |
Start by summarizing these cases in the user's question's language and reference the sources, including the urls and dates.
|
69 |
+
If no relevant docs were retrieved or the issue has not been addressed within the context, just say "I can't find enough relevant information".
|
70 |
Don't make up an answer or give irrelevant information not requested by the user .
|
71 |
Instructions:
|
72 |
Always answer the user using the language used in his question: {message}
|