Logo Lanfrica

vary-dev/varygo-ai

Domaine:

natural language processing

Type de record:

softwareproject
Créateur:
var
Hôte:
🐍🤖 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 …