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": "66 APPETIZERS\nBENOIT\nCREAMY\nCRAYFISH SOUP\nwith Chives\nSERVES 4\nPREPARATION: 35 MINUTES\nCOOKING: 1 HOUR\nCRAYFISH\n1.5KG 3 POUNDS 4 OUNCES\nCRAYFISH\n1 SHALLOT\n1 CLOVE GARLIC\n1 SPRIG FLAT-LEAF PARSLEY\n1 TABLESPOON OLIVE OIL\n20G 0.71 OUNCE\n(1 1/2 TABLESPOONS) BUTTER\n5 BLACK PEPPERCORNS\n100ML\n1/3 CUP PLUS\n1 TABLESPOON COGNAC\nSOUP\nHEADS AND CLAWS OF THE CRAYFISH\n150G 5.29 OUNCES CARROTS\n(ABOUT 2 LARGE OR 3 SMALL)\n150G 5.29 OUNCES SHALLOTS\n(ABOUT 6)\n4 CLOVES PINK GARLIC\n1 FENNEL BULB\n150G\n5.29 OUNCES RIPE\nTOMATOES (ABOUT 1 1/2 SMALL)\n1 TABLESPOON OLIVE OIL\n20G 0.71 OUNCE\n(1 1/2 TABLESPOONS) BUTTER\n1 TABLESPOON TOMATO PASTE\n20ML 4 TEASPOONS DRY WHITE WINE\n200ML 3/4 CUP PLUS\n1 TABLESPOON LIGHT CREAM\n500ML 2 CUPS WHITE CHICKEN\nSTOCK (SEE P. 246)\n4 SPRIGS FRESH THYME\n1 SPRIG FRESH TARRAGON\n1 DRIED FENNEL STICK\nFINISHING\n20G 0.71 OUNCE\n(1 1/2 TABLESPOONS) BUTTER\nSALT\nFRESHLY GROUND PEPPER\n1/2 BUNCH CHIVES\nSOFT (SEMI-) WHIPPED CREAM*\n5ML 1 TEASPOON COGNAC\nCRAYFISH\nRinse the crayfish in cold water. Devein them: Prick the tail fin\nwith a toothpick to draw out and remove the black vein (intestine).\nThen separate the heads and claws from the tails. Put them into two\ndifferent strainers (sieves) to drain. Cut the unpeeled shallots into\n3mm 1/8 inch-thick rounds. Crush the garlic clove, and crush the\nparsley sprig with your hands.\nHeat the olive oil in a Dutch oven (cast-iron casserole) and sear* the\ncrayfish tails. When they turn very red, lower the heat and add the\nbutter, the shallot, garlic, parsley, and peppercorns. Deglaze* with\nthe cognac and cover the pan with a damp cloth. Let rest for a few\nminutes. Peel the tails while they are still warm.\nMAKE THE SOUP\nUse scissors to cut up the crayfish heads and claws. Peel and slice*\nthe carrots, shallots, and garlic, and slice the fennel. Chop the toma-\ntoes into chunks; set aside.\nHeat the olive oil in a Dutch oven and sear* the crayfish pieces over\nhigh heat. When the crayfish pieces have turned red, lower the heat\nand add the butter. Add the carrots, shallots, garlic, fennel, and\ntomato paste, and cook until the vegetables are soft. Deglaze the\npan with the white wine and reduce* completely. Add the cream and\ncover the contents of the pan with chicken stock.\nAdd the thyme, tarragon, dried fennel stick, and chopped tomatoes.\nSimmer* for 25 minutes, skimming regularly. Remove from the heat\nand set aside* one-quarter of the liquid, which will be used to dilute\nthe soup. Remove the herbs, fennel, and crawfish heads and claws\nand discard. Use a handheld blender to blend the soup, then press*\nthrough a conical strainer* as firmly as possible into a saucepan.\nFINISHING\nBrown* the crayfish tails in the butter and adjust the seasoning. Snip*\nthe chives. Arrange the crayfish tails in a bowl. Add a quenelle of\nsoft whipped cream and the chives. Reheat the soup, if necessary.\nAdjust the seasoning, add the cognac, and beat* lightly. Serve the\nsoup separately.\nTHE WINE\nA WHITE RHÔNE WINE, SUCH AS\nCÔTES DU RHÔNE VILLAGE VALREAS" - Assistant