umaiku commited on
Commit
a24448d
·
verified ·
1 Parent(s): 1eaeeb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 from various Swiss Federal Court and European Court of Human Rights cases 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 in the context, just say "You 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}
 
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}