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.
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
- Clone the repository:
git clone- Install the required packages:
pip install -r requirements.txt- Run the Streamlit app:
streamlit run app.py- Open the browser and go to the URL displayed in the terminal to interact with the chatbot.
- Enter your OpenAI API key in the provided input field.
- Click on the "Submit" button to initialize the chatbot.
- Type your query in the chat input box and press Enter.
- The chatbot will generate a response based on your query.
- 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.
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!