AgriBot is a smart app that helps Algerian or other farmers diagnose crop issues via text or map, with localized advice for dates, tomatoes, etc. A simple tool for healthier harvests. 🌱
# 🥦🌾 AgriBot — AI Assistant for Plants
AgriBot is a smart assistant that helps diagnose plant problems and recommend solutions using natural language processing (LLM). It also includes an interactive map of plant health across Algeria.
> ⚠️ **Note**: This app requires **Ollama** and the **LLaMA3** model installed **locally**. It does **not** work with OpenAI API or cloud-hosted models. Please follow the setup instructions carefully.
---
## 🌱 Features
- 🩺 **Symptom-based Diagnosis**: Describe your plant problem, and AgriBot gives an AI-powered diagnosis and solution.
- 🗺️ **Interactive Map**: Visualize plant conditions across different regions in Algeria and find the best location to grow your crops.
---
## 📁 Installation
### 1. Clone the repository
```bash
git clone
github.com
cd AgriBot
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
curl -fsSL
ollama.com | sh #On Linux (example) /*OR*/ search to download in WINDOWS or MAC
ollama run llama3 #ollama run llama3
streamlit run app.py #Run the AgriBot
## FILE STRUCTURE
agribot/
│
├── app.py # Streamlit app interface
├── llm_handler.py # LLM diagnostic logic with local cache
├── plantes_algerie.csv # Plant location and metadata
├── requirements.txt # Python dependencies
└── README.md # This file
# AgriBot