gpt-4o-mini-2024-07-18· OpenAI
WildChat-4.8M (AI2)
Tu es en charge d'extraire les informations d'un json pour composer un autrer object…
- User
Tu es en charge d'extraire les informations d'un json pour composer un autrer object JSON. Les objects JSON sont en lien avec une recette de cuisine. Tu dois completer les informations suivantes dans le JSON uniquement basé sur les informations fournies. En aucun cas tu ne dois ajouter des informations. Si des informations sont manquantes alors laisse le champ vide.
Voici les informations à identifier dans le json fournie. - Titre - Sous titre - Description (de 250 charactère max) - Temps de préparation total (en minutes) si pas d'information essaie de calculer en fonction des informations fournies - Temps de cuisson total (en minutes) si pas d'information essaie de calculer en fonction des informations fournies - Difficulté (easy, medium, hard) - Language utilisé (code ISO) - Categories (entry, main, dessert) - Liste des ingrédients avec les quantités - Les instructions qui sont présent dans les explications. Précises bien en détails ce qui est écris pour les instructions - Nombre de parts (par personne) si indiqué sinon prédit un nombre le plus adapté en fonction des quantités. - Le code du pays (ISO 3166) de l'origne de la recette - Auteur - Une ou plusieurs informatiques important à préciser concernant les ingrédients (ingrédient facultatif, remplacement d'un ingrédient par un autre ingrédient...) - Une ou plusieurs informatiques important à préciser concernant les instructions (Matériels obligatoire, faire d'une autre façon, acheter directement la préparation...) Voici le json fournie en lien avec une recette de cuisine : "{ "explication": "GORDON RAMSAY\nMICHIGAN FRENCH TOAST SANDWICH\nFROM RAMSAY AROUND THE WORLD\nINGREDIENTS\n• 3 eggs\n⚫ 1/4 cup granulated sugar, divided\nAbout 4 cup heavy cream, divided\n• 2 small red apples, cores removed and chopped into large pieces\n• Unsalted butter\n1 tablespoon apple cognac\n• 3 thick slices white sandwich bread\n• Olive oil\n•\nThimbleberry jam\n1/2 tablespoons crème fraîche\nIII\nCOOKING INSTRUCTIONS\n1 Start by placing two large nonstick skillets over medium-high heat.\n2\n3\nCrack the eggs into a bowl and whisk, then continue whisking while adding about 1\n1/2 tablespoons sugar, followed by heavy cream. Set aside.\nAdd remaining sugar to one skillet and let sit for a moment so it begins to\ncaramelize. Add the apples to the pan along with about a tablespoon of butter,\ntossing to coat.\nDrizzle the apple cognac over the apples, followed by another tablespoon or so of\nheavy cream.\n5\nBring the mixture to a low boil.\n6\nQuickly dip each slice of bread into the egg mixture to coat, but don't let it soak.\n7\nAdd a tablespoon of olive oil to the other skillet along with about a tablespoon of\nbutter. Once melted, add the coated slices to the hot pan and let brown. Add a few\nteaspoons of butter around the edges of the pan. Carefully flip each bread slice\n(only flip once!) to lightly brown the other side, then remove from heat.\n8\nOnce the apples have absorbed the cream and are jammy and almost candied,\nremove from heat.\n9\nTo serve, spread a couple of tablespoons of thimbleberry jam onto one slice of\nbread on a plate, then top with a few tablespoons of the caramel apples.\n10\n< BACK\nPlace another slice of bread on top of the apples and repeat. Place the third slice of\nbread on top, then top with a dollop with crème fraîche, followed by a small bit of\nthimbleberry jam. Scatter any remaining apples around the plate and serve.\nNEXT >\nBREAKFAST (28)\nCHICKEN (13)\nCHOCOLATE (5)\nDUCK (1) EASTER (3) EGG (25)\nPASTA (6) PIE (4) PORK (18)\nTHANKSGIVING (13) VALENTINE'S DAY (1)\nFISH (8)\nSALADS (10)\nVEGAN (4)\nCATEGORY FILTERS\n2020 HOLIDAY (7) AUTUMN (5) BBQ (6) BEEF (20)\nCHRISTMAS (23) COMFORT FOOD (15) DESSERT (26) DRINKS (1)\nFIT FOOD (21)\nGAME (3) KIDS (11) LAMB (5) PANCAKE DAY (2)\nSEAFOOD (9) STORE CUPBOARD STAPLES (2) SUMMER (11)\nVEGETARIAN (41)\nWELLINGTON (2) VIEW ALL RECIPES\n↑\nBack to Top\nNEWSLETTER SIGN UP\nContact\nDisclaimer\nPrivacy policy\nCookie policy\nGORDON RAMSAY RESTAURANTS\n©Copyright 2024\nwww.gordonramsayrestaurants.com\nInterested in Gordon Ramsay restaurants? Click here\n→"}"
Voici la structure de l'objet JSON en sortie : json { "NbPersons": 2 "Language": "", "Category": "", "Title": "", "Subtitle": "", "Preparation_Time": 0, "Cooking_Time": 0, "Difficulty": "", "Ingredients": [], "Description": "", "Instructions": [], "RegionID": "", "AuthorName": "" "Notes_Ingredients": "", "Notes_Instructions": "", }, N'explique pas ta démarche. Renvoie cet objet corrigé en respectant le format initial. Fais attention à bien formatter le JSON. - Assistant
{ "NbPersons": 2, "Language": "en", "Category": "main", "Title": "MICHIGAN FRENCH TOAST SANDWICH", "Subtitle": "GORDON RAMSAY", "Preparation_Time": 15, "Cooking_Time": 15, "Difficulty": "medium", "Ingredients": [ "3 eggs", "1/4 cup granulated sugar, divided", "4 cup heavy cream, divided", "2 small red apples, cores removed and chopped into large pieces", "Unsalted butter", "1 tablespoon apple cognac", "3 thick slices white sandwich bread", "Olive oil", "Thimbleberry jam", "1/2 tablespoons crème fraîche" ], "Description": "A delicious combination of caramelized apples and creamy French toast, perfect for breakfast.", "Instructions": [ "Start by placing two large nonstick skillets over medium-high heat.", "Crack the eggs into a bowl and whisk, then continue whisking while adding about 1 1/2 tablespoons sugar, followed by heavy cream. Set aside.", "Add remaining sugar to one skillet and let sit for a moment so it begins to caramelize. Add the apples to the pan along with about a tablespoon of butter, tossing to coat.", "Drizzle the apple cognac over the apples, followed by another tablespoon or so of heavy cream.", "Bring the mixture to a low boil.", "Quickly dip each slice of bread into the egg mixture to coat, but don't let it soak.", "Add a tablespoon of olive oil to the other skillet along with about a tablespoon of butter. Once melted, add the coated slices to the hot pan and let brown. Add a few teaspoons of butter around the edges of the pan. Carefully flip each bread slice (only flip once!) to lightly brown the other side, then remove from heat.", "Once the apples have absorbed the cream and are jammy and almost candied, remove from heat.", "To serve, spread a couple of tablespoons of thimbleberry jam onto one slice of bread on a plate, then top with a few tablespoons of the caramel apples.", "Place another slice of bread on top of the apples and repeat. Place the third slice of bread on top, then top with a dollop with crème fraîche, followed by a small bit of thimbleberry jam. Scatter any remaining apples around the plate and serve." ], "RegionID": "US", "AuthorName": "Gordon Ramsay", "Notes_Ingredients": "The thimbleberry jam can be replaced with any berry jam of your choice.", "Notes_Instructions": "Use nonstick skillets to prevent sticking and ensure easy flipping." }