n AI-powered greenhouse farming assistant for Tunisian farmers, supporting Tunisian Derja dialect and French with RAG (Retrieval-Augmented Generation) capabilities powered by OpenAI GPT.
# 🌾 GREENY - Smart Agriculture AI Chatbot
> An AI-powered greenhouse farming assistant for Tunisian farmers, supporting Tunisian Derja dialect and French with RAG (Retrieval-Augmented Generation) capabilities powered by OpenAI GPT.
## ⚠️ Source Code Availability
> **Note:** The source code for this project is **not publicly available**. It is protected under a Non-Disclosure Agreement (NDA) with the client and cannot be shared without their explicit consent. This repository serves as a public showcase of the project's features and documentation only.
## 🎯 Overview
GREENY is a web-based intelligent chatbot designed specifically for **greenhouse farmers in Tunisia**. It provides expert agricultural advice in their native language (Tunisian Derja) and French, with personalized responses based on their greenhouse profile and uploaded documents.
### Key Highlights
- 🗣️ **Native Language Support**: Tunisian Derja (دارجة تونسية) + French + English
- 📚 **RAG-Powered**: Retrieves answers from user documents + global knowledge base
- 👥 **Personalized**: Adapts advice to greenhouse type, crops, region, and experience
- 📎 **Cited Responses**: Every answer includes source citations
- 📄 **Document Support**: Upload PDFs, Word documents, and text files
- 💬 **Chat History**: Track all conversations
- 🔒 **User Authentication**: Secure login and data management
## 🚀 Quick Start
### Prerequisites
- **Node.js** 18+ and npm
- **Python** 3.10+
- **PostgreSQL** 14+ (optional - can use Firebase)
- **API Keys**: OpenAI, Pinecone (free tier)
### Installation (5 minutes)
#### 1. Clone the Repository
```bash
git clone
github.com
cd GREENY
```
#### 2. Setup Environment
```bash
# Copy environment template and fill in your API keys
cp .env.example .env
# Edit .env with your credentials
```
#### 3. Start Backend (Terminal 1)
```bash
cd backend
python -m venv venv
venv\Scripts\activate # Windows
source venv/bin/activate # macOS/Linux
p …