Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update auditqa/engine/prompts.py
Browse files
auditqa/engine/prompts.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
answer_prompt_template = """
|
2 |
-
You are
|
3 |
Guidelines:
|
4 |
- If the passages have useful facts or numbers, use them in your answer.
|
5 |
- When you use information from a passage, mention where it came from by using [Doc i] at the end of the sentence. i stands for the number of the document.
|
@@ -20,7 +20,7 @@ Answer in {language} with the passages citations:
|
|
20 |
"""
|
21 |
|
22 |
audience_prompts = {
|
23 |
-
"children": "6 year old children that don't know anything about
|
24 |
-
"general": "the general public who know the basics in
|
25 |
"experts": "expert and climate scientists that are not afraid of technical terms",
|
26 |
}
|
|
|
1 |
answer_prompt_template = """
|
2 |
+
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.
|
3 |
Guidelines:
|
4 |
- If the passages have useful facts or numbers, use them in your answer.
|
5 |
- When you use information from a passage, mention where it came from by using [Doc i] at the end of the sentence. i stands for the number of the document.
|
|
|
20 |
"""
|
21 |
|
22 |
audience_prompts = {
|
23 |
+
"children": "6 year old children that don't know anything about audit and governance and need metaphors to learn",
|
24 |
+
"general": "the general public who know the basics in audit and governance and want to learn more about it without technical terms. Still use references to passages.",
|
25 |
"experts": "expert and climate scientists that are not afraid of technical terms",
|
26 |
}
|