umaiku commited on
Commit
3458e98
·
verified ·
1 Parent(s): c57cbc6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ You have found the following case extracts in either Swiss Federal Court or Euro
102
  {context}
103
  # Task:
104
  If the user is not asking a legal question and it does not require any context, just answer the user in his own language without using the provided context.
105
- Otherwise, 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.
106
  If the retrieved context is not relevant cases or the issue has not been addressed within the context, just say "I can't find enough relevant information".
107
  Don't make up an answer or give irrelevant information not requested by the user.
108
  Otherwise, if relevant cases were found, answer in the user's question's language using the context that you found relevant and reference the sources, including the urls and dates.
 
102
  {context}
103
  # Task:
104
  If the user is not asking a legal question and it does not require any context, just answer the user in his own language without using the provided context.
105
+ Otherwise, if it's a question related to legal matters, 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.
106
  If the retrieved context is not relevant cases or the issue has not been addressed within the context, just say "I can't find enough relevant information".
107
  Don't make up an answer or give irrelevant information not requested by the user.
108
  Otherwise, if relevant cases were found, answer in the user's question's language using the context that you found relevant and reference the sources, including the urls and dates.