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: 40 min\nCooking time: 22 min\nInfusing time: 30 min\nThe tomato foam\n1 kg/24 lb tomatoes\n15 g/½ oz fresh galangal\nI gelatine leaf\nfine salt, freshly ground black pepper\nThe tomato ketchup\n2 tablespoons sugar\nI tablespoon runny honey\n30 ml/1 fl oz white balsamic vinegar\n250 g/8½ oz tomatoes\nsmall knob of galangal\n½ garlic clove\n1/4 bird's eye chilli\npinch of fine salt\nThe eggs and the garnish\n4 extra-fresh eggs\n50 ml/14 fl oz distilled white vinegar\n100 g/3½ oz pitted black olives\n2 tablespoons capers\nfleur de sel\nEquipment\nsiphon (optional)\nPoached egg\nwith tomato ketchup,\ncapers and black olives\nThis might seem a little complicated but all the elements - the eggs, the\nfoam and the ketchup - are actually very easy. And, what's more, you can\nprepare some of it, including the foam and the ketchup, in advance.\n1-The tomato foam\nBlend the chopped tomatoes, then strain through a very fine sieve. Heat the juices with\nthe chopped galangal, then leave to infuse off the heat for 30 minutes. Soak the gelatine\nleaf in cold water for 5 minutes, then squeeze out and add to the infused juices, stirring to\ndissolve. Leave to cool, then season. Pour into the siphon, insert 2 gas cartridges and chill.\n2-The tomato ketchup\nMelt the sugar and honey in a saucepan with the white balsamic vinegar. Bring to the\nboil and reduce by a third. Add all the other ingredients and cook over a gentle heat for\n20 minutes. Leave to cool, then season to taste as required.\n3-Cooking the eggs\nCrack the eggs into individual ramekins. Boil 1 litre/1% pints of water with the\nvinegar (but no salt). As soon as it simmers, stir briskly with a spoon, then slip in\nthe eggs and cook for 2 minutes. Drain, immerse in iced water, then drain on kitchen\npaper (see step-by-step method on p. 64). Halve the olives and chop the capers.\n4-Serving\nPut a tablespoon of ketchup in each bowl, place the egg in the middle, then scatter\nover the capers and olives. Finish off with the foam and a little fleur de sel.\nIf you don't have a siphon | Blend the chopped tomatoes, then strain through a very fine sieve.\nHeat the juice with the galangal and leave to infuse for 30 minutes. Soak the gelatine leaf in cold\nwater for 5 minutes, then squeeze out and add to the infused juice, stirring to dissolve. Leave to\ncool, then season. Whisk 150 ml/5 fl oz chilled double (heavy) cream, then gently fold it into the\nmixture to make a mousse. Use as instructed in step 4 of the reape.\nGood to know You can find galangal\nin Asian supermarkets. It is easy to recognize because\nit looks a bit like fresh ginger, though is paler in colour. Its flavour is very distinctive and\nsophisticated, yet also very powerful. You can also use it in soups and stocks.\nTip Eggs for poaching must be extra-fresh: that way the white is very riscous and will envelop\nthe yolk properly during the cooking.\nEntertaining\n63" - Assistant