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": "194 VEGETABLES\nAUX LYONNAIS\nCARDOONS AND\nBONE MARROW\nau Gratin\nSERVES 4\nPREPARATION: 45 MINUTES\nCOOKING: 1 HOUR 40 MINUTES\nRESTING: 12 HOURS\nBONE MARROW\n2KG 4 POUNDS 6 OUNCES MARROW\nBONES, FOR 300G 10.58 OUNCES\nBONE MARROW\n1 1/2 TABLESPOONS WHITE VINEGAR\nSALT\nCARDOONS\n1 BUNCH CARDOONS, WITH LEAVES\nJUICE OF 1 LEMON\n60G 2.12 OUNCES (4)\nTABLESPOONS) BUTTER\n1 LITER 4 1/4 CUPS POT-AU-FEU\nBROTH (SEE P. 246)\n60ML 1/4 CUP CHICKEN JUS\n(SEE P. 250)\nFINISHING\nBUTTER FOR GREASING\n1 CLOVE GARLIC\n50G 1.76 OUNCES (1/2 CUP\nPLUS 1 1/2 TABLESPOONS) GRATED\nPARMESAN CHEESE\nFLEUR DE SEL\nCOARSELY GROUND PEPPER\nMAKE THE BONE\nMARROW\nOne day ahead, soak the marrow bones in ice water in the refrigerator\nwith a tablespoon added vinegar for 12 hours.\nThe day of serving, drain the bones and scoop out the marrow.\nSet aside 60g - 2.12 ounces for the cardoons and put the rest into\na saucepan of simmering salted water with the remaining vinegar.\nPoach the bone marrow for 5 minutes at 70°C - 160°F, and then\ncut it into 5cm 2 inch-thick slices.\nMAKE THE CARDOONS\nRemove the outer stems (stalks) from the bunch of cardoons. Separate\nthe stems and destring them. Cut into 9cm - 3 1/2 inch lengths\nand plunge into ice water with added lemon juice. Dice the 60g -\n2.12 ounces of bone marrow. Sweat* the marrow for a few seconds\nin a large saucepan. Add half the butter. Drain the cardoons and add\nto the pan. Heat the broth and pour it over the cardoons. Simmer\nfor 1 hour 15 minutes.\nDrain the cardoons and collect the cooking liquid. Heat the car-\ndoon cooking liquid in a saucepan. Add the cardoon pieces with the\nremaining butter and chicken jus. Reduce* for 5 minutes and coat\nthe pieces. Set aside 4 tablespoons of this sauce.\nFINISHING\nGrease individual gratin dishes with butter and rub with garlic. Arrange\nthe cardoon pieces in rows alternating with the poached bone mar-\nrow slices. Drizzle 1 tablespoon sauce over each dish. Sprinkle with\nParmesan and toast under a broiler for 10 minutes. Season with fleur\nde sel and coarsely ground pepper.\nTHE WINE\nA WHITE BURGUNDY, SUCH AS MACON VILLAGES"}
- Assistant
{ "NbPersons": 4, "Language": "fr", "Category": "main", "Title": "194 VEGETABLES AUX LYONNAIS", "Subtitle": "CARDOONS AND BONE MARROW au Gratin", "Preparation_Time": 45, "Cooking_Time": 100, "Difficulty": "medium", "Ingredients": [ { "section": "BONE MARROW", "ingredients": [ "2KG 4 POUNDS 6 OUNCES MARROW BONES, FOR 300G 10.58 OUNCES BONE MARROW", "1 1/2 TABLESPOONS WHITE VINEGAR", "SALT" ] }, { "section": "CARDOONS", "ingredients": [ "1 BUNCH CARDOONS, WITH LEAVES", "JUICE OF 1 LEMON", "60G 2.12 OUNCES (4 TABLESPOONS) BUTTER", "1 LITER 4 1/4 CUPS POT-AU-FEU BROTH (SEE P. 246)", "60ML 1/4 CUP CHICKEN JUS (SEE P. 250)" ] }, { "section": "FINISHING", "ingredients": [ "BUTTER FOR GREASING", "1 CLOVE GARLIC", "50G 1.76 OUNCES (1/2 CUP PLUS 1 1/2 TABLESPOONS) GRATED PARMESAN CHEESE", "FLEUR DE SEL", "COARSELY GROUND PEPPER" ] } ], "Description": "Une recette délicieuse et raffinée de cardoons et moelle osseuse au gratin, parfaite pour impressionner vos invités.", "Instructions": [ "One day ahead, soak the marrow bones in ice water in the refrigerator with a tablespoon added vinegar for 12 hours.", "The day of serving, drain the bones and scoop out the marrow.", "Set aside 60g - 2.12 ounces for the cardoons and put the rest into a saucepan of simmering salted water with the remaining vinegar.", "Poach the bone marrow for 5 minutes at 70°C - 160°F, and then cut it into 5cm 2 inch-thick slices.", "Remove the outer stems (stalks) from the bunch of cardoons. Separate the stems and destring them.", "Cut into 9cm - 3 1/2 inch lengths and plunge into ice water with added lemon juice.", "Dice the 60g - 2.12 ounces of bone marrow. Sweat the marrow for a few seconds in a large saucepan.", "Add half the butter. Drain the cardoons and add to the pan.", "Heat the broth and pour it over the cardoons. Simmer for 1 hour 15 minutes.", "Drain the cardoons and collect the cooking liquid.", "Heat the cardoon cooking liquid in a saucepan. Add the cardoon pieces with the remaining butter and chicken jus.", "Reduce for 5 minutes and coat the pieces. Set aside 4 tablespoons of this sauce.", "Grease individual gratin dishes with butter and rub with garlic.", "Arrange the cardoon pieces in rows alternating with the poached bone marrow slices.", "Drizzle 1 tablespoon sauce over each dish.", "Sprinkle with Parmesan and toast under a broiler for 10 minutes.", "Season with fleur de sel and coarsely ground pepper." ], "AuthorName": "", "Notes_Ingredients": "", "Notes_Instructions": "" }