Smart, context-aware recommendations: TerraFarm’s Retrieval-Augmented Generation system takes data-driven farming to the next level by generating personalized action plans and resource optimizations. Leveraging both AI models and community insights, it tailors advice to each farmer’s unique situation, offering real-time, proactive guidance that improves farming efficiency and sustainability.
-
Clone the Repository
Open your terminal and run the following command to clone this repository:$ git clone https://github.com/TerraFarm-TaniMakmur88/TerraFarm_RAG.git
-
Run the Server
Ensure that Docker Desktop is installed on your machine. Then, navigate to the project folder and run the following command to build and start the Docker containers:$ docker compose up --build
-
Access the Server
Once the server is running, you can access the TerraFarm ML service by navigating to the following URL in your browser:You should see the server up and running, confirming that the backend is ready.
The system leverages a knowledge base stored in the knowledge-based folder. This data repository includes key information related to farming best practices, weather patterns, soil conditions, and more, ensuring the AI model provides accurate, actionable insights.
We utilized NASA’s Earth observation data, focusing on weather-related challenges in farming, integrated with localized data about crops, soil health, and pests. The combination of real-time data with static knowledge allows TerraFarm to offer personalized, context-driven recommendations.
TerraFarm is a conversational AI agro-assistant designed to empower farmers with real-time insights powered by NASA data. Our solution helps farmers make informed decisions about what actions to take, when, and why, especially in unpredictable weather conditions.
Key Technologies:
- RAG (Retrieval-Augmented Generation): Provides precise, context-based recommendations.
- Gemini 3.5 Pro: Delivers cutting-edge decision-making accuracy.
- OpenAI Whisper: Converts farmers' voice inputs into text for seamless interaction.
- ElevenLabs: Generates natural, human-like responses, ensuring an intuitive and empathetic conversation experience.
- Real-time Insights: Using NASA-powered data, TerraFarm keeps farmers up-to-date with the latest weather changes and crop conditions.
- Human-Centered Design: We focus on making the assistant not only functional but also empathetic, understanding farmers' needs and concerns.
- Seamless Voice Interaction: The voice-to-text and text-to-voice integration allows farmers, even in remote areas with limited access to technology, to easily interact with the system.
- Voice Input: Farmers can ask questions or report issues by speaking directly to the assistant.
- Data Processing: The system uses OpenAI Whisper to convert the voice input to text, followed by RAG + Gemini 3.5 Pro for data retrieval and decision-making.
- Response Generation: The response is generated based on the latest insights and delivered back to the farmer in human-like speech through ElevenLabs.
Bandung Institute of Technology |
Bandung Institute of Technology |
Bandung Institute of Technology |
Bandung Institute of Technology |
Bandung Institute of Technology |
Bandung Institute of Technology |