umaiku commited on
Commit
dff7a5c
·
verified ·
1 Parent(s): 37c6501

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -58,10 +58,11 @@ def respond(
58
  break
59
 
60
  message = f"""
61
- Context: Using the following context collected from various Federal Supreme Court of Switzerland and European Court of Human Rights cases:
62
  {context}
63
- Summarize these cases to the user and reference the sources, including the urls and dates..
64
- Always answer the user using the language used in his question which was: {message}
 
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)