ππ€ VaryGo AI β Interactive Rwanda Tourism Chatbot A smart, responsive chatbot built with React + Tailwind CSS and Flask + Python AI, trained to guide users through Rwandaβs attractions, wildlife, culture, and travel tips β ask questions and explore instantly! π¦ποΈπ¬
# π VaryGo AI β Rwanda Tourism Chatbot π€β¨
> π§ **AI-powered chatbot built with React (frontend) + Flask (backend) + Python NLP**, designed to help users explore the tourism and cultural attractions of Rwanda π·πΌ.
> Open-source, free to use, and ready for your next adventure. πΏπ¦ποΈ
---
## πΌ Project Banner
---
## π§ Table of Contents
- β¨ Features
- π Project Structure
- β‘ Installation
- Frontend (React)
- Backend (Flask + Python)
- π€ Training the AI
- π§ͺ Running the Project
- π API Endpoint
- π€ Contributing
- π License
---
## β¨ Features
- π¬ **Real-time text chat** powered by AI trained on Rwanda tourism Q&A
- π Covers gorilla trekking, national parks, culture, accommodations & travel tips
- π₯ Modern UI with **React + TailwindCSS**
- β‘ Fast & lightweight Flask backend using Python + NLP (NLTK + scikit-learn)
- π‘ Simple REST API between frontend & backend
- π§ Extensible β you can train the AI with your own dataset
---
## π Project Structure
tour-with-vary/
βββ client/ β React frontend
β βββ public/
β βββ src/
β βββ package.json
β βββ vite.config.js
β
βββ server/ β Flask backend + Python AI
β βββ app.py
β βββ requirements.txt
β βββ models/
β βββ routes/
β βββ db/
β βββ venv/
β
βββ .gitignore
βββ README.md
βββ package.json (optional for monorepo)
---
## β‘ Installation
### Frontend (React)
```bash
cd client
npm install
npm run dev
Backend (Flask + Python)
cd server
python3 -m venv venv
source venv/bin/activate # On Linux / macOS
pip install -r requirements.txt
π€ Training the AI
Prepare your tourism Q&A data in JSON or CSV format inside server/models/data/.
Run the training script to generate the model:
python ai/train.py
The trained model will be saved and used for chatbot responses.
π§ͺ Running the Project
π In one terminal, run the backend:
cd server
source venv/bin/activate
flask run
π In another terminal, run the frontend:
cd client
npm run dev
Visit:
localhost (or similar port) to chat with VaryGo AI π¦π¬
π API Endpoint
POST htt β¦