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": "Classics\nFor 4\nPreparation time: min\nCooking time: 40 min\nResting time: 1 h\nThe cheese royale\n250 ml/9 fl oz whole milk\n80 g/3 oz grated Comté cheese\n4 eggs\nfine salt\nThe chicory emulsion\n2 large heads chicory (endive)\nsplash of olive oil\njuice of 1 lemon\n100 ml/3½½ fl oz whole milk\n100 ml/3½½ fl oz cream\n100 g/3½½ oz cooked mashed potato\nfine salt\nThe garnish\nI head of chicory (endive)\nsplash of olive oil\nsplash of lemon juice\n50 g/14 oz ham\nfine salt\nEquipment\n4 x 150 ml/5 fl oz glasses or\n'Le Parfait' jars (as in the photo)\nsiphon\ncooking thermometer (optional)\nCreamy chicory\nwith ham\nHere is a well-known family favourite, indeed a French classic, that I\nhated when I was a child! In this version, I have played with the textures,\nchanged the way the dish looks and left out the grilled cheese. The result\nis a dish that is lighter, yet just as delicious. Comté cheese royale is\nlayered with diced chicory and ham, and a chicory emulsion, for a subtle\nsweet-sour and light-as-air effect. The béchamel has gone, replaced by\nthe richness of the royale and the frothy finish of the emulsion.\n1 The cheese royale\nPreheat the oven to 120°C (250°F: gas mark 4-%). Warm the milk in a saucepan,\nthen add the grated Comté. Let the cheese melt, stirring it in well, then strain the\nsauce through a fine sieve. Leave to cool completely, then lightly whisk in the eggs\nand season with a little salt. Pour into 4 glasses or jars, then place in a bain-marie.\nCover with baking parchment and cook in the oven for about 20 minutes: the royale\nshould be quite firm, with the merest of trembles. Remove from the oven and the\nbain-marie, leave to rest for a moment, then chill in the fridge for 1 hour.\n2-The chicory emulsion\nWash and finely slice the chicory. Heat the olive oil in a frying pan over a gentle\nheat, then add the chicory and cook for 5 minutes, without letting it colour. Season\nwith a little salt, then add the lemon juice to stop the chicory discolouring. Pour in\nthe milk and cream and simmer for 5 minutes. Blend the mixture with the mashed\npotato until completely smooth, then strain through a fine sieve. Check and adjust\nthe seasoning as necessary, then pour into a siphon and insert 2 gas canisters. Keep\nwarm in a warm bain-marie (up to 60°C/140°F, no hotter check the temperature\nwith a cooking thermometer, if you have one).\n3-The garnish\nWash and finely slice the chicory. Sauté half of it in a frying pan with the olive oil\nfor about 5 minutes, then add the lemon juice, followed by the diced ham. Remove\nfrom the heat, then gently stir in the remaining raw chicory. Check and adjust the\nseasoning as necessary.\n4-Finishing off and serving\nReheat the glasses or jars of cheese royale in a bain-marie for 5 minutes. Spoon the\ngarnish on top, then finish with a little of the chicory emulsion. This is lovely served\nwith croutons.\nIf you don't have a siphon | Simply pour the dicory emulsion onto the garnish and royale.\n205" - Assistant