an AI strictly about kenyan laws with its penal code
# Kenya Law Chatbot
## Interactive Legal Assistance Powered by AI
Kenya Law Chatbot is an AI-powered legal chatbot designed to provide accessible, instant legal information and guidance on Kenyan law. This project bridges the knowledge gap between legal systems and citizens by offering a user-friendly interface to ask questions about Kenyan law, legal procedures, and rights.
## π Features
### For Users
- **AI-Powered Legal Assistant**: Get instant answers to questions about Kenyan law
- **User Accounts**: Create a personal account for a customized experience
- **Intuitive Interface**: Clean, responsive design that works on all devices
- **Feedback System**: Rate and comment on your experience to help improve the service
### For Administrators
- **User Management**: View and manage user accounts through an admin panel
- **Feedback Dashboard**: Analyze user feedback with detailed statistics
- **Data Visualization**: Track satisfaction ratings and identify improvement areas
## π Tech Stack
- **Frontend**: HTML, CSS, JavaScript
- **User Authentication**: Custom implementation with localStorage
- **Chatbot Technology**: Microsoft Power Virtual Agents
- **Data Storage**: Client-side storage
- **Deployment**: Netlify
## π Quick Start
### Live Demo
Visit the live application: Kenya Law Advisor
### Running Locally
1. Clone this repository
2. Open the project directory
3. Open `index.html` in your browser or use a local server
## ποΈ Project Structure
```
kenya-law-ai/
βββ css/
β βββ main.css
β βββ responsive.css
βββ js/
β βββ auth.js
β βββ chatbot.js
β βββ feedback.js
βββ images/
βββ index.html
βββ dashboard.html
βββ README.md
```
## π§ How It Works
### User Authentication:
- Users can create accounts and log in
- Authentication state is preserved using localStorage
### Chatbot Interaction:
- Users ask legal questions through a natural language interface
- The AI processes the queries and returns relevant information about Kenyan law
- Information is pre β¦