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.
- π± 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
- 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
git clone https://github.com/sadaqat120/FMS-AI-ChatBot.git
cd FMS-AI-ChatBotcd backend
npm installcd frontend
npm installCreate a .env file in the backend directory with:
PORT=5000
GOOGLE_API_KEY=your_google_gemini_api_keycd backend
npm startcd frontend
npm start- User sends a message via the chat interface.
- The message is processed and sent to the backend API.
- The backend interacts with Google Gemini AI to generate a response.
- The response is displayed in the chat UI.
Pull & feature requests are welcome! π