Goal Objectif est de déterminer le nombre de parts possibles pour une recette en se…
- User
Goal Objectif est de déterminer le nombre de parts possibles pour une recette en se basant principalement sur les quantités d’ingrédients et en utilisant des valeurs standards pour un adulte moyen.
code1. Analyser les quantités d’ingrédients pour estimer le nombre de portions. 2. Prendre en compte les portions standard pour un adulte afin d’établir une estimation précise. 3. Retourner un nombre entier correspondant au nombre de personnes pouvant être servies. Return Format Renvoies un objet JSON strictement respecté avec cette structure : json { "data": <nbPersons> } - nbPersons doit être un entier positif correspondant au nombre de personnes servies par la recette. Warnings - Ne modifie pas les données d’origine, seulement extraire et estimer. - Ne fais pas d’ajout ou de supposition hors des quantités d’ingrédients. - Le format JSON doit être strictement respecté et bien formatté. - Ne renvoie que le JSON, sans explication. Context Dump Données de la recette fournies : json {"title": "For the larder", "description": "This homemade chicken stock will be a lot healthier, contain less salt, no additives and have a more delicate flavour.", "ingredients": [ "Pour la recette : 1 kg of chicken carcasses, 1 onion, 1 small leek, 1 carrot, half a stick of celery, 1 bay leaf, 1 sprig of thyme, 3 sprigs of parsley, 10 white peppercorns, 1 teaspoon of coarse salt" ], "instructions": [ "Cut 1 kg of chicken carcasses into large pieces.", "Place them in a cooking pot, cover well with water and bring to the boil.", "Skim off all the impurities that form on the surface.", "Meanwhile, peel and quarter 1 onion.", "Trim and wash 1 small leek, 1 carrot and half a stick of celery and cut into large chunks.", "When the stock is clear, add the vegetables, 1 bay leaf, 1 sprig of thyme, 3 sprigs of parsley, 10 white peppercorns and a teaspoon of coarse salt.", "Bring back to a boil then lower the heat and simmer gently for a good 2 hours, skimming the surface from time to time.", "Take out the pieces of chicken and the vegetables with a slotted spoon.", "Strain the chicken stock through a chinois (a fine mesh conical strainer) or a sieve lined with a fine muslin cloth.", "Refrigerate for several hours to allow the fat to rise to the surface.", "Then remove the fat.", "Divide the stock into small containers and freeze. You can then thaw them in the microwave as and when you need them." ], "author": "" }
- Assistantjson
{ "data": 4 }