Skip to content

🚜 Farm Management System AI ChatBot is an intelligent assistant designed to help farmers manage crops, livestock, and resources efficiently. Built with MERN stack & Google Gemini AI, it enables custom document training, real-time assistance, and dynamic knowledge retrieval.

Notifications You must be signed in to change notification settings

sadaqat120/FMS-AI-ChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌿 FMS AI ChatBot

🚜 Overview

FMS AI ChatBot is an AI-powered assistant designed for Farm Management Systems (FMS). It provides smart insights for managing crops, livestock, and resources by integrating Google Gemini AI. The chatbot is currently designed to handle user queries and process information related to farm management efficiently.

✨ Features

  • 🌱 Smart Crop & Livestock Guidance
  • πŸ“‚ Document-Based Training (Train the bot with provided files)
  • πŸ’¬ Multilingual Support (English & Urdu)
  • ⚑ Real-time AI Insights using Google Gemini API
  • πŸ” Search & Retrieve Information from stored data
  • πŸ’Ύ Chat History Storage in Frontend

πŸ— Tech Stack

  • Frontend: React.js (UI & Chat Interface)
  • Backend: Node.js & Express.js (API & AI Integration)
  • Database: None (Currently using in-memory chat storage)
  • AI Model: Google Gemini API

πŸ›  Setup & Installation

1️⃣ Clone the Repository

git clone https://github.com/sadaqat120/FMS-AI-ChatBot.git
cd FMS-AI-ChatBot

2️⃣ Install Dependencies

Backend

cd backend
npm install

Frontend

cd frontend
npm install

3️⃣ Set Up Environment Variables

Create a .env file in the backend directory with:

PORT=5000
GOOGLE_API_KEY=your_google_gemini_api_key

4️⃣ Run the Application

Backend:

cd backend
npm start

Frontend:

cd frontend
npm start

πŸ“‚ How the Chatbot works

  1. User sends a message via the chat interface.
  2. The message is processed and sent to the backend API.
  3. The backend interacts with Google Gemini AI to generate a response.
  4. The response is displayed in the chat UI.

🀝 Contributing

Pull & feature requests are welcome! πŸš€

About

🚜 Farm Management System AI ChatBot is an intelligent assistant designed to help farmers manage crops, livestock, and resources efficiently. Built with MERN stack & Google Gemini AI, it enables custom document training, real-time assistance, and dynamic knowledge retrieval.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published