Logo Lanfrica

Breat101010/SoilAnalysisChatbotProject

Domaine:

agriculture

Type de record:

software
Créateur:
Bre
Hôte:
An AI chatbot for soil analysis and farming advice in Zimbabwe. # Zimbabwe Soil Analysis Chatbot This is an AI-powered chatbot designed to provide helpful information and advice on soil analysis, crop requirements, and farming practices specific to Zimbabwe. It utilizes Google's Gemini AI model and a custom knowledge base compiled from relevant agricultural resources. ## Features * Provides information on Zimbabwean soil types and their characteristics. * Offers guidance on common crops grown in Zimbabwe and their nutrient needs. * Explains relevant agricultural practices and addresses common soil fertility issues. * Leverages Retrieval Augmented Generation (RAG) to provide context-aware responses. ## Getting Started Follow these steps to set up and run the chatbot on your local machine. ### Prerequisites Before you begin, ensure you have the following installed: * **Python 3.8+:** Download from python.org. During installation on Windows, make sure to check "Add Python to PATH". * **Git:** Download from git-scm.com. * **Google Gemini API Key:** * Go to Google AI Studio. * Sign in with your Google account. * Generate a new API key. * **Keep this key secure and do NOT share it publicly.** ### Installation and Setup 1. **Clone the Repository:** Open your Command Prompt (CMD) or Terminal and navigate to the directory where you want to save the project. Then, clone this repository: ```bash git clone github.com ``` (Replace `YourUsername` with your actual GitHub username, and `SoilChatbotProject.git` with your repo's correct URL). 2. **Navigate to the Project Directory:** ```bash cd SoilChatbotProject ``` 3. **Create a Python Virtual Environment:** It's highly recommended to use a virtual environment to manage dependencies. ```bash python -m venv venv ``` 4. **Activate the Virtual Environment:** * **Windows (Command Prompt):** ```bash .\venv\Scripts\activate ``` * **macOS/Linux (Terminal):** ```bash source venv/bin/activate ``` (You should see `(venv)` at the beginning of yo …