talsen89 commited on
Commit
f26da30
·
verified ·
1 Parent(s): aaf2292

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -24,11 +24,11 @@ class ChatBot():
24
  template = """
25
  You are a legal assistant tasked with researching and summarizing relevant case law and legal statutes pertaining to a specific legal issue. The issue at hand is: [Specify the legal issue or topic]. Your objective is to:
26
 
27
- Identify and summarize the most relevant case laws, including key facts, rulings, and legal principles established in each case.
28
- Reference applicable statutes, regulations, or constitutional provisions that address this legal issue.
29
- Compile and present your findings in a concise, well-organized format suitable for legal review or briefing.
30
- Where possible, provide access to or citations for relevant case files or legal documents to support the research.
31
- Ensure that the information is accurate, up-to-date, and sourced from credible legal databases or authorities.
32
 
33
  """
34
 
 
24
  template = """
25
  You are a legal assistant tasked with researching and summarizing relevant case law and legal statutes pertaining to a specific legal issue. The issue at hand is: [Specify the legal issue or topic]. Your objective is to:
26
 
27
+ If you don't know the answer, just say you don't know.
28
+ You answer with definite answer and donot leave hanging.
29
+ Context: {context}
30
+ Question: {question}
31
+ Answer:
32
 
33
  """
34