PENGEMBANGAN SAVORYAI: SISTEM REKOMENDASI RESEP MASAKAN BERBASIS BAHAN DAN PREFERENSI KALORI MENGGUNAKAN CONTENT-BASED FILTERING DAN OPENAI API

Ahmad Irfan Faiz, Dziky Ridhwanullah

Abstract


The high volume of leftover cooking ingredients in households often leads to food waste due to a lack of ideas or references for processing them. This research aims to develop SavoryAI, an intelligent web-based recipe recommendation system that suggests relevan Indonesian dishes based on user-inputted ingredients and calorie preferences. The system integrates Content-Based Filtering (CBF) with cosine similarity and TF-IDF weighting to match user-selected ingredients with recipes in the database. Additionally, OpenAI’s GPT-4o model is utilized to identify food ingredients from uploaded images. The system is implemented using Laravel, Livewire, and TailwindCSS, with data gathered through interviews with household actors and literature reviews. Evaluation was conducted through functional testing (black-box), validity testing, and confusion matrix analysis, using response from household users to determine ground truth. The results show a high accuracy in generating relevant recipe recommendations, with a precision of 1.00, recall of 0.83, and F1-score of 0.91. The results show a high accuracy in generating relevant recipe recommendations. The integration of AI image recognition further enhances usability by enabling automatic ingredient input. The finding highlight the system’s effectiveness in reducing food waste and supporting sustainable cooking practices through personalized recipe suggestions.

Keywords


content-based filtering; cosine similarity; recipe recommendation; food waste; OpenAI API

Full Text:

PDF

References


S. C. Lestari and A. Halimatussadiah, “Kebijakan Pengelolaan Sampah Nasional: Analisis Pendorong Food Waste di Tingkat Rumah Tangga,” J. Good Gov., vol. 18, no. 1, Jun. 2022, doi: 10.32834/gg.v18i1.457.

Sabina Sabina, Maswadi Maswadi, and Wanti Fitrianti, “Perilaku Pemborosan Pangan (Food Waste) oleh Rumah Tangga Petani di Kecamatan Teriak Kabupaten Bengkayang,” Bot. Publ. Ilmu Tanam. dan Agribisnis, vol. 2, no. 3, pp. 62–70, Jul. 2025, doi: 10.62951/botani.v2i3.409.

Crismastiana Koloman, Raihan Maulana, Raisya Dwi Zahra Putri, and Wahyu Abadi Harahap, “Sistem Rekomendasi Pekerjaan di bidang IT Menggunakan Algoritma Content-Based Filtering,” J. Creat. Student Res., vol. 1, no. 6, pp. 78–88, Dec. 2023, doi: 10.55606/jcsrpolitama.v1i6.2992.

N. N. K. Sari, R. Priskila, and P. B. A. A. Putra, “Implementasi Content-Based Filtering Menggunakan Tf-Idf and Cosine Similarity,” J. Teknol. Inf., vol. 18, no. 1, pp. 43–51, 2024.

S. Chhipa, V. Berwal, T. Hirapure, and S. Banerjee, “Recipe Recommendation System Using TF-IDF,” ITM Web Conf., vol. 44, p. 02006, May 2022, doi: 10.1051/itmconf/20224402006.

B. Ellison, J. L. Lusk, and D. Davis, “Looking at the label and beyond: the effects of calorie labels, health consciousness, and demographics on caloric intake in restaurants,” Int. J. Behav. Nutr. Phys. Act., vol. 10, no. 1, p. 21, 2013, doi: 10.1186/1479-5868-10-21.

R. Aulia, S. Achmady, Z. Razi, T. Informatika, and U. J. Ghafur, “Pengembangan Web Pencarian Resep Masakan Dengan Fitur Rekomendasi Berbasis Algoritma Machine Learning,” J. Literasi Inf., vol. 3, 2024.

E. Salim, J. Pragantha, and D. L. Manatap, “Perancangan Sistem Rekomendasi Film menggunakan metode Content-based Filtering,” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 5, no. 6, pp. 2188–2199, 2021, [Online]. Available: https://lintar.untar.ac.id/repository/penelitian/buktipenelitian_10390001_7A281222103549.pdf

V. Kurnia Sari, D. Hartanti, and E. Purwanto, “Sistem Rekomendasi Resep Masakan Menggunakan Metode Content Based Filtering Berdasarkan Preferensi Pengguna,” Infotek J. Inform. dan Teknol., vol. 8, no. 2, pp. 345–355, 2025, doi: 10.29408/jit.v8i2.30625.

R. Priskila, N. Noor Kamala Sari, and P. B. A. A. Putra, “Implementasi Content-Based Filtering menggunakan TF-IDF and Cosine Similarity untuk Sistem Rekomendasi Resep Masakan,” J. Teknol. Inf., vol. 18, no. 1, 2024, doi: 10.47111/jti.v18i1.12543.

M. Chiny, M. Chihab, O. Bencharef, and Y. Chihab, “Netflix Recommendation System based on TF-IDF and Cosine Similarity Algorithms,” in Proceedings of the 2nd International Conference on Big Data, Modelling and Machine Learning, SCITEPRESS - Science and Technology Publications, 2021, pp. 15–20. doi: 10.5220/0010727500003101.

A. Apriani, H. Zakiyudin, and K. Marzuki, “Penerapan Algoritma Cosine Similarity dan Pembobotan TF-IDF pada Sistem Penerimaan Mahasiswa Baru di Kampus Swasta,” J. Bumigora Inf. Technol., vol. 3, no. 1, pp. 19–27, 2021, doi: 10.30812/bite.v3i1.1110.

I. Widaningrum, D. Mustikasari, R. Arifin, S. L. Tsaqila, and D. Fatmawati, “Algoritma Term Frequency{-}Inverse Document Frequency (TF-IDF) dan K-Means Clustering Untuk Menentukan Kategori Dokumen,” in Prosiding Seminar Nasional Sistem Informasi dan Teknologi, 2022, pp. 145–149.

Q. M. Sholikhah and Asmunin, “Sistem Rekomendasi Resep Makanan Dengan Metode Collaborative Filtering Dan FP-Growth Menggunakan API themealdb.com,” J. Inform. dan Ilmu Komput., vol. 2, no. 2, pp. 86–93, 2020.




DOI: http://dx.doi.org/10.30646/tikomsin.v13i2.1023

Refbacks

  • There are currently no refbacks.



Editorial Office :
TIKomSiN : Jurnal Teknologi Informasi dan Komunikasi Sinar Nusantara
Published by STMIK Sinar Nusantara Surakarta
Address KH Samanhudi 84 - 86 Street, Laweyan Surakarta, Central Java, Indonesia
Postal Code: 57142, Phone & Fax: +62 271 716 500
Website: https://p3m.sinus.ac.id/jurnal/index.php/TIKomSiN
Email: tikomsin @ sinus.ac.id

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Stats of tikomsin