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": "ARK\nSCRAMBLED EGGS\nwith Truffle\nAPPETIZERS 51\nBENOIT\nMAKE THE\nSCRAMBLED\nEGGS\nChop 20g 0.71 ounce of the truffle. Break the eggs into a bowl.\nSeason with fleur de sel and pepper and add the chopped truffle.\nMix and rest for the time it takes to prepare toast \"soldiers.\" Cut the\nslices of bread into 7 x 2cm -2 3/4 x 3/4 inch strips. Brush them with\n60ml-1/4 cup chicken jus and caramelize under the oven broiler (grill).\nHeat the butter in a sauté pan. When it becomes foamy, add the eggs\nand cook over low heat while mixing with a whisk. The scrambled\neggs should remain somewhat runny.\nStop the cooking process by adding the cream. Thinly slice the\nremaining truffle and the fatback. Arrange a few truffle slices on the\nstrips of toast soldiers, setting aside a few slices for finishing, as well.\nas very thin slices of fatback.\nFINISHING\nServe the scrambled eggs on a round plate and arrange several\ntruffle slices on top. Drizzle the remaining hot chicken jus over the\ntop. Serve the toast soldiers separately.\nSERVES 4\nPREPARATION: 20 MINUTES\nCOOKING: 4 MINUTES\nSCRAMBLED EGGS\n70G 2.47 OUNCES BLACK TRUFFLE\n12 FREE-RANGE EGGS\nFLEUR DE SEL\nFRESHLY GROUND PEPPER\n2 SLICES PAIN DE CAMPAGNE\n120ML 1/2 CUP CHICKEN JUS\n(SEE P. 250)\n10G 0.35 OUNCE\n(3/4 TABLESPOON) BUTTER\n200ML 3/4 CUP PLUS\n1 TABLESPOON LIGHT CREAM\n50G 1.76 OUNCES FATBACK\n(PORK FAT)\nTHE WINE\nA RED LANGUEDOC WINE, SUCH AS CORBIÈRES-BOUTENAC" - Assistant
{ "NbPersons": 4, "Language": "en", "Category": "appetizer", "Title": "SCRAMBLED EGGS", "Subtitle": "with Truffle", "Preparation_Time": 20, "Cooking_Time": 4, "Difficulty": "medium", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "20g 0.71 ounce of the truffle", "12 FREE-RANGE EGGS", "FLEUR DE SEL", "FRESHLY GROUND PEPPER", "2 SLICES PAIN DE CAMPAGNE", "120ML 1/2 CUP CHICKEN JUS", "10G 0.35 OUNCE (3/4 TABLESPOON) BUTTER", "200ML 3/4 CUP PLUS 1 TABLESPOON LIGHT CREAM", "50G 1.76 OUNCES FATBACK (PORK FAT)" ] } ], "Description": "A luxurious dish of creamy scrambled eggs enriched with the flavor of truffles, perfect for an elegant appetizer.", "Instructions": [ "Chop 20g 0.71 ounce of the truffle.", "Break the eggs into a bowl.", "Season with fleur de sel and pepper and add the chopped truffle.", "Mix and rest for the time it takes to prepare toast \"soldiers.\"", "Cut the slices of bread into 7 x 2cm -2 3/4 x 3/4 inch strips.", "Brush them with 60ml-1/4 cup chicken jus and caramelize under the oven broiler (grill).", "Heat the butter in a sauté pan.", "When it becomes foamy, add the eggs and cook over low heat while mixing with a whisk.", "The scrambled eggs should remain somewhat runny.", "Stop the cooking process by adding the cream.", "Thinly slice the remaining truffle and the fatback.", "Arrange a few truffle slices on the strips of toast soldiers, setting aside a few slices for finishing, as well as very thin slices of fatback.", "Serve the scrambled eggs on a round plate and arrange several truffle slices on top.", "Drizzle the remaining hot chicken jus over the top.", "Serve the toast soldiers separately." ], "AuthorName": "BENOIT", "Notes_Ingredients": "The wine is a red Languedoc wine, such as Corbières-Boutenac.", "Notes_Instructions": "" }