gpt-4o-mini-2024-07-18· OpenAI
WildChat-4.8M (AI2)
Goal L'objectif est d'extraire et structurer les informations d'une recette de cuisine…
- User
Goal L'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 Tu dois renvoyer 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 si c'est une boisson choisis parmis (beverage) et si c'est de la nourriture alors choisis la meilleure option parmis (appetizer, starter, main, dessert, breakfast, snack, 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": "Audrey's Pepper Steak\nMY WIFE HAS BEEN MAKING her mama's pepper steak as long as we've been together, and it will always be a Cason\nfamily favorite. It's comfort and memories all in one dish. We serve this over rice, egg noodles, or mashed potatoes.\nMakes: 6 to 8 servings\nPrep time: 20 minutes\nTotal time: 3 hours\nINGREDIENTS\n2 pounds beef top sirloin, cut into 1-inch strips\n3 tablespoons all-purpose flour\n1 tablespoon store-bought Big Moe Cason Beef Rub\n3 tablespoons extra-virgin olive oil\n1 large white onion, sliced\n1 teaspoon crushed red pepper flakes\n4 cloves garlic, roughly chopped\n1 tablespoon tomato paste\n1½ cups beef stock\n1 (28-ounce) can diced tomatoes\n2 bay leaves\n1 tablespoon herbes de Provence\n1 teaspoon Worcestershire sauce\n1 green bell pepper, seeded and sliced\n1 red bell pepper, seeded and sliced\n1 yellow bell pepper, seeded and sliced\nKosher salt and freshly cracked pepper\nDIRECTIONS\n1. Preheat oven to 350°F.\n2. Place sirloin in a large bowl, and toss with flour and beef rub.\n3. In a large Dutch oven, heat 1½ tablespoons olive oil over medium-high heat. Add half the sirloin, and cook, turning\nonce, until browned, 2 to 3 minutes. Transfer to a plate, and repeat with remaining oil and sirloin. Return all sirloin to the\npot.\n4. Reduce heat to medium-low. Stir in onion and red pepper flakes. Cook, stirring often, until onion starts to soften, about\n3 minutes. Add garlic and tomato paste, and cook 1 minute. Add beef stock, scraping the bottom of the pot for those tasty\nbits. Stir in tomatoes, bay leaves, herbes de Provence, and Worcestershire sauce. Bring to a simmer.\n5. Cover Dutch oven with foil or an oven-safe lid, and place in oven. Bake for 1½ hours. Remove from oven, and stir in\nsliced peppers. Cover, return to oven, and cook until meat and peppers are tender, 30 to 45 minutes (no one likes mushy\npeppers). The meat should have a pot roast-like tenderness when done. Let stand for 15 minutes. Discard bay leaves.\nSeason with salt and pepper."}
- Assistant
{ "NbPersons": 7, "Language": "en", "Category": "main", "Title": "Audrey's Pepper Steak", "Subtitle": "", "Preparation_Time": 20, "Cooking_Time": 135, "Difficulty": "medium", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "2 pounds beef top sirloin, cut into 1-inch strips", "3 tablespoons all-purpose flour", "1 tablespoon store-bought Big Moe Cason Beef Rub", "3 tablespoons extra-virgin olive oil", "1 large white onion, sliced", "1 teaspoon crushed red pepper flakes", "4 cloves garlic, roughly chopped", "1 tablespoon tomato paste", "1½ cups beef stock", "1 (28-ounce) can diced tomatoes", "2 bay leaves", "1 tablespoon herbes de Provence", "1 teaspoon Worcestershire sauce", "1 green bell pepper, seeded and sliced", "1 red bell pepper, seeded and sliced", "1 yellow bell pepper, seeded and sliced", "Kosher salt and freshly cracked pepper" ] } ], "Description": "MY WIFE HAS BEEN MAKING her mama's pepper steak as long as we've been together, and it will always be a Cason family favorite. It's comfort and memories all in one dish. We serve this over rice, egg noodles, or mashed potatoes.", "Instructions": [ "Preheat oven to 350°F.", "Place sirloin in a large bowl, and toss with flour and beef rub.", "In a large Dutch oven, heat 1½ tablespoons olive oil over medium-high heat. Add half the sirloin, and cook, turning once, until browned, 2 to 3 minutes. Transfer to a plate, and repeat with remaining oil and sirloin. Return all sirloin to the pot.", "Reduce heat to medium-low. Stir in onion and red pepper flakes. Cook, stirring often, until onion starts to soften, about 3 minutes. Add garlic and tomato paste, and cook 1 minute. Add beef stock, scraping the bottom of the pot for those tasty bits. Stir in tomatoes, bay leaves, herbes de Provence, and Worcestershire sauce. Bring to a simmer.", "Cover Dutch oven with foil or an oven-safe lid, and place in oven. Bake for 1½ hours. Remove from oven, and stir in sliced peppers. Cover, return to oven, and cook until meat and peppers are tender, 30 to 45 minutes (no one likes mushy peppers). The meat should have a pot roast-like tenderness when done. Let stand for 15 minutes. Discard bay leaves.", "Season with salt and pepper." ], "AuthorName": "", "Notes_Ingredients": "", "Notes_Instructions": "" }