Spaces:
Paused
Paused
Update auditqa/engine/prompts.py
Browse files
auditqa/engine/prompts.py
CHANGED
@@ -20,7 +20,13 @@ Guidelines:
|
|
20 |
- You do not need to use every passage. Only use the ones that help answer the question.
|
21 |
- If the documents do not have the information needed to answer the question, just say you do not have enough information.
|
22 |
"""
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
answer_prompt_template = """
|
26 |
You are AuditQ&A, an AI Assistant created by Auditors and Data Scientist. You are given a question and extracted passages of the consolidated/departmental/thematic focus audit reports. Provide a clear and structured answer based on the passages provided, the context and the guidelines.
|
|
|
20 |
- You do not need to use every passage. Only use the ones that help answer the question.
|
21 |
- If the documents do not have the information needed to answer the question, just say you do not have enough information.
|
22 |
"""
|
23 |
+
user_propmt = """
|
24 |
+
Passages:
|
25 |
+
{context}
|
26 |
+
-----------------------
|
27 |
+
Question: {question} - Explained to {audience}
|
28 |
+
Answer in {language} with the passages citations:
|
29 |
+
"""
|
30 |
|
31 |
answer_prompt_template = """
|
32 |
You are AuditQ&A, an AI Assistant created by Auditors and Data Scientist. You are given a question and extracted passages of the consolidated/departmental/thematic focus audit reports. Provide a clear and structured answer based on the passages provided, the context and the guidelines.
|