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": "Chilled melon\nsoup with mint\nice cubes\nPreparation 20 mins\nDesserts\n... Serves 4\nMake the mint ice cubes\nTake the leaves from 2 bunches of mint.\nFill a large bowl with water and ice cubes and place another bowl\non top.\n... Heat half a litre of water in a saucepan. When it boils, immerse\nthe mint leaves for 4 minutes. Drain with a slotted spoon.\nBlend them with a ladleful of cooking liquid until you have a\nsmooth and even purée. Cool immediately in the bowl on top of\nthe ice.\nDistribute this mint purée in ice-cube trays and freeze.\nMake the melon soup\nPut 4 bowls or fruit dishes to chill in the freezer.\n... Cut 3 lorge melons in half, remove the seeds and all the filaments.\n... Cut the flesh from 2 of the melons, blend into a smooth soup,\nadding a little water if it's too thick. Put in the fridge.\n. With a melon baller, scoop the flesh from the whole of the third\nmelon. Reserve these balls in the fridge too.\nWhen you are ready to serve, distribute the melon soup in the\nchilled bowls or dishes. Drop the small melon balls on top, add\na few mint ice cubes and serve immediately.\nAD- This melon soup is just\nas good served as a starter.\nThe ice cubes can of course be\nmade the day before and why not\ndouble the quantities, then you can\nuse them in a fruit juice cocktail\nor another chilled fruit soup.\nPN- A real health-giving dessert!\nMelon beats all the records in terms\nof antioxidant carotenoido, good\nfor all the body's cello (and for\ntanning!). Mint is also rich in them.\nTheir action is strengthened by that\nof vitamin C, which is also plentiful\nin both. And no sugar, which makes\nthis a dessert you can eat without\nmoderation!\n6 6 6 d\nDesserts. 343" - Assistant
{ "NbPersons": 4, "Language": "fr", "Category": "dessert", "Title": "Chilled melon soup with mint", "Subtitle": "ice cubes", "Preparation_Time": 20, "Cooking_Time": 4, "Difficulty": "easy", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "2 bunches of mint", "half a litre of water", "3 large melons" ] } ], "Description": "Cette soupe de melon rafraîchissante avec de la menthe est un dessert léger et délicieux qui rappelle l'été.", "Instructions": [ "Make the mint ice cubes", "Take the leaves from 2 bunches of mint.", "Fill a large bowl with water and ice cubes and place another bowl on top.", "Heat half a litre of water in a saucepan.", "When it boils, immerse the mint leaves for 4 minutes.", "Drain with a slotted spoon.", "Blend them with a ladleful of cooking liquid until you have a smooth and even purée.", "Cool immediately in the bowl on top of the ice.", "Distribute this mint purée in ice-cube trays and freeze.", "Make the melon soup", "Put 4 bowls or fruit dishes to chill in the freezer.", "Cut 3 large melons in half, remove the seeds and all the filaments.", "Cut the flesh from 2 of the melons, blend into a smooth soup, adding a little water if it's too thick.", "Put in the fridge.", "With a melon baller, scoop the flesh from the whole of the third melon.", "Reserve these balls in the fridge too.", "When you are ready to serve, distribute the melon soup in the chilled bowls or dishes.", "Drop the small melon balls on top, add a few mint ice cubes and serve immediately." ], "AuthorName": "", "Notes_Ingredients": "The ice cubes can of course be made the day before and why not double the quantities, then you can use them in a fruit juice cocktail or another chilled fruit soup.", "Notes_Instructions": "A real health-giving dessert! Melon beats all the records in terms of antioxidant carotenoido, good for all the body's cello (and for tanning!). Mint is also rich in them. Their action is strengthened by that of vitamin C, which is also plentiful in both. And no sugar, which makes this a dessert you can eat without moderation!" }