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, mocktail). Sinon choisis la meilleure option parmis (bread, appetizer, starter, main, dessert, breakfast, snack, teatime, jam, sauce, icecream) - 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": "Out-N-In Burgers\nOne of the highlights of living in Southern California is In-N-Out Burger. These famous fast food burgers are\nknown for their delicious special sauce and combo of tomato, iceberg lettuce, and sweet onion. But they are off-\nlimits for those with dairy, egg, soy, or wheat/gluten allergies. I decided to remedy that for you, so that those with\nallergies (and those in other parts of the world) could still enjoy this awesome savory treat. You may wish to cut\nyour burgers in half for kids; at In-N-Out they wrap them in a neat little packet to catch the sauce. This allergy-\nfree burger is sure to make you feel out while you're in. Sliced Daiya vegan cheeses are available at the Whole\nFoods deli counter, and they are also now selling it in wedges.\nSERVES 4\n6 tablespoons Rice Milk Mayonnaise, or vegan soy-free mayonnaise (see Resources)\n2 tablespoons ketchup\n4 teaspoons sweet relish\nI teaspoon sugar\nI teaspoon cider vinegar\nI\npound 85 percent lean ground beef\n4 allergy-friendly hamburger buns (see Resources)\n4 bun-size pieces iceberg lettuce\n4 (¼-inch-thick) slices ripe but firm tomato (preferably beefsteak)\n4 (½-inch-thick) round slices sweet onion\nSalt and freshly ground pepper\n2 teaspoons canola oil\n4 ounces Daiya vegan cheddar, thinly sliced\n1 Preheat the oven to 400°F.\n2 In a small bowl, combine the mayonnaise, ketchup, relish, sugar, and cider vinegar. Stir well until smooth, and set\naside.\n3 Mold the hamburger meat into four patties, each 4 inches in diameter and 1/4 inch thick.\n4 Bake the buns whole for about 2 minutes, until starting to brown on the outside.\n5 Meanwhile, lay out the lettuce, tomato, and onion for easy burger assembly. Season the burger patties with salt\nand pepper.\n6 Heat a large nonstick skillet over medium-high heat, add ½ teaspoon of the canola oil, and heat until\nshimmering. Split 2 of the buns and add them to the pan cut side down. Cook the buns for 1 minute, until they are\ngolden brown on the cut sides. Transfer them to a plate, add another ½ teaspoon of canola oil to the pan, and repeat\nwith the other 2 buns.\n7 Heat ½ teaspoon more of the canola oil in the skillet. Add 2 of the burgers and cook for 2% minutes without\nmoving them, pressing down on them a few times with a spatula to press out some of the juices. Flip the burgers,\npress down firmly on each burger, and cook for 30 seconds. Top with 1 slice of cheese per burger, and cook for 2\nminutes more. Transfer to a plate. Add the remaining ½ teaspoon canola oil to the pan and repeat with the\nremaining 2 burgers.\n8 To assemble, spoon 1 heaping tablespoon of the special sauce onto each of the bottom buns, top with the\ntomato slices, iceberg lettuce, then burgers, then sweet onion slices, then top buns. I like a little extra special sauce\non mine, but let your taste be the judge." - Assistant