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": "COLORFUL RHUBARB\nServes 6\nPreparation time: 1 hour\nCooking time: 30 minutes\nFor the sugar-coated rhubarb\n4 cups (800 g) pearl sugar\n2 large (40 g) egg whites\n(2% tablespoons)\n6 rhubarb stalks\n(10% ounces/300 g). peeled\nFor the rhubarb compote\n1 quantity (300 g) cooked sugar-\ncoated rhubarb\nFor the reduced rhubarb compote\n3 cups (400 g) chopped peeled rhubarb\n¼ cup (50 g) superfine sugar\nFor assembly\n¾ cup plus 1% tablespoons (200 g)\nBorniambucⓇ heavy cream\nFor the sugar-coated rhubarb\nPreheat the oven to 360°F (180°C). In a bowl, mix the pearl sugar and egg whites. In a dish lined with parchment paper, add half of the pearl sugar\nand egg whites, place the rhubarb in the center, and cover with the rest of the pearl sugar-egg white mixture. Bake in the oven for about 30 minutes.\nFor the rhubarb compote\nBlend the rhubarb with an immersion blender until smooth.\nFor the reduced rhubarb compote\nPut the rhubarb into a saucepan, add 1/4 cups (300 g) of water and the superfine sugar, and stew over low heat. Pass the rhubarb through a conical\nsieve and collect the juice. Reduce the juice to a syrupy consistency, then return the drained rhubarb pieces to the pan.\nFor assembly\nTake strip of cooked sugar-coated rhubarb, form circle, and place it in\nthe center of the bowl. Fill the base with BorniambucⓇ cream, then the reduced rhubarb compote and the rhubarb compote." - Assistant
{ "NbPersons": 6, "Language": "en", "Category": "dessert", "Title": "COLORFUL RHUBARB", "Subtitle": "", "Preparation_Time": 60, "Cooking_Time": 30, "Difficulty": "medium", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "4 cups (800 g) pearl sugar", "2 large (40 g) egg whites", "6 rhubarb stalks (10% ounces/300 g), peeled", "1 quantity (300 g) cooked sugar-coated rhubarb", "3 cups (400 g) chopped peeled rhubarb", "¼ cup (50 g) superfine sugar", "¾ cup plus 1% tablespoons (200 g) BorniambucⓇ heavy cream" ] } ], "Description": "A stunning dessert featuring colorful rhubarb in multiple forms, combining the sweetness of sugar and the tartness of fresh rhubarb.", "Instructions": [ "Preheat the oven to 360°F (180°C).", "In a bowl, mix the pearl sugar and egg whites.", "In a dish lined with parchment paper, add half of the pearl sugar and egg whites, place the rhubarb in the center, and cover with the rest of the pearl sugar-egg white mixture.", "Bake in the oven for about 30 minutes.", "Blend the rhubarb with an immersion blender until smooth.", "Put the rhubarb into a saucepan, add 1/4 cups (300 g) of water and the superfine sugar, and stew over low heat.", "Pass the rhubarb through a conical sieve and collect the juice.", "Reduce the juice to a syrupy consistency, then return the drained rhubarb pieces to the pan.", "Take strip of cooked sugar-coated rhubarb, form circle, and place it in the center of the bowl.", "Fill the base with BorniambucⓇ cream, then the reduced rhubarb compote and the rhubarb compote." ], "AuthorName": "", "Notes_Ingredients": "", "Notes_Instructions": "" }