Woutervdvelde / E-Cook_v2

Digital cookbook extracting recipes from media
2 stars 0 forks source link

Error on response #25

Open Woutervdvelde opened 1 month ago

Woutervdvelde commented 1 month ago

Using the generative AI sometimes it doesn't return the correct response, missing values defined in the scheme. The other time it seems right but it doesn't want to parse. Take more time to investigate the issues and build a better error logger?

Comments on this post can be from different findings

Woutervdvelde commented 1 month ago

Response seems good, yet the ingredients haven't been added the the recipe.

"{\"description\": \"Delicious Biscoff Cinnamon Rolls made with a biscoff brioche dough, filled with a creamy biscoff spread, and topped with crushed Biscoff biscuits for an irresistible treat.\", \"ingredients\": [{\"name\": \"all purpose flour\", \"quantity\": 550, \"unit\": \"GRAM\"}, {\"name\": \"lukewarm whole milk\", \"quantity\": 200, \"unit\": \"MILLILITER\"}, {\"name\": \"eggs\", \"quantity\": 2, \"unit\": \"UNIT\"}, {\"name\": \"butter (room temp)\", \"quantity\": 100, \"unit\": \"GRAM\"}, {\"name\": \"biscoff spread\", \"quantity\": 2, \"unit\": \"TABLESPOON\"}, {\"name\": \"fresh yeast\", \"quantity\": 30, \"unit\": \"GRAM\"}, {\"name\": \"instant yeast\", \"quantity\": 8, \"unit\": \"GRAM\"}, {\"name\": \"sugar\", \"quantity\": 50, \"unit\": \"GRAM\"}, {\"name\": \"salt\", \"quantity\": 3, \"unit\": \"GRAM\"}, {\"name\": \"biscoff spread\", \"quantity\": 0.5, \"unit\": \"JAR\"}, {\"name\": \"cream cheese\", \"quantity\": 200, \"unit\": \"GRAM\"}, {\"name\": \"biscoff spread\", \"quantity\": 0.33, \"unit\": \"JAR\"}, {\"name\": \"crushed biscoff biscuits\", \"quantity\": 10, \"unit\": \"UNIT\"}, {\"name\": \"whole biscoff biscuits\", \"quantity\": 12, \"unit\": \"UNIT\"}], \"name\": \"Biscoff Cinnamon Rolls\", \"steps\": [\"In a bowl, dissolve the yeast in lukewarm milk.\", \"Add the eggs and sugar to the milk and yeast mixture, stir well. Then, add the flour and mix.\", \"Using a kitchen machine with a dough hook attachment, knead the dough on medium speed for 3-4 minutes. Add the softened butter, 2 tablespoons of Biscoff spread, and salt. Increase the speed to high and continue kneading for 8-10 minutes, or until the dough pulls away from the sides of the bowl.\", \"Place the dough in a warm place and allow it to rise for 1 hour.\", \"After the dough has risen, lightly dust your work surface with flour. Roll out the dough into a rectangle approximately 30x40 centimeters.\", \"Spread the remaining Biscoff spread evenly over the rolled-out dough.\", \"Carefully roll the dough into a log shape.\", \"Cut the log into 12 even rolls using a piece of thread or a sharp knife.\", \"Arrange the rolls in a baking tray lined with parchment paper.\", \"Cover the tray with plastic wrap or a clean kitchen towel and let the rolls rise for an additional 45 minutes.\", \"Preheat your oven to 200°C (fan assisted). Bake the rolls for 20-25 minutes. To prevent excessive browning, cover the rolls with aluminum foil for the first 15 minutes of baking.\", \"Remove the rolls from the oven and allow them to cool completely.\", \"To prepare the Biscoff cream, combine the cream cheese and Biscoff spread in a bowl and mix well.\", \"Once the rolls have cooled, spread the Biscoff cream evenly over them.\", \"Sprinkle crushed Biscoff biscuits generously over the cream for added texture and flavor.\", \"Finally, top each roll with a whole Biscoff biscuit for decoration.\" ], \"tags\": [\"Dessert\", \"Sweet\", \"Snacks\"]} "