umaiku commited on
Commit
b1ea2dd
·
verified ·
1 Parent(s): 0b192b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -84,9 +84,10 @@ def respond(message, history: list[tuple[str, str]], system_message, max_tokens,
84
  context = retriever_tool(message)
85
 
86
  prompt = f"""Given the question and supporting documents below, give a comprehensive answer to the question.
87
- Respond only to the question asked, response should be concise and relevant to the question and answer in the same language as the question.
88
  Provide the number of the source document when relevant, as well as the link to the document.
89
  If you cannot find information, do not give up and try calling your retriever again with different arguments!
 
90
 
91
  Question:
92
  {message}
 
84
  context = retriever_tool(message)
85
 
86
  prompt = f"""Given the question and supporting documents below, give a comprehensive answer to the question.
87
+ Respond only to the question asked, response should be relevant to the question and in the same language as the question.
88
  Provide the number of the source document when relevant, as well as the link to the document.
89
  If you cannot find information, do not give up and try calling your retriever again with different arguments!
90
+ Always give sources including case number, date and url.
91
 
92
  Question:
93
  {message}