Evidence Hub

#1880 Novel ai-based recipe recommendation system for dialysis patients using retrieval-augmented generation

Sheng-Han Yueh, Karin Bergling, L. Usvyat, P. Kotanko, Han-Jie Zhang

Nephrology, Dialysis and Transplantation, 2025

Abstract

Background and Aims Dietary planning for dialysis patients often relies on time-consuming manual processes. We explore the use of Retrieval-Augmented Generation (RAG) combined with models from OpenAI to enhance recipe recommendations. RAG is an efficient approach to enhance background knowledge of a base language model without retraining, thereby saving time and cost. By integrating a curated database of kidney-friendly recipes into a RAG pipeline, the system retrieves relevant recipes and provides personalized recommendations tailored to user queries. This approach harnesses RAG and OpenAI’s generative AI capabilities to deliver accurate, scalable, and user-friendly dietary management tools. Method We collected 322 kidney-friendly recipes sourced from the website of a large dialysis organization (https://www.freseniuskidneycare.com/recipes-and-nutrition/recipes). Each recipe was formatted into a structured text representation, including fields such as recipe name, description, ingredients, directions, nutrition information, serving size, time for preparation, and reference URL. These structured texts were embedded using a pre-trained model from OpenAI and stored in a vector database (Fig 1). For each query, the Facebook AI Similarity Search (FAISS) method retrieves the 10 most relevant recipes by identifying those with the smallest Euclidean distance to the query vector. These retrieved recipes are then incorporated into the prompt, enabling the response generation to be…

Read the paper

Related studies

Go deeper in Evidence Hub

Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.

Open this study Sign up free