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": "THE WINE\nVINTAGE CHAMPAGNE\nBRAISED TURBOT STEAK\nwith Blanquette Sauce and Green Vegetables\nFISH 107\nBENOIT\nMAKE THE BLANQUETTE SAUCE\nOne day ahead, cut the head off the turbot and halve it; reserve\nthe remaining turbot, covered in plastic wrap, in the refrigerator.\nPurge the head of impurities by soaking in cold water for 12 hours\nin the refrigerator.\nThe day of serving, blanch the veal* breast for 3-4 minutes. Peel\nand chop the carrot, chop the celery, and slice the fennel; care-\nfully wash, peel, and slice the mushrooms. When the veal is finished\nblanching, rinse in water. Put the vegetables, half fish head, and veal\nin a Dutch oven (cast-iron casserole), add chicken broth to cover, and\nthe bouquet garni. Season with salt and pepper. Cook over medium\nheat for 45 minutes, skimming often. Immediately strain the cooking\nliquid through a conical strainer into a saucepan and reduce* until it\ngets thicker, then add the lemon juice.\nMAKE THE FISH\nPreheat the oven to 160°C - 325°F (gas mark 3). Dress* the turbot:\nRemove the fins, and scale and clean the fish, then cut off the tail\nand halve along the backbone. Cut out 280g - 9.88 ounce fillet\nsteaks and remove the skin with a filleting knife. Heat the olive oil in\na Dutch oven and sear* the steaks on their cut sides. Add the butter\nand garlic, and baste the steaks. Finish cooking them by braising for\n8 minutes in a little of the blanquette sauce.\nMAKE THE GREEN\nVEGETABLES\nSeparately, boil the asparagus, peas, broccoli, and green beans in a\nsaucepan with salted water. Set aside*. Remove the stems from the\nlettuce and spinach leaves, and carefully wash the leaves; set aside.\nCut off the asparagus tips, set aside, and puree the rest of the spears;\nset aside. In a sauté pan*, sweat the asparagus tips, peas, broccoli,\nand green beans in the olive oil for 5 minutes, without coloring. Add\nthe butter and chicken stock, cover with a lid, and cook for 5 min-\nutes. When the vegetables are glazed*, add the fava beans. Bind the\ncontents of the pan with the asparagus puree, then add the spinach.\nAdjust the seasoning with salt.\nFINISHING\nArrange the green vegetables in the bottom of a dish and lay the turbot\nsteaks with the garlic over them. Finish by adding the lettuce leaves.\nLightly stir the whipped cream into the remaining blanquette sauce\nand drizzle over the steaks. Serve the rest of the sauce separately.\nSERVES 4\nPREPARATION: 40 MINUTES\nCOOKING: 1 HOUR\nRESTING: 12 HOURS\nBLANQUETTE SAUCE\n1/2 TURBOT HEAD FROM 1 (3KG - 6\nPOUND 10 OUNCE) TURBOT\n500G 1 POUND 2 OUNCES VEAL\nBREAST\n1 CARROT\n1 STALK CELERY\n1/2 FENNEL BULB\n3 WHITE MUSHROOMS\nCHICKEN BROTH (SEE P. 245)\n1 BOUQUET GARNI\nSALT\nFRESHLY GROUND PEPPER\nJUICE OF 1 LEMON\nFISH\n120ML 1/2 CUP OLIVE OIL\n20G 0.71 OUNCE\n(1 1/2 TABLESPOONS) BUTTER\n4 CLOVES GARLIC\nGREEN VEGETABLES\n12 MEDIUM GREEN ASPARAGUS\nSPEARS\n120G 4.23 OUNCES (3/4 CUP)\n150G\n100G\nPEAS\n5.29 OUNCES BROCCOLI\n3.53 OUNCES GREEN BEANS\n1/2 SUCRINE (BOSTON OR LITTLE\nGEM) LETTUCE HEART\n100G 3.53 OUNCES (3 1/2 CUPS)\nBABY SPINACH\n1 TABLESPOON OLIVE OIL\n30G 1.06 OUNCES\n(2 TABLESPOONS) BUTTER\n50ML 3 1/2 TABLESPOONS WHITE\nCHICKEN STOCK (SEE P. 246)\n100G 3.53 OUNCES (2/3 CUP)\nSHELLED BABY FAVA BEANS\nSALT\nFINISHING\n1 TABLESPOON WHIPPED CREAM" - Assistant