Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -283,7 +283,44 @@ with gr.Blocks(title="Audit Q&A", css= "style.css", theme=theme,elem_id = "main-
|
|
| 283 |
with gr.Tab("About",elem_classes = "max-height other-tabs"):
|
| 284 |
with gr.Row():
|
| 285 |
with gr.Column(scale=1):
|
| 286 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 287 |
|
| 288 |
with gr.Tab("Disclaimer",elem_classes = "max-height other-tabs"):
|
| 289 |
with gr.Row():
|
|
@@ -297,7 +334,7 @@ with gr.Blocks(title="Audit Q&A", css= "style.css", theme=theme,elem_id = "main-
|
|
| 297 |
- Any personal or sensitive information shared with the chatbot is at the user's own risk, and we cannot guarantee complete privacy or confidentiality.
|
| 298 |
- the chatbot is not deterministic, so there might be change in answer to same question when asked by different users or multiple times.
|
| 299 |
- By using this chatbot, you agree to these terms and acknowledge that you are solely responsible for any reliance on or actions taken based on its responses.
|
| 300 |
-
- This is just a prototype and being tested and worked upon, so its not perfect and may sometimes give irrelevant answers
|
| 301 |
""")
|
| 302 |
|
| 303 |
def start_chat(query,history):
|
|
|
|
| 283 |
with gr.Tab("About",elem_classes = "max-height other-tabs"):
|
| 284 |
with gr.Row():
|
| 285 |
with gr.Column(scale=1):
|
| 286 |
+
gr.Markdown("""The <ins>[**Office of the Auditor General (OAG)**](https://www.oag.go.ug/welcome)</ins> in Uganda, \
|
| 287 |
+
consistent with the mandate of Supreme Audit Institutions (SAIs),\
|
| 288 |
+
remains integral in ensuring transparency and fiscal responsibility.\
|
| 289 |
+
Regularly, the OAG submits comprehensive audit reports to Parliament, \
|
| 290 |
+
which serve as instrumental references for both policymakers and the public, \
|
| 291 |
+
facilitating informed decisions regarding public expenditure.
|
| 292 |
+
|
| 293 |
+
However, the prevalent underutilization of these audit reports, \
|
| 294 |
+
leading to numerous unimplemented recommendations, has posed significant challenges\
|
| 295 |
+
to the effectiveness and impact of the OAG's operations. The audit reports made available \
|
| 296 |
+
to the public have not been effectively used by them and other relevant stakeholders. \
|
| 297 |
+
The current format of the audit reports is considered a challenge to the \
|
| 298 |
+
stakeholders' accessibility and usability. This in one way constrains transparency \
|
| 299 |
+
and accountability in the utilization of public funds and effective service delivery.
|
| 300 |
+
|
| 301 |
+
In the face of this, modern advancements in Artificial Intelligence (AI),\
|
| 302 |
+
particularly Retrieval Augmented Generation (RAG) technology, \
|
| 303 |
+
emerge as a promising solution. By harnessing the capabilities of such AI tools, \
|
| 304 |
+
there is an opportunity not only to improve the accessibility and understanding \
|
| 305 |
+
of these audit reports but also to ensure that their insights are effectively \
|
| 306 |
+
translated into actionable outcomes, thereby reinforcing public transparency \
|
| 307 |
+
and service delivery in Uganda.
|
| 308 |
+
To address these issues, the OAG has initiated several projects, \
|
| 309 |
+
such as the Audit Recommendation Tracking (ART) System and the Citizens Feedback Platform (CFP). \
|
| 310 |
+
These systems are designed to increase the transparency and relevance of audit activities. \
|
| 311 |
+
However, despite these efforts, engagement and awareness of the audit findings remain low, \
|
| 312 |
+
and the complexity of the information often hinders effective public utilization. Recognizing the need for further\
|
| 313 |
+
enhancement in how audit reports are processed and understood, \
|
| 314 |
+
the **Civil Society and Budget Advocacy Group (CSBAG)** in partnership with the **GIZ**, \
|
| 315 |
+
has recognizing the need for further enhancement in how audit reports are processed and understood.
|
| 316 |
+
This prototype tool leveraging AI (Artificial Intelligence) aims at offering critical capabilities such as '
|
| 317 |
+
summarizing complex texts, extracting thematic insights, and enabling interactive, \
|
| 318 |
+
user-friendly analysis through a chatbot interface. By making the audit reports more accessible,\
|
| 319 |
+
this aims to increase readership and utilization among stakeholders, \
|
| 320 |
+
which can lead to better accountability and improve service delivery
|
| 321 |
+
|
| 322 |
+
""")
|
| 323 |
+
|
| 324 |
|
| 325 |
with gr.Tab("Disclaimer",elem_classes = "max-height other-tabs"):
|
| 326 |
with gr.Row():
|
|
|
|
| 334 |
- Any personal or sensitive information shared with the chatbot is at the user's own risk, and we cannot guarantee complete privacy or confidentiality.
|
| 335 |
- the chatbot is not deterministic, so there might be change in answer to same question when asked by different users or multiple times.
|
| 336 |
- By using this chatbot, you agree to these terms and acknowledge that you are solely responsible for any reliance on or actions taken based on its responses.
|
| 337 |
+
- **This is just a prototype and being tested and worked upon, so its not perfect and may sometimes give irrelevant answers**. If you are not satisfied with the answer, please ask a more specific question or report your feedback to help us improve the system.
|
| 338 |
""")
|
| 339 |
|
| 340 |
def start_chat(query,history):
|