From fdd17182d829ac5f420528e5c087b2b8a73f93b0 Mon Sep 17 00:00:00 2001 From: Michael Genson <71845777+michael-genson@users.noreply.github.com> Date: Sun, 10 May 2026 22:24:47 -0500 Subject: [PATCH] fix: Update OpenAI recipe parse prompt to return the same number of ingredients as given (#7604) --- .../openai/prompts/recipes/parse-recipe-ingredients.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mealie/services/openai/prompts/recipes/parse-recipe-ingredients.txt b/mealie/services/openai/prompts/recipes/parse-recipe-ingredients.txt index 7da688688..bce516be1 100644 --- a/mealie/services/openai/prompts/recipes/parse-recipe-ingredients.txt +++ b/mealie/services/openai/prompts/recipes/parse-recipe-ingredients.txt @@ -1,4 +1,4 @@ -Parse ingredient strings into components. You will receive a list of one or more ingredients. +Parse ingredient strings into components. You will receive a list of one or more ingredients. It is critical that you return the same number of ingredients as given and in the same order. When parsing: - If uncertain about quantity, unit, or food, put the entire string in the note field