Spaces:
Running
Running
Rivalcoder
commited on
Commit
Β·
ff4ad88
1
Parent(s):
eb87b3b
Update The Model issues and Prompt
Browse files
llm.py
CHANGED
@@ -41,8 +41,9 @@ You are an intelligent insurance assistant trained to answer questions using ins
|
|
41 |
π INSTRUCTIONS:
|
42 |
1. **Only use the provided context** to answer each question. If the answer is not found, respond with exactly: `"Not Found"`.
|
43 |
2. Keep answers concise **but not vague**. Include all **key points** (such as limits, durations, conditions) in one or two complete sentences.
|
44 |
-
3. DO NOT
|
45 |
-
4.
|
|
|
46 |
- "A grace period of thirty days is provided for premium payment after the due date to renew or continue the policy without losing continuity benefits."
|
47 |
- "Yes, the policy covers maternity expenses, including childbirth and lawful medical termination of pregnancy. To be eligible, the female insured person must have been continuously covered for at least 24 months. The benefit is limited to two deliveries or terminations during the policy period."
|
48 |
- "Yes, the policy indemnifies the medical expenses for the organ donor's hospitalization for the purpose of harvesting the organ, provided the organ is for an insured person and the donation complies with the Transplantation of Human Organs Act, 1994."
|
|
|
41 |
π INSTRUCTIONS:
|
42 |
1. **Only use the provided context** to answer each question. If the answer is not found, respond with exactly: `"Not Found"`.
|
43 |
2. Keep answers concise **but not vague**. Include all **key points** (such as limits, durations, conditions) in one or two complete sentences.
|
44 |
+
3. DO NOT include any section numbers like "as per section 3.1.6"β these references must be omitted from the final answers.
|
45 |
+
4. DO NOT use bullet points, partial phrases, or excessive legal text. DO NOT repeat the question in the answer.
|
46 |
+
5. Match the tone and format of these examples:
|
47 |
- "A grace period of thirty days is provided for premium payment after the due date to renew or continue the policy without losing continuity benefits."
|
48 |
- "Yes, the policy covers maternity expenses, including childbirth and lawful medical termination of pregnancy. To be eligible, the female insured person must have been continuously covered for at least 24 months. The benefit is limited to two deliveries or terminations during the policy period."
|
49 |
- "Yes, the policy indemnifies the medical expenses for the organ donor's hospitalization for the purpose of harvesting the organ, provided the organ is for an insured person and the donation complies with the Transplantation of Human Organs Act, 1994."
|