gpt-4o-mini-2024-07-18· OpenAI
WildChat-4.8M (AI2)
Goal Objectif est d'extraire et structurer les informations d'une recette de cuisine…
- User
Goal Objectif est d'extraire et structurer les informations d'une recette de cuisine sous forme d'un objet JSON sans jamais modifier le texte d'origine.
1. Identification et extraction des informations demandées. 2. Calcul des temps de préparation et de cuisson si non précisés. 3. Structuration des données dans un objet JSON conforme au format attendu. 4. Respect strict de la langue d'origine et du texte des instructions. 5. Aucune information ajoutée ou modifiée en dehors de l’organisation des données. Return Format Renvoies un objet JSON strictement respecté avec cette structure : json { "NbPersons": <nbPersons>, "Language": <language>, "Category": <category>, "Title": <title>, "Subtitle": <subtitle>, "Preparation_Time": <preparation_time>, "Cooking_Time": <cooking_time>, "Difficulty": <difficulty>, "Ingredients": [ { "section": <section>, "ingredients": [<ingredients>] } ], "Description": <description>, "Instructions": [<instructions>], "AuthorName": <author>, "Notes_Ingredients": <notes_ingredients>, "Notes_Instructions": <notes_instructions> } - nbPersons doit être le nombre de personne pour laquelle la recette est défini. - language doit être le code ISO 639 de la langue de la recette - category doit être "drinks" si c'est du liquide parmis cette liste (thé, café, jus de fruit, cocktail). Sinon choisis la meilleure option parmis (bread, appetizer, starter, main, dessert, breakfast, snack, teatime, jam, sauce) - title doit être le nom de la recette - subtitle doit être un complément du nom de la recette. - preparation_time doit être le temps de préparation total (en minutes) si pas d'information essaie de calculer en fonction des informations fournies - cooking_time doit être le Temps de cuisson total (en minutes) si pas d'information essaie de calculer en fonction des informations fournies - difficulty doit être une difficulté parmis (easy, medium, hard) - ingredients doit être une liste des ingrédients avec les quantités par section. Exemple: {section: "Pour la sauce", ingredients: ["1 kg de beurre"]}. Si absence d'information pour la section, tu mettras "Pour la recette". - instruction doit être les instructions qui sont présent dans les explications. Précises bien en détails ce qui est écris pour les instructions. Fais attention à respecter l'ordre des instructions. C'est une liste de string. - description doit être une présentation qui donne envie de faire la recette. - notes_ingredients doit être les détails importants qui sont précisé concernant les ingrédients (ingrédient facultatif, remplacement d'un ingrédient par un autre ingrédient...) - notes_instructions doit être les détails important qui sont précisé concernant les étapes pour faire la recette (actuces, conseils...) Warnings - Ne modifie aucun texte d'origine (titre, description, ingrédients, instructions). - Ne traduis pas la langue de la recette, elle doit être identifiée et conservée. - Les instructions doivent être strictement identiques à l'original, sans reformulation. - Si une information est absente, laisse le champ vide, sans ajout d’invention. - Les quantités d’ingrédients doivent rester sous forme de liste de chaînes de caractères. - Respecte le format JSON exact et assure-toi qu’il soit bien formatté. Context Dump Texte source fourni : { "explication": "Poultry\nPreparation 2 h\nCooking 50 mins\nCorn-fed chicken\nand durum semolina\nwith citrus\nAD- The free-range chicken\nof the Landes has long held the\nFrench Red Label for its guaranteed\nquality. It is fed with corn from\nthe Landes region, which is what\ngives its flesh its yellow colour.\nPN To balance the meal, serve\na vegetable starter or a big salad\nof lamb's lettuce with cheese.\nFinish your meal with some fruit.\n298 ... Land\nServes 6\nPrepare the citrus zest\nPare 5 zests from 4 oranges, 1 lemon, 1 lime and 1 grapefruit,\nall unwaxed. Cut them into slivers (4 mm). Put these in a saucepan,\ncover with cold water and bring to a boil. Drain, refresh with cold\nwater and repeat twice. Then cook gently for 2 hours with\n35 g of caster sugar, the juice of 2 oranges, the lime and half of\nthe grapefruit.\nPrepare the citrus fruit and vegetables\nPeel and remove the inner membranes of the lemon, the other\n2 oranges and the other half grapefruit, and separate into\nsegments. Cut the bulbs of a bunch of salad onions with stalks in\ntwo and cut the stalks into 1 cm pieces (set aside). Cut 1 fennel\nbulb into small cubes.\nCook the chicken\nPreheat the oven to 180 °C (gas mark 4). Chop a pinch of coriander\nseeds and 2 cardamom seeds. Cut 1 large Landes or other corn-fed\nfree-range chicken into pieces and salt. Brown in a flameproof\ncasserole dish with 2 tablespoons of olive oil. Take them out. In\ntheir place, sweat the salad onions and fennel bulb for 3 minutes.\nAdd the citrus segments, 2 pinches of coarse ground black\nmignonette pepper, the coriander, cardamom and chicken pieces.\nDeglaze with half a glass of water (100 ml), cover the casserole\ndish with a lid and put in the oven.\nTake out the breast pieces after 16 minutes and cook the legs for a\nfurther 20 minutes. Take out the cardamom, chicken legs and onions.\nCrush what is left in the pot with a fork. Add half of the citrus\nzests and the onion greens. Check the seasoning, put back the\nchicken pieces and onions and stir. Keep the casserole dish hot.\nPrepare the semolina and finish the dish\nTip 300 g of durum semolina into a bowl, add the rest of the cooked\nzests, some salt, a pinch of Piment d'Espelette and 5 tablespoons\nof olive oil. Mix with your hands.\n... Bring 450 ml of water to a boil and pour it over the semolina.\nCover the bowl with cling film and leave to swell for 10 minutes.\nChop the leaves from a small bunch of basil.\nFluff the semolina with a fork and add the basil. Serve the chicken\nin its casserole dish with the semolina in a separate dish." - Assistant