Update app.py
Browse files
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 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 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 |
|