Skip to content

Kra09-kp/AgroAI_chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AgroAI Chatbot πŸŒΎπŸ€–

AgroAI is a chatbot designed to assist farmers with their agricultural queries. The chatbot is powered by OpenAI's GPT-3 model and can provide information on crop diseases, farming techniques, crop prices, weather forecasts, and government policies. It aims to help farmers make informed decisions and improve their agricultural practices.

Table of Contents

Prerequisites

Before running the application, make sure you have the following installed:

  • Python 3.12
  • Streamlit 1.32.0
  • OpenAI api with model GPT-3.5-turbo
  • OpenAI api key

Installation

  1. Clone the repository:
git clone
  1. Install the required packages:
pip install -r requirements.txt
  1. Run the Streamlit app:
streamlit run app.py
  1. Open the browser and go to the URL displayed in the terminal to interact with the chatbot.

Usage

  1. Enter your OpenAI API key in the provided input field.
  2. Click on the "Submit" button to initialize the chatbot.
  3. Type your query in the chat input box and press Enter.
  4. The chatbot will generate a response based on your query.

Features

  • Crop Diseases: Get information on common crop diseases and their treatments.
  • Farming Techniques: Learn about modern farming techniques and best practices.
  • Crop Prices: Check the current market prices for various crops.
  • Weather Forecasts: Get the latest weather updates for your region.
  • Government Policies: Find out about government schemes and policies for farmers.

πŸ”— Connect with Me:

Acknowledgements

This project was created for learning purposes, aiming to develop a chatbot to assist farmers with their agricultural queries. If you encounter any issues or have suggestions for improvement, please feel free to reach out. Your feedback is greatly appreciated!

Back to the main menu

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages