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": "52 APPETIZERS\nALLARD\nEGGS EN MEURETTE\nSERVES 4\nPREPARATION: 30 MINUTES\nCOOKING: 45 MINUTES\nMEURETTE SAUCE\n150G 5.29 OUNCES CURED BACON\n80G 2.82 OUNCES GRELOT\nONIONS OR SMALL PEARL ONIONS\n200G 7 OUNCES WHITE\nBUTTON MUSHROOMS\n65G 2.29 OUNCES\n(4 1/2 TABLESPOONS) BUTTER\n1 CLOVE GARLIC\n2 SPRIGS THYME\n500ML 2 CUPS RED WINE\n100ML 1/3 CUP PLUS\n1 TABLESPOON BEEF JUS\n(SEE P. 248)\nFLEUR DE SEL\nFRESHLY GROUND PEPPER\nPOACHED EGGS\n50 ML 3 1/2 TABLESPOONS\nWHITE WINE VINEGAR\n8 FRESH EGGS\nCROUTONS\n3 SLICES SANDWICH BREAD\n100ML 1/3 CUP PLUS\n1 TABLESPOON CLARIFIED BUTTER\n(SEE P. 245)\nSALT\nFINISHING\nCOARSELY GROUND PEPPER\nMAKE THE MEURETTE\nSAUCE\n-\nCut the bacon into small dice (lardons). Peel the onions. Remove\nthe mushroom stems and wash the caps thoroughly. Melt 50g\n1.76 ounces (3 1/2 tablespoons) butter in a Dutch oven (cast-iron\ncasserole), then add the lardons. Brown them until golden, then add\nthe onions to caramelize. Add the mushrooms, garlic, and thyme,\nand cook for 10 minutes, stirring occasionally.\nPour the wine into a sauté pan*, bring to a boil, and flambé. Reduce\nby one-third, then add the beef jus and reduce by one-third again.\nFilter the sauce through a strainer (sieve) into a bowl, then whip* it\nwith the remaining 15g - 0.53 ounce (1 tablespoon) butter. Add the\nvegetables and lardons to the sauce.\nMAKE THE\nPOACHED\nEGGS\nPut 2 liters 8 1/2 cups water into a saucepan and add the vinegar.\nBring to a simmer. Break each egg into a ramekin, and gently tip the\neggs, one at a time, into the pan. Cook the eggs for 2 to 3 minutes\nand turn the eggs over. Check how cooked they are by pressing\ngently with your finger. Drain the eggs on paper towels.\nMAKE THE CROUTONS\nCut each slice of bread into four triangles. Heat the clarified butter\nin a skillet or frying pan and toast the bread on both sides until\ngolden. Drain on paper towels and season with salt.\nFINISHING\nMake a bed with the vegetables and lardons in bowls. Arrange the\npoached eggs over the garnish and cover with a generous amount of\nmeurette sauce. Add a pinch of coarsely ground pepper and arrange\nthe croutons on top.\nTHE WINE\nA RED BURGUNDY, SUCH AS AUXEY DURESSES"}
- Assistant
{ "NbPersons": 4, "Language": "en", "Category": "appetizer", "Title": "EGGS EN MEURETTE", "Subtitle": "A delightful combination of poached eggs and meurette sauce.", "Preparation_Time": 30, "Cooking_Time": 45, "Difficulty": "medium", "Ingredients": [ { "section": "MEURETTE SAUCE", "ingredients": [ "150G 5.29 OUNCES CURED BACON", "80G 2.82 OUNCES GRELOT ONIONS OR SMALL PEARL ONIONS", "200G 7 OUNCES WHITE BUTTON MUSHROOMS", "65G 2.29 OUNCES (4 1/2 TABLESPOONS) BUTTER", "1 CLOVE GARLIC", "2 SPRIGS THYME", "500ML 2 CUPS RED WINE", "100ML 1/3 CUP PLUS 1 TABLESPOON BEEF JUS", "FLEUR DE SEL", "FRESHLY GROUND PEPPER" ] }, { "section": "POACHED EGGS", "ingredients": [ "50 ML 3 1/2 TABLESPOONS WHITE WINE VINEGAR", "8 FRESH EGGS" ] }, { "section": "CROUTONS", "ingredients": [ "3 SLICES SANDWICH BREAD", "100ML 1/3 CUP PLUS 1 TABLESPOON CLARIFIED BUTTER", "SALT" ] }, { "section": "FINISHING", "ingredients": [ "COARSELY GROUND PEPPER" ] } ], "Description": "A delightful combination of poached eggs and meurette sauce.", "Instructions": [ "Cut the bacon into small dice (lardons). Peel the onions. Remove the mushroom stems and wash the caps thoroughly. Melt 50g 1.76 ounces (3 1/2 tablespoons) butter in a Dutch oven (cast-iron casserole), then add the lardons. Brown them until golden, then add the onions to caramelize. Add the mushrooms, garlic, and thyme, and cook for 10 minutes, stirring occasionally.", "Pour the wine into a sauté pan*, bring to a boil, and flambé. Reduce by one-third, then add the beef jus and reduce by one-third again. Filter the sauce through a strainer (sieve) into a bowl, then whip* it with the remaining 15g - 0.53 ounce (1 tablespoon) butter. Add the vegetables and lardons to the sauce.", "Put 2 liters 8 1/2 cups water into a saucepan and add the vinegar. Bring to a simmer. Break each egg into a ramekin, and gently tip the eggs, one at a time, into the pan. Cook the eggs for 2 to 3 minutes and turn the eggs over. Check how cooked they are by pressing gently with your finger. Drain the eggs on paper towels.", "Cut each slice of bread into four triangles. Heat the clarified butter in a skillet or frying pan and toast the bread on both sides until golden. Drain on paper towels and season with salt.", "Make a bed with the vegetables and lardons in bowls. Arrange the poached eggs over the garnish and cover with a generous amount of meurette sauce. Add a pinch of coarsely ground pepper and arrange the croutons on top." ], "AuthorName": "ALLARD", "Notes_Ingredients": "", "Notes_Instructions": "" }