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": "Chicken Nuggets and Sweet Potato Fries\nWhat's happier than a happy meal with chicken nuggets and fries? An allergy-free happy meal with organic\nchicken nuggets and beta carotene-packed sweet potato fries, all with half the fat! Choice Batter, featured in this\nrecipe, absorbs 50 percent less fat than traditional batter does.\nThe trick to these allergy-free nuggets is your food processor. I first learned about binding meat with itself\ninstead of with eggs or breadcrumbs from Ana Sortun's fantastic cookbook Spice. She specializes in Eastern\nMediterranean recipes, and teaches that kneading meat in the food processor causes the proteins to change,\ncreating a creamier consistency that holds together beautifully, for tender, light patties, kebabs, and nuggets.\nVoila, all chicken, no allergens!\nYou don't need a deep fryer for this recipe, but you do need a candy thermometer. I have an inexpensive one\nthat measures temperature for both candy and oil (see Resources). I've written the fries recipe to serve four 3-\nounce portions; you can double the recipe if you'd like more.\nSERVES 4\n1 (12-ounce) bag sweet potato spears or 2 medium-size sweet potatoes, peeled, halved horizontally, and cut into ½-inch spears\n2 tablespoons olive oil\nSalt and freshly ground pepper\n¼ teaspoon garlic powder\n¼ teaspoon sweet paprika\nI pound chicken breast, cut into 1-inch chunks\n3 cups canola oil\nI cup Choice Batter (see Resources)\n6 tablespoons cold water\nKetchup or other condiments of choice (optional)\n1 Preheat the oven to 450°F. Line a baking tray with parchment paper.\n2 Toss the sweet potatoes in the olive oil. Sprinkle with ½ teaspoon of salt, ¼ teaspoon of pepper, and the garlic\npowder and paprika, and toss well. Spread on the prepared baking tray, being sure not to overcrowd. Bake for 20 to\n25 minutes, shaking the tray a few times, until golden. (If you cook on the convection setting, the potatoes will cook\nfaster.)\n3 Meanwhile, add the chicken to the food processor, season with salt and pepper, and pulse until you have made a\npaste, about 100 quick pulses.\n4 Wet your hands slightly with cool water and mold the chicken into 1%-inch balls. You will have about 20. Use the\npalm of your hand to press them down into nugget shapes.\n5 Heat the canola oil in a large, deep, heavy pan over high heat until it reaches 375°F on a candy or oil\nthermometer.\n6 Combine the Choice Batter with 4 teaspoon of pepper in a wide dish or bowl. Whisk well. Pour in the cold water\nand stir until smooth. Let rest for 5 minutes.\n7 Gently add half the nuggets to the batter, turning to make sure they are well coated. Test the oil for readiness by\ndropping in a tiny bit of batter; it should sizzle up fast.\n8 Add some of the battered nuggets to the hot oil, being careful not to splatter yourself. Do not overlap them, or\nthey'll stick together. Cook the nuggets for 5 to 6 minutes, turning halfway through, until deeply golden. Transfer\nwith tongs to a paper towel-lined platter. Repeat with the remaining nuggets. Serve with ketchup or the condiments\nof your choice." - Assistant