Logo Lanfrica

awstine/Kenya-Law-ai

Domain:

natural language processing

Record type:

software
Creator:
aws
Host:
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 …