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": "Balsamic-Glazed Steak Tips with Roasted Fingerling Potatoes and\nCreamed Spinach\nAlthough this dish might seem fancy, it's one of the easiest recipes in the book. My son Lennon is crazy for\nfingerling potatoes and loves swirling them in the balsamic glaze. Rosemary and balsamic really bring out the\nbest in top sirloin, which pairs beautifully with the sweetness of the glaze. The Creamed Spinach is optional, but\nnote that it is divine. It's rich and creamy, with absolutely no cream at all. I could eat the whole batch with a\nspoon.\nSERVES 4\n3 tablespoons Earth Balance soy-free buttery spread, at room temperature\n2 teaspoons minced fresh rosemary\nKosher salt\n1½ pounds top sirloin steak, cut into 2-inch chunks\nFreshly ground pepper\nI tablespoon olive oil\n2 tablespoons minced shallot\n¼ cup balsamic vinegar\nI teaspoon honey\nRoasted Fingerling Potatoes\nCreamed Spinach\n1 Combine the buttery spread with the minced rosemary and a big pinch of kosher salt. Mix well with a spoon until\ncompletely blended. Scoop out onto a piece of plastic wrap and roll into a cylinder. Chill in the freezer for 20\nminutes.\n2 Meanwhile, pat the steak tips dry and season with kosher salt and freshly ground pepper.\n3 Heat the olive oil in a large skillet over medium-high heat until just about to smoke. Add the steak tips and cook\nfor 5 to 6 minutes, until browned on all sides. Transfer to a plate and tent loosely with aluminum foil.\n4 Reduce the heat to medium and add the shallot to the skillet. Cook, stirring, for 1 to 2 minutes, until tender and\nstarting to brown. Add the balsamic vinegar and honey. Increase the heat to medium-high and simmer for 3 to 4\nminutes, until reduced by half. Return the steak tips to the pan, along with any juices that have accumulated on the\nplate, turning them in the glaze. Serve with the Roasted Fingerling Potatoes and Creamed Spinach alongside, topped\nwith a little pat of the compound \"butter.\"\nROASTED FINGERLING POTATOES\nI pound fingerling potatoes\n2 tablespoons olive oil\n¼ teaspoon kosher salt\n2 teaspoons chopped fresh rosemary\n4 cloves garlic, finely minced or pressed\nPreheat the oven to 425°F. Combine all the ingredients in a bowl, tossing well to coat. Transfer to a small baking\ndish or roasting pan, using a rubber spatula to scrape out all of the olive oil and seasonings onto the potatoes. Roast\nfor 25 minutes, until golden brown, tossing a couple of times.\nCREAMED SPINACH\n2 tablespoons olive oil\n½ cup diced yellow onion\n2 tablespoons superfine brown rice flour\n1½ cups rice milk, warmed\nI pound fresh baby spinach\nBig pinch of ground nutmeg\nFreshly ground pepper\n¼ teaspoon salt\n¼ cup shredded Dalya vegan cheddar\n1 In a medium-size pot, heat the olive oil over medium heat. Add the onion and cook, stirring often, for 6 minutes,\nuntil starting to brown.\n2 Add the brown rice flour and cook for 2 minutes, stirring constantly, until golden and aromatic. Add the warm rice\nmilk, stirring constantly. Bring to a simmer; reduce the heat to medium-low and cook for 5 minutes to thicken up a\nbit, stirring often.\n3 Meanwhile, bring a large pot of water to a boil and steam or blanch the spinach until just wilted and dark green,\nabout 3 minutes. Transfer to a colander, run under cold water to stop the cooking, and squeeze out any excess\nliquid. Pulse in a food processor until coarsely chopped, about 15 pulses, or chop coarsely by hand.\n4 Add a big pinch of nutmeg to the rice milk mixture, along with a few turns of pepper and the salt. Add the vegan\ncheddar and cook, stirring often, for 2 minutes, until the cheese is starting to melt. Add the chopped spinach and\ncook until heated through and creamy, about 2 minutes more. Serve hot!" - Assistant