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": "44 APPETIZERS\nSERVES 4\nPREPARATION: 1 HOUR\nCOOKING: 1 HOUR\nLOBSTER\n2 LOBSTERS (ABOUT 600G 1 POUND\n5 OUNCES EACH)\nSALT\nLOBSTER JUS\n100G 3.53 OUNCES SHALLOTS\n100G 3.53 OUNCES FENNEL\n(1/3-1/2 BULB)\n1 CLOVE GARLIC\nHEADS OF THE LOBSTERS\nOLIVE OIL\n50G 1.76 OUNCES\n(3 1/2 TABLESPOONS) BUTTER\n1 SPRIG THYME\n10 BLACK PEPPERCORNS\n1 DRIED FENNEL STICK\n20G 0.71 OUNCE (3 3/4 TEASPOONS)\nTOMATO PASTE\n500ML 2 CUPS COGNAC\n500ML 2 CUPS WHITE CHICKEN STOCK\n(SEE P. 246)\n1 SPRIG TARRAGON\nTRUFFLED VEGETABLES\n1 CARROT\n1/2 LONG TURNIP\n2 CELERY STALKS\n25G\n0.88 OUNCE (2 TABLESPOONS)\nMAYONNAISE\n30G 1.06 OUNCES CRUMBLED TRUFFLE\nSALT\nFRESHLY GROUND PEPPER\n40ML 2 TABLESPOONS PLUS\n2 TEASPOONS REDUCED* LOBSTER JUS\nJUICE OF 1/2 LEMON\nGARNISH\n4 QUAIL EGGS\n2 POIVRADE ARTICHOKES\n4 ROMAINE (COS) LETTUCE LEAVES\n1 (30G 1.06 oz) BLACK TRUFFLE\n20ML 4 TEASPOONS OLIVE OIL PLUS\nMORE FOR FINISHING\nSALT\nFRESHLY GROUND PEPPER\nMAKE THE LOBSTER\nBENOIT\nRemove the claws from the lobsters and separate the tails from\nthe heads; reserve heads for lobster jus Boil the large claws in\nsalted water for 6 minutes, the small claws for 4 minutes, and\nthe tails for 3 minutes. Cool in ice water, peel, and set aside*.\nMAKE THE LOBSTER\nJUS\nPeel and dice the shallots, fennel, and garlic. Coarsely chop* the\nlobster heads and brown the pieces in a Dutch oven (cast-iron\ncasserole) with olive oil. Add the butter, shallots, fennel, garlic,\nthyme, peppercorns, and dried fennel stick. Sweat them, then\nadd the tomato paste. Deglaze with the cognac, then moisten\nwith the chicken stock. Simmer for 30 minutes. Press well in a\nconical strainer* (sieve) over a bowl to release the juices from\nthe lobster pieces. Return the juices to a saucepan and reduce\nto the desired consistency. Infuse the jus with the tarragon, on\nthe heat, for 10 minutes. Set aside.\nMAKE THE TRUFFLED\nVEGETABLES\nPeel the carrot and turnip, then cut the carrot, turnip, and celery\ninto brunoise and shallow braise them. Transfer to a bowl over\nice cubes to cool to preserve their color. Drain the vegetables\nand incorporate the mayonnaise and crumbled truffle to the\nvegetables. Adjust the seasoning with salt and pepper, then add\nthe reduced lobster jus and the lemon juice.\nMAKE THE\nGARNISH\nBoil the quail eggs for 4 minutes, let cool, shell, quarter, and set\naside. Turn the artichokes and shallow braise them. Let cool,\nthen cut them into six pieces and set aside. Cut the lettuce leaves\ninto feather shapes. Cut the truffle into batons.\nFINISHING\nUse a 10cm - 4 inch-diameter ring mold to plate the truffled\nvegetables. Slice a lobster tail and make a rosette of half of\nthe slices over the vegetable disk. In a bowl, carefully mix the\nartichoke, lettuce, and truffle batons with the olive oil. Season\nwith salt and pepper. Decorate the lobster rosette with some of\nthe artichokes, lettuce, and truffle, and top with a lobster claw\nand a quail egg. Finish by adding a little lobster jus mixed with\nolive oil and a drizzle of lemon juice, and season with fleur de\nsel and freshly ground pepper. Repeat for the remaining 3 bowls.\n(28\nLOBSTER\nà la Parisienne\nTHE WINE: A RED BURGUNDY, SUCH AS NUITS-SAINT-GEORGES\nLEMON JUICE\nFLEUR DE SEL" - Assistant