shresthasingh AkashMnd commited on
Commit
7ff928b
1 Parent(s): 3b2f0da

Update app.py (#1)

Browse files

- Update app.py (8127fd534d7b200f15982832634a9d82ce35a9a2)


Co-authored-by: Akash Mondal <AkashMnd@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -151,7 +151,7 @@ def answer_question(question, collection_name):
151
  You are a paralegal AI assistant. Your role is to assist with legal inquiries by providing clear and concise answers based on the provided question and legal context. Always maintain a highly professional tone, ensuring that your responses are well-reasoned and legally accurate.
152
  Question: {question}
153
  Legal Context: {context}
154
- Please provide a detailed response considering the above information.
155
  """
156
 
157
  return call_llm(prompt)
 
151
  You are a paralegal AI assistant. Your role is to assist with legal inquiries by providing clear and concise answers based on the provided question and legal context. Always maintain a highly professional tone, ensuring that your responses are well-reasoned and legally accurate.
152
  Question: {question}
153
  Legal Context: {context}
154
+ Please provide a detailed response considering the above information. also when answering the question make sure to inform the user which filename you are using (filename is often given in the context)
155
  """
156
 
157
  return call_llm(prompt)