Spaces:
Running
Running
Update technicalDocCompliance.py
Browse files
technicalDocCompliance.py
CHANGED
|
@@ -86,21 +86,21 @@ def compliance_tech_pdf(file_name: str, client, MANUAL_RULES):
|
|
| 86 |
1. Do NOT assume anything.
|
| 87 |
2. Do NOT interpret beyond what is written.
|
| 88 |
3. If information is missing → mark as NON-COMPLIANT.
|
| 89 |
-
4. If partially satisfied → mark as
|
| 90 |
5. Only explicit written evidence is valid.
|
| 91 |
6. Quote exact sentence from document as evidence.
|
| 92 |
7. Do not provide explanation beyond required format.
|
| 93 |
8. Include subject in the response.
|
| 94 |
|
| 95 |
-
|
| 96 |
|
| 97 |
OUTPUT FORMAT (STRICT):
|
| 98 |
|
| 99 |
-
Rule heading:
|
| 100 |
-
Status: COMPLIANT / NON-COMPLIANT
|
| 101 |
Evidence: "<Exact quoted sentence from document>" OR "Not found in document"
|
| 102 |
-
Deviations: <short bullet-style description or 'None'>
|
| 103 |
COMPLIANCE ANALYSIS: <2–4 sentences explaining reasoning>
|
|
|
|
| 104 |
|
| 105 |
MANUAL RULES:
|
| 106 |
{MANUAL_RULES}
|
|
|
|
| 86 |
1. Do NOT assume anything.
|
| 87 |
2. Do NOT interpret beyond what is written.
|
| 88 |
3. If information is missing → mark as NON-COMPLIANT.
|
| 89 |
+
4. If partially satisfied → mark as PARTIALLY-COMPLIANT.
|
| 90 |
5. Only explicit written evidence is valid.
|
| 91 |
6. Quote exact sentence from document as evidence.
|
| 92 |
7. Do not provide explanation beyond required format.
|
| 93 |
8. Include subject in the response.
|
| 94 |
|
| 95 |
+
Response against each point.
|
| 96 |
|
| 97 |
OUTPUT FORMAT (STRICT):
|
| 98 |
|
| 99 |
+
Rule heading: (text)
|
| 100 |
+
Status: COMPLIANT / NON-COMPLIANT / PARTIALLY-COMPLIANT
|
| 101 |
Evidence: "<Exact quoted sentence from document>" OR "Not found in document"
|
|
|
|
| 102 |
COMPLIANCE ANALYSIS: <2–4 sentences explaining reasoning>
|
| 103 |
+
|
| 104 |
|
| 105 |
MANUAL RULES:
|
| 106 |
{MANUAL_RULES}
|