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": "Homemade\nMakes 1 pogne (for 6)\nPreparation time: 30 min\nResting time: 12h+2h+2h\nCooking time: 25 min\nThe poolish\n120 g/4 oz plain (all-purpose) flour.\n120 ml/34 fl oz cold water\n4 g/½ oz fresh yeast\nThe pogne dough\n8 g/4 oz fresh yeast\n400 g/14 oz plain (all-purpose) flour\n80 g/3 oz caster (superfine) sugar\n10 g/½ oz fine salt\n2 eggs, beaten\n35 ml/1½ fl oz milk\n100 g/3½ oz cold butter\nzest of 1 lemon\n30 ml/1 fl oz orange flower water\nFinishing off\nI beaten egg for glazing\ngranulated sugar (optional)\nEquipment\nelectric mixer\nPogne de Romans\nAnother childhood favourite that's very dear to me, this brioche flavoured\nwith orange flower water hails from the Drôme region of France. In the\ntown of Romans-sur-Isère, where it originated, every family has their own\nversion, but the recipe is always a closely guarded secret! Poolish is a pre-\nferment or starter that uses yeast as a raising agent and is easy to make,\nif a bit time-consuming. This delicious brioche is best eaten very fresh.\n1 - The poolish\nThe day before baking, whisk together all the poolish ingredients. Cover with cling\nfilm and leave to ferment in the fridge for 12 hours.\n2 The pogne dough\nThe next day, put the poolish into the bowl of an electric mixer fitted with the dough\nhook. Add, in the following order and without mixing in between, the crumbled\nyeast, flour, sugar and salt. Knead for 3 minutes, then gradually add the beaten eggs,\nfollowed by the milk. Keep kneading until the mixture comes away from the sides\nof the bowl. Add the diced butter and knead until the dough comes away from\nthe sides of the bowl again. Finally, mix in the chopped lemon zest and the orange\nflower water. Cover the bowl with cling film and leave the dough to rest at room\ntemperature for 2 hours.\n3- Shaping\nTip out the dough onto a lightly floured work surface and briefly knead again, this\ntime by hand. Reshape the dough into a ball. Make a hole in the middle with your\nindex finger, then stretch the dough evenly to make a ring. Place on a lined baking\nsheet again and leave to rest and rise for 2 hours. (See step-by-step method on p. 334.)\n4- Baking and finishing off\nPreheat the oven to 180°C (350°F; gas mark 4). Brush the pogne with a little beaten\negg, then slash the top with a knife and, if you like, sprinkle with granulated sugar.\nBake for about 25 minutes, or until risen and golden brown. Remove from the oven,\nthen leave to cool for a minute before serving in generous slices.\n333" - Assistant