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": "English Beef Stew\nOne key to making beef stew in 30 minutes when it's usually a several-hour operation is to get yourself a nice big\nstew pot or Dutch oven, so you can brown all the beef in one shot. The other trick is to buy an already tender cut\nof beef. Traditional beef stew is made with tough cuts, like chuck, which take several hours of slow cooking to\ntenderize. When you don't have the time for that, go for a more tender cut, like top sirloin. Look for sales; sirloin\ncan be as cheap as chuck. If you can find an already chopped mirepoix (prechopped onions, celery, and carrots),\njust use 3 cups of that for your veggies. Otherwise, use your Vidalia Chop Wizard for speedy prep, or chop the\nonions, carrots, and celery in the food processor, pulsing until you've got a nice dice.\nSERVES 4 TO 6\n4 tablespoons olive oil\n1½ pounds boneless beef top sirloin, cut into I-inch cubes (ask the butcher to cube it for you)\n12 ounces tiny potatoes (I inch in diameter) or new potatoes, cut into 1-inch pieces\nI cup diced yellow onion\nI cup diced carrot\nI cup diced celery\n2 cloves garlic, minced or pressed\n½ teaspoon kosher salt\n¼ teaspoon ground pepper\n¼ teaspoon smoked Spanish paprika\nBig pinch of ground allspice\n3 tablespoons superfine brown rice flour\n2½ cups beef broth\n2 teaspoons honey\nI tablespoon freshly squeezed lemon juice\n¼ cup ketchup\n1 Heat 2 tablespoons of the olive oil over high heat in a large heavy pot or casserole (I use a Dutch oven). Once the\noil is shimmering and really hot, add the meat, being sure not to overcrowd it, and brown on all sides, 4 to 5 minutes\ntotal. Transfer the meat to a plate, tent loosely with aluminum foil, and set aside.\n2 Meanwhile, put the potatoes in a microwave-safe container, cover loosely, and microwave on high for 4 minutes.\nSet aside.\n3 Add the remaining 2 tablespoons olive oil to the pot and reduce the heat to medium. Add the onion, carrot,\ncelery, potatoes, garlic, salt, pepper, paprika, and allspice. Cook for 3 minutes, stirring often. Sprinkle over the brown\nrice flour and cook for 2 minutes more, stirring often.\n4 Add the broth, bring to a simmer, and deglaze the pan by scraping up the browned bits at the bottom, about 1\nminute. Add the honey, lemon juice, and ketchup. Return to a simmer, reduce the heat to medium-low, and cook for\n10 minutes. Return the beef to the pot, heat through, and serve." - Assistant