# Nigeria-Government-Feedback-Portal
An AI-powered citizen driven engagement platform for collecting and analyzing feedback, showcasing government updates, and interacting with an AI chatbot built with **Streamlit** and enhanced by **Natural Language Processing (NLP)** and **large language models (LLMs)**.
---
## 🔧 Features
- 🤖 Chatbot with locally running **LLaMA** model (`llama-cpp`)
- 📊 Real-time sentiment analysis and downloadable feedback dataset
- 📝 Anonymous feedback submission (no login required)
- 🔐 Admin dashboard with password-protected access
- 📢 Section for highlighting key government updates (e.g., 3MTT program)
## 🧠 AI Integration
This platform uses **AI in two powerful ways**:
- 🤖 **Local Chatbot (LLaMA-powered)**: A chatbot built using a lightweight **LLaMA model** via `llama-cpp`, capable of answering questions related to government services, policies, or general inquiries **without internet or cloud dependency**.
- 📈 **Sentiment Analysis (TextBlob)**: Every user feedback is analyzed using **NLP sentiment classification**, categorizing submissions into **Positive**, **Negative**, or **Neutral** responses in real-time. This helps stakeholders assess public mood and act on urgent concerns.