Conversational AI for Cinnamon and Coffee Exports: Insights on Price and Yield

Authors

  • KGPH Samanthi Department of Computer Science, Faculty of Applied Sciences, University of Sri Jayewardenepura, Sri Lanka
  • Prof. T.G.I. Fernando Department of Computer Science, Faculty of Applied Sciences, University of Sri Jayewardenepura, Sri Lanka
  • Dr. M.K.A. Ariyaratne Department of Computer Science, Faculty of Applied Sciences, University of Sri Jayewardenepura, Sri Lanka

Keywords:

LSTM, SVM, Export Crops, Artificial Intelligence.

Abstract

This research covers the development of an AI-powered chatbot that will help develop the agricultural industry in Sri Lanka by answering queries regarding coffee and cinnamon, besides giving weekly producer’s price predictions for them. It uses an SVM classifier that selects suitable responses from a given query in Sinhala, translates into English, generates the response, and then translates back to Sinhala for presentation. It implements an LSTM model to forecast prices of export crops from 2016 to 2022. It was observed that there is a great correlation between crop prices and the start date of the week they are valid, with a Pearson coefficient of over 0.70 for both coffee and cinnamon, while others are below 0.60. The chatbot returned to an accuracy rate of 70% in the classification of queries, while poor performance was obtained for harvest prediction due to a lack of sufficient data. The successful integration of predictive models and the chatbot proves the potential of AI in improving agricultural decision-making, productivity, and efficiency. This research consists of a Sinhala language-based chatbot, providing customized advisory services and weekly price predictions, contributing to localized technological advancements in Sri Lankan agriculture.

References

D. of Agriculture. (2024, August) Department of agriculture. Accessed: 2024-08-23. [Online]. Available: https://doa.gov.lk/

N. A. Information and C. Centre. (2024, August) National agriculture information and communication centre. Accessed: 2024-08-23. [Online]. Available: https://doa.gov.lk/naicc-home/

H. Agriculture. (2024, August) Hayles agriculture. Accessed: 2024- 08-23. [Online]. Available: https://www.hayleysagriculture.com/ agvize- agriculture-advisory-sri-lanka

Dialog. (2024, August) Govi mithuru. Accessed: 2024-08-23.[Online]. Available: https://www.dialog.lk/govi mithuru/

B. Hettige and A. S. Karunananda, “First sinhala chatbot in action,” Proceedings of the 3rd Annual Sessions of Sri Lanka Association for Artificial Intelligence (SLAAI), University of Moratuwa, vol. 13, 2006.

U. Kumanayake, “A sinhala chatbot for user inquiries regarding degree programs at university of ruhuna,” Ph.D. dissertation, 2021.

H. Jayarathna and B. Hettige, “Agricom: A communication platform for agriculture sector,” IEEE 8th international Conference on industrial and information systems, pp. 439–444, 2013.

J. Ekanayake and L. Saputhanthri, “E-agro: Intelligent chat-bot. iot and artificial intelligence to enhance farming industry,” Agris on-line Papers in Economics and Informatics, vol. 12, no. 1, pp. 15–21, 2020.

M. Jain, P. Kumar, I. Bhansali, Q. V. Liao, K. Truong, and S. Patel, “Farmchat: a conversational agent to answer farmer queries,”Proceed- ings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, vol. 2, no. 4, pp. 1–22, 2018.

P. Venkata Reddy, K. Nandini Prasad, and C. Puttamadappa, “Farmer’s friend: Conversational ai bot for smart agriculture,”Journal of Positive School Psychology, vol. 6, no. 2, pp. 2541–2549, 2022.

J. Vijayalakshmi and K. Pandimeena, ‘Agriculture talkbot using AI’, Int. J. Recent Technol. Eng, vol. 8, pp. 186–190, 2019.

P. Kaviya, M. Bhavyashree, M. D. Krishnan, and M. Sugacini, “Artificial intelligence based farmer assistant chatbot,” International Journal of Research in Engineering, Science and Management, vol. 4, no. 4, p. 26–29, 2021.

N. Jain, P. Jain, P. Kayal, J. Sahit, S. Pachpande, J. Choudhari et al., “Agribot: agriculture-specific question answer system,” 2019.

L. B. Sahana, B. Anjali, S. Naik, P. M. Shreenidhi, “Farmerbot”- An Interactive And Assistive Interface For Farmers,” International Journal of Creative Research Thoughts (IJCRT), vol. 10, no. 6, pp. 2320 – 2882, 2022

M. Anitha, C. H. Satyanarayana Reddy, and C. H. Deepika, "Agriculture Helper Chatbot using deep learning," Int. Res. J. Mod. Eng. Technol. Sci., vol. 5, no. 7, pp. 1518, 2023.

A. Gamage and D. Kasthurirathna, “Agro-genius: crop prediction using machine learning,” 2019.

A. Nigam, S. Garg, A. Agrawal, and P. Agrawal, “Crop yield prediction using machine learning algorithms,” in 2019 Fifth International Conference on Image Information Processing (ICIIP), pp. 125–130, 2019.

A. Chlingaryan, S. Sukkarieh, and B. Whelan, “Machine learning approaches for crop yield prediction and nitrogen status estimation in precision agriculture: A review,” Computers and electronics in agriculture, vol. 151, pp. 61–69, 2018.

S. G. Sangeeta, “Design and implementation of crop yield prediction model in agriculture,” International Journal of Scientific & Technology Research, vol. 8, no. 1, pp. 544–549, 2020.

S. Chaithanya, A. P. Raj, N. Rajeshrahul, H. Sujatha, and D. Veena, “Rice crop yield prediction using recurrent neural networks,”International Research Journal of Engineering and Technology (IRJET), vol. 7, no. 07, 2020.

Published

02/06/2025

How to Cite

KGPH Samanthi, TGI Fernando, & MKA Ariyaratne. (2025). Conversational AI for Cinnamon and Coffee Exports: Insights on Price and Yield. International Journal of Research in Computing, 4(i), 23–32. Retrieved from http://ijrcom.org/index.php/ijrc/article/view/142

Issue

Section

Articles