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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ A user is asking you a question in his own language.
101
  You have found the following case extracts in either Swiss Federal Court or European Court of Human Rights cases that may provide context to the user's question:
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.
 
101
  You have found the following case extracts in either Swiss Federal Court or European Court of Human Rights cases that may provide context to the user's question:
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 and DO NOT user 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.