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": "PÂTÉ EN CROÛTE\nMade with Chicken and Duck Foie Gras\nby Arnaud Nicolas\nAPPETIZERS 57\nALLARD\nMAKE THE BASIC (SHORTCRUST) PASTRY DOUGH\nIn a mixer fitted with a paddle attachment, mix the flour and but-\nter with the salt and pepper until crumbly. Add 90ml - 1/3 cup\nplus 1 tablespoon water and the egg, and continue mixing until\nthe mixture forms a smooth dough. Reserve at room temperature.\nMAKE THE\nFILLING\nCut each fillet into a 1cm - 3/8 inch dice and the foie gras into\n1.5cm 5/8 inch dice. Combine the meat with the salts and Port\nwine. Add the sugar and pepper, and mix. Set aside* in the\nrefrigerator.\nFINISHING\nPreheat the oven to 150°C - 300°F (gas mark 2) on the convection\n(fan) setting. Line a 20 x 20cm - 8 x 8 inch baking frame with the\ndough. Save a little dough to make a cover. Bake the pastry for\n35 to 40 minutes. Set aside to cool.\nMix the filling with the egg white. Fill the pastry-lined frame with the\nfilling and cover with a thin sheet of dough. Refrigerate for 1 hour.\nIncrease the oven temperature to 180°C - 350°F (gas mark 4) and\nbake for 10 minutes, then lower the temperature to 70°C - 160°F\n(lowest gas mark setting with the door ajar) and cook for another\n30 minutes. Check the internal temperature with a cooking ther-\nmometer, which should read 62°C 144°F. Let rest for 20 minutes\nbefore refrigerating. Refrigerate overnight.\nTHE WINE\nA RED BURGUNDY, SUCH AS FLEURIE\nSERVES 4\nPREPARATION: 1 HOUR\nCOOKING: 1 HOUR 20 MINUTES\nREFRIGERATION TIME: 1 HOUR +\n1 NIGHT\nBASIC (SHORTCRUST) PASTRY\nDOUGH\n500G 1 POUND 2 OUNCES (4 CUPS)\nFLOUR\n250G 8.82 OUNCES (2 STICKS PLUS\n2 TABLESPOONS) BUTTER\n10G 0.35 OUNCE\n(1 1/2 TEASPOONS) SALT\nFRESHLY GROUND PEPPER\n65G 2.29 OUNCES (1/4 CUP\nPLUS 1 TEASPOON) EGG\n(1 MEDIUM-SIZE EGG)\nFILLING\n400G 14.11 OUNCES GUINEA\nFOWL FILLET\n400G 14.11 OUNCES CHICKEN FILLET\n400G\n14.11 OUNCES DUCK FILLET\n400G 14.11 OUNCES\nDUCK FOIE GRAS\n16G 0.56 OUNCE\n(2 3/4 TEASPOONS) SALT\n8G 0.28 OUNCE (1 1/2 TEASPOONS)\n10ML\nCURING SALT\n2 TEASPOONS PORT WINE\n3G 0.11 OUNCE (3/4 TEASPOON)\nSUGAR\n2G 0.07 OUNCE (1 TEASPOON)\nFRESHLY GROUND PEPPER\nFINISHING\nFLOUR FOR DUSTING\n1 EGG WHITE" - Assistant