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": "For 4\nPreparation time: 45 min\nCooking time: 35 min\nResting time: 1h30 min\nSoft-boiled egg in lemon\njelly with foie gras royale\nI really love eggs, as they work equally well in the most sophisticated\ndishes and the simplest. The foie gras royale (a crème brûlée mixture\nenriched with foie gras) is one of my signature preparations: cooking\nit very slowly intensifies the flavours and creates a texture that melds\nbeautifully with the egg. Here I finish it with a lemon jelly, which adds\na floral note and lifts the foie gras, making it taste fresher and lighter.\nThe soft-boiled eggs\nsplash of vinegar\n2 extra-fresh eggs\nThe foie gras royale\n100 g/3½ oz raw duck foie gras\n40 ml/1½ fl oz crème fraîche\n(sour cream)\n2 teaspoons milk\n2 eggs\nfine salt, freshly ground pepper\nThe lemon jelly\nzest of 1 lemon\n8 g/0.3 oz gelatine leaves\nfine salt\nFinishing off\nfleur de sel\nolive oil\nEquipment\n4 shallow dishes,\nabout 8-10 cm/3/4-4 in across\n1-The soft-boiled eggs\nPut the vinegar in a large pan of water and bring to the boil. Cook the eggs\nin the water for 6 minutes, then remove and cool in a large bowl of cold water\nfor 5 minutes. Drain again and shell.\n2-The foie gras royale\nPreheat the oven to 120°C (250°F; gas mark 4-). Dice the foie gras. Blend the\nfoie gras, crème fraîche, milk and eggs with a little salt and pepper until smooth,\nthen strain through a fine sieve and adjust the seasoning to taste. Pour into\n4 shallow bowls, then place in a large baking dish. Fill the larger dish with enough water\nto come two-thirds of the way up the sides of the bowls, then cover with baking\nparchment. Bake in the oven for about 20 minutes, or until the centre trembles just\nslightly when removed from the oven. The cooking time will depend on the depth\nof the royale in the bowl. Leave to cool, then chill in the fridge for about 20 minutes.\n3-The lemon jelly\nSimmer the lemon zest with 250 ml/9 fl oz of water in a small saucepan. Remove\nfrom the heat, cover and leave to infuse for about 10 minutes. Soak the gelatine leaves\nin cold water for 2 minutes. Add the drained and squeezed-out gelatine leaves to the\nwarm lemon water. Stir to dissolve, then season with a little salt.\n4-Finishing off\nUsing a tablespoon, gently hollow out a space big enough to hold half an egg in the\ncentre of each royale. Halve the eggs lengthways, then place a half in each hollow.\nCarefully pour the lemon jelly over the surface to completely cover the eggs and the\nroyales. The jelly should still be liquid, but will slowly turn syrupy as the gelatine\ntakes effect. Leave to cool and set for at least 1 hour. When ready to serve, garnish\nwith a little fleur de sel and a few drops of olive oil. Serve chilled.\nTip It is important to use the right sort of foie gras: you need duck foie gras that is soft to the\ntouch, even when cold, and uniformly coloured with no red spots.\nClassics\n183" - Assistant