A React-based chatbot application designed to provide assistance to Tanzanian users in Swahili across various sectors including agriculture, education, business, health, and weather information.
# Tanzania Assistant (Msaidizi wa Tanzania)
A React-based chatbot application designed to provide assistance to Tanzanian users in Swahili across various sectors including agriculture, education, business, health, and weather information.
## Features
- π± Modern, responsive user interface
- π£οΈ Full Swahili language support
- πΈ Image upload and analysis capabilities
- π― Category-based navigation
- π‘ Smart suggestions based on selected categories
- π¬ Real-time chat interface
- π¨ Clean and intuitive design using shadcn/ui components
## Categories
The assistant provides support in five main categories:
- **Kilimo (Agriculture)**: Crop disease identification, farming best practices, planting schedules, and market prices
- **Elimu (Education)**: Exam results, university registration dates, vocational training, and student loans
- **Biashara (Business)**: Business registration, licensing, loans, and market information
- **Afya (Health)**: Disease symptoms, vaccination schedules, hospital locations, and health insurance
- **Hali ya Hewa (Weather)**: Current weather, rain forecasts, and farmer advisories
## Prerequisites
Before running this application, make sure you have the following installed:
- Node.js (version 14 or higher)
- npm or yarn package manager
## Installation
1. Clone the repository:
```bash
git clone
github.com
cd msaidizi
```
2. Install dependencies:
```bash
npm install
# or
yarn install
```
3. Install required shadcn/ui components:
```bash
npx shadcn-ui@latest add card button input
```
4. Start the development server:
```bash
npm run dev
# or
yarn dev
```
## Project Structure
```
src/
βββ components/
β βββ CategorySelector.js # Category selection interface
β βββ ChatMessage.js # Individual chat message component
β βββ ChatInputForm.js # Chat input and image upload form
β βββ SuggestionsList.js # Category-based suggestions
β βββ TanzaniaAssistant.js # Main application component
β βββ β¦