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": "Desserts\nPreparation 15 mins\nCooking 15 mins\nPoached pears,\npear sorbet\nand chocolate sauce\nAD- The pears should be fully\nimmersed in the syrup, otherwise\nthey won't cook properly. Choose\nyour saucepan accordingly.\nAnd baste them with their syrup\nfrom time to time while they\nare cooking.\nPN The taste and nutritional\nvirtues of chocolate are well\nknown! So enjoy this dessert\nwithout quilt because pleasure,\nas is less well-known, is one of\nthe components of a healthy\nbalanced diet.\nServes 4\n... Make a pear sorbet (page 337).\n.... Wash 4 ripe Williams pears. Peel, leaving the stalk on, and don't\nthrow away the peel.\nIn a saucepan, combine 750 ml of water, 90 g of caster sugar,\nthe juice of half a lemon, 1 vanilla pod opened and scraped and\nthe pear peel. Bring to a boil.\n... Then immerse the pears upright in this syrup and cook for\n15 minutes.\nTake the saucepan off the heat and leave the pears in it while\nthey cool.\n. Break 125 g of 70 % dark chocolate into pieces and melt in a\nbain-marie or in the microwave. Add 2 tablespoons of light cream\nand 2 to 3 spoonfuls of the pear cooking syrup, and mix well.\nPut a scoop of pear sorbet in each dish. Top with a pear, pour\nchocolate sauce over and serve immediately.\n336. Desserts"}
- Assistant
{ "NbPersons": 4, "Language": "fr", "Category": "dessert", "Title": "Poached pears, pear sorbet and chocolate sauce", "Subtitle": "", "Preparation_Time": 15, "Cooking_Time": 15, "Difficulty": "medium", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "4 ripe Williams pears", "750 ml of water", "90 g of caster sugar", "the juice of half a lemon", "1 vanilla pod opened and scraped", "the pear peel", "125 g of 70 % dark chocolate", "2 tablespoons of light cream", "2 to 3 spoonfuls of the pear cooking syrup" ] } ], "Description": "Un dessert délicieux qui allie des poires pochées tendres, une glace à la poire rafraîchissante et une sauce au chocolat fondante pour une expérience gourmande et pleine de plaisir.", "Instructions": [ "Wash 4 ripe Williams pears. Peel, leaving the stalk on, and don't throw away the peel.", "In a saucepan, combine 750 ml of water, 90 g of caster sugar, the juice of half a lemon, 1 vanilla pod opened and scraped and the pear peel. Bring to a boil.", "Then immerse the pears upright in this syrup and cook for 15 minutes.", "Take the saucepan off the heat and leave the pears in it while they cool.", "Break 125 g of 70 % dark chocolate into pieces and melt in a bain-marie or in the microwave.", "Add 2 tablespoons of light cream and 2 to 3 spoonfuls of the pear cooking syrup, and mix well.", "Put a scoop of pear sorbet in each dish. Top with a pear, pour chocolate sauce over and serve immediately." ], "AuthorName": "", "Notes_Ingredients": "The pears should be fully immersed in the syrup, otherwise they won't cook properly. Choose your saucepan accordingly.", "Notes_Instructions": "And baste them with their syrup from time to time while they are cooking. The taste and nutritional virtues of chocolate are well known! So enjoy this dessert without guilt because pleasure, as is less well-known, is one of the components of a healthy balanced diet." }