/kisan-awaz-rasa-chatbot-fyp

Final Year Project of Bachelors of Science (Computer Science). A Voice-Enabled-Urdu-Chatbot build using RASA specifically designed for farmers in Pakistan, they would be able to talk to Chatbot in Urdu Language and get to know the weather forecast for next week, Machinery prices, Fertilizers and Pesticides prices in Urdu Language.

Primary LanguagePythonApache License 2.0Apache-2.0

Kisan Awaz RASA Chatbot

Kisan Awaaz -- RASA Chatbot social banner

Introduction

Introducing a revolutionary Final Year Project in the field of Computer Science - a cutting-edge, Voice-Enabled Urdu Chatbot designed specifically for farmers in Pakistan. Built using RASA, this chatbot allows farmers to easily communicate with it in their native language (Urdu) and obtain valuable information about the weather forecast for the upcoming week days, machinery prices, as well as fertilizers and pesticides prices. With this innovative technology, farmers can now access vital information conveniently and efficiently, ultimately leading to increased productivity and success in their agricultural endeavors.

Services

This Chatbot can provide services in the following four catergories:

Weather Forecast

In weather forecast, it can provide the weather conditions in the following categories:

  • Morning Temperature
  • Evening Temperature
  • Night Temperature
  • Minimum Terperature
  • Maximum Temperature
  • Humidity in the air
  • Air Pressure
  • Wind Speed
  • Ultra Violet(UV) rays index
  • Whether it is raining or not
  • Whether it is snowing or not
  • Whether the sky is cloudy or not
  • Wheather there is smoke/smog/fog in the atmosphere
  • Weather there will be dust/ash storm etc in the atmosphere
  • General weather condition combined with max and min temperature

It is capable of telling the weather forecast for current day and for the next 7 days. Here's the List of 400+ Cities and Towns for which it is providing coverage.

Fertilizer Prices

Currently, it is providing the pricing information about These Fertilizers.

Pesticides Prices

Currently, it is providing the pricing information about These Pesticides.

Machinery Prices

Currently, it is providing the pricing information about These Farming Machineries.

Here're a few glimps of the conversation with the chatbot:

User asking about Smoke and Rain User asking Humidity User asking about Weather
User asking about Smoke and Rain User asking Humidity User asking about Weather

User asking about Machinery Price User asking about Fertilizer Price User asking Pesticide Price
User asking about Machinery Price User asking about Fertilizer Price User asking Pesticide Price

Installation and Running

  • Download and move inside the directory of repository
git clone https://github.com/DaudAhmad0303/kisan-awaz-rasa-chatbot-fyp.git
cd kisan-awaz-rasa-chatbot-fyp
  • All the requirments are given in the file requirements.txt. Install using pip:
pip install -r requirements.txt
  • Connect your environment variables for REMOTE_DB_URL and OPEN_WEATHER_MAP_API.
  • Run the python file openweathermap/APIToMongoDB.py to fetch data from API and save it in Database.
  • Now, train your RASA model and run the NLU server and action server for RASA:
rasa train --force
rasa run -m models --enable-api --cors "*" --auth-token None
rasa run actions --debug
  • If training has been done successfully, RASA server will be running at localhost:5005. Now, open this file inside webview webView/index.html in the browser and start conversation in URDU.

Author

You can get in touch with me on my LinkedIn Profile:

Daud Ahmad

LinkedIn Link

You can also follow my GitHub Profile to stay updated about my latest projects: GitHub Follow

If you liked the repo then kindly support it by giving it a star ⭐!