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": "FISH 95\nAUX LYONNAIS\nZANDER\nen Matelote\nTHE WINE: A RED BURGUNDY, SUCH AS CHOREY LES BEAUNE\nPREP THE FISH\nCut the head of the fish in half lengthwise. Remove the eyes and\ngills. Purge the head and bones of impurities by leaving under a\nthin stream of cold running water for 1 hour. Drain and reserve for\nthe sauce. You can ask your fishmonger to prepare the fillets for you.\nAsk to keep the head and fishbone.\nMAKE THE MATELOTE SAUCE\nCarefully wash and slice* the leek and mushrooms, and peel and slice\nthe shallots. Heat the olive oil in a Dutch oven (cast-iron casserole),\nand brown the fish head and bones. Remove them from the pan, set\naside, and discard the oil. Put the bacon in the pan and cook over\nlow heat for 10 minutes, then add the leek, mushrooms, shallots,\ncrushed garlic cloves, and peppercorns. Sweat the vegetables gently,\nthen return the fish head and bones to the pan. Moisten with the\nwine and reduce* by half. Add the chicken stock and simmer* for\n20 minutes, skimming regularly. Filter the sauce through a strainer\n(sieve) into a saucepan and let cool.\nMAKE THE\nGARNISH\nPeel the onions. Brown* them in a sauté pan* with 1 tablespoon\nolive oil for 2 minutes. Season with salt. Add 100ml - 1/3 cup plus\n1 tablespoon chicken stock and half the butter and simmer. Stop\nthe cooking process when the onions are tender and coated in the\ncooking liquid.\nCut the smoked bacon into 3 x 5cm - 1 1/4 x 2 inch lardons. Put them\ninto a small saucepan and cover with cold water. Place over the heat\nand bring to a boil. Drain and set aside*. Cut the mushroom stems\nso they are flush with the caps. Wash the mushrooms carefully. Sweat\nthem in a sauté pan with 1 tablespoon olive oil for 2 minutes, without\ncoloring. Season with salt, and add the rest of the chicken stock, a\ndash of lemon juice, and the remaining butter. Cover with a lid and\nsimmer for 5 minutes. Transfer to another container and set aside.\nFINISHING\nReduce the sauce by half in the saucepan. Beat* in the butter and\nadd the onion, lardon, and mushroom garnish. Season with salt and\npepper, if necessary. Add a dash of vinegar sherry and season with\npepper. Season the fillets. Heat a little oil in a nonstick skillet or\nfrying pan and cook the fillets, skin side down, without turning over,\ntogether with a pat (knob) of butter. When cooked, arrange the fillets\non a large serving dish. Cover them with the sauce and garnish.\nSERVES 4\nPREPARATION: 1 HOUR\nCOOKING: 1 HOUR\nRESTING: 1 HOUR\nFISH\n1 (1.8-2KG 4 POUND-4 POUND\n6 OUNCE) SANDER OR PIKE PERCH\n20ML\nMATELOTE SAUCE\n1 LEEK\n4 WHITE MUSHROOMS\n3 SHALLOTS\n4 TEASPOONS OLIVE OIL\n50G 1.76 OUNCES SMOKED SIDE\n(STREAKY) BACON\n3 CLOVES GARLIC\n15 PEPPERCORNS\n500ML 2 CUPS RED WINE\n500ML 2 CUPS WHITE CHICKEN\nSTOCK (SEE P. 246)\nGARNISH\n12 GRELOT ONIONS OR SCALLIONS\n2 TABLESPOONS OLIVE OIL\nSALT\n150ML 2/3 CUP WHITE CHICKEN\nSTOCK (SEE P. 246)\n20G 0.71 OUNCE\n(1 1/2 TABLESPOONS) BUTTER\n100G 3.53 OUNCES SMOKED SIDE\nBACON\n24 WHITE BUTTON MUSHROOMS\nJUICE OF 1/2 LEMON\nFINISHING\n20G .71 OUNCE\n(1 1/2 TABLESPOONS) BUTTER,\nPLUS EXTRA\nSALT\nFRESHLY GROUND PEPPER\n10ML 2 TEASPOONS\nSHERRY VINEGAR\nOLIVE OIL" - Assistant