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\nSTUFFED PORK TENDERLOIN RECIPE\nINGREDIENTS\n•\n•\n1kg pork loin roasting joint, skin scored\n175g Manchego cheese, finely sliced\n• 150g membrillo\n• 2 sage sprigs\n• Olive oil, for drizzling\n• 1 head of garlic, cut in half horizontally\n•\n1 thyme sprig\n• 200ml medium-dry sherry\n• Sea salt and freshly ground pepper\nCOOKING INSTRUCTIONS\nSERVES 4\n1\nPreheat the oven to 220°C/Gas 7.\n2\nIII\n3\nLay the joint, skin side down, on a chopping board and cut three-quarters of the way\ninto the flesh lengthways from top to bottom. Open the meat out to form a long\nrectangle and season with salt and pepper.\nArrange the slices of cheese and the membrillo along the centre of the meat. Scatter\nthe leaves from 1 sage sprig on top, and roll the meat up to enclose the stuffing. Tie\nat 3cm intervals along the length of the meat with string.\n4\nPlace the thyme and remaining sage in a hob-proof roasting tray with the garlic. Lay\nthe pork on top, skin side up. Drizzle with olive oil and season generously with salt\nand pepper.\n5\n6\n7\nTransfer the roasting tray to the preheated oven and cook for 20 minutes until the\nskin is crispy and golden. Turn the oven down to 180°/Gas 4 and cook for a further\n50 minutes until the pork is just cooked through. Remove the pork from the tin and\nset aside on a serving dish to rest.\nPut the roasting tray on the hob. Pour in the sherry and bring to the boil, scraping up\nany bits stuck in the bottom of the tray. Lower the heat, squash the garlic and\nremove the herbs. Add any resting juices from the meat.\nTo serve, carve the pork into thick slices, strain the sauce and pour it over the meat.\nTreat yourself or someone to an experience like no other - view our range of\nGifts & Experiences.\nCATEGORY FILTERS\nNEXT >\n2020 HOLIDAY (7)\nCHRISTMAS (23)\nFIT FOOD (21)\nSEAFOOD (9)\nVEGETARIAN (41)\nCOMFORT FOOD (15)\nGAME (3) KIDS (11)\nSTORE CUPBOARD STAPLES (2)\nWELLINGTON (2) VIEW ALL RECIPES\nAUTUMN (5) BBQ (6) BEEF (20) BREAKFAST (28) CHICKEN (13)\nDESSERT (26) DRINKS (1) DUCK (1)\nLAMB (5)\nEASTER (3)\nPANCAKE DAY (2) PASTA (6)\nSUMMER (11)\nTHANKSGIVING (13)\nPIE (4)\nCHOCOLATE (5)\nEGG (25)\nPORK (18)\nVALENTINE'S DAY (1)\nFISH (8)\nSALADS (10)\nVEGAN (4)\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": 4, "Language": "en", "Category": "main", "Title": "Stuffed Pork Tenderloin Recipe", "Subtitle": "Gordon Ramsay", "Preparation_Time": 20, "Cooking_Time": 70, "Difficulty": "medium", "Ingredients": [ "1kg pork loin roasting joint, skin scored", "175g Manchego cheese, finely sliced", "150g membrillo", "2 sage sprigs", "Olive oil, for drizzling", "1 head of garlic, cut in half horizontally", "1 thyme sprig", "200ml medium-dry sherry", "Sea salt and freshly ground pepper" ], "Description": "", "Instructions": [ "Preheat the oven to 220°C/Gas 7.", "Lay the joint, skin side down, on a chopping board and cut three-quarters of the way into the flesh lengthways from top to bottom. Open the meat out to form a long rectangle and season with salt and pepper.", "Arrange the slices of cheese and the membrillo along the centre of the meat. Scatter the leaves from 1 sage sprig on top, and roll the meat up to enclose the stuffing. Tie at 3cm intervals along the length of the meat with string.", "Place the thyme and remaining sage in a hob-proof roasting tray with the garlic. Lay the pork on top, skin side up. Drizzle with olive oil and season generously with salt and pepper.", "Transfer the roasting tray to the preheated oven and cook for 20 minutes until the skin is crispy and golden. Turn the oven down to 180°/Gas 4 and cook for a further 50 minutes until the pork is just cooked through. Remove the pork from the tin and set aside on a serving dish to rest.", "Put the roasting tray on the hob. Pour in the sherry and bring to the boil, scraping up any bits stuck in the bottom of the tray. Lower the heat, squash the garlic and remove the herbs. Add any resting juices from the meat.", "To serve, carve the pork into thick slices, strain the sauce and pour it over the meat." ], "RegionID": "GB", "AuthorName": "Gordon Ramsay", "Notes_Ingredients": "", "Notes_Instructions": "Hob-proof roasting tray is required." }