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": "Quick Ratatouille\nThis super speedy version of the classic Provençal summertime dish is another way to make use of my favorite\nkitchen gadget, the Vidalia Chop Wizard. Use it with the larger grid (12-inch dice) to prep your onions, eggplant,\nzucchini, and summer squash in record time. Just slice the zucchini and summer squash lengthwise into 1/2-inch\npieces, then use the Chop Wizard to dice. Cut the eggplant into 1/2-inch rounds, and do the same. Voila-perfect\nlittle 1/2-inch cubes! After making this dish, I decided I prefer it to traditional ratatouille, which is often stewed to\nmush. It's pretty and delicate and perfectly cooked. Serve with quinoa or any other gluten-free grain you like.\nSERVES 4\n4 tablespoons olive oil\nI cup small-diced red onion\n½ teaspoon salt\n3 cloves garlic, minced or pressed\nI pound eggplant (about I medium), peeled, cut into ½-inch rounds, then diced into ½-inch pieces\n8 ounces zucchini, cut into ½-inch pieces\n8 ounces summer squash, cut into ½-inch pieces\n½ teaspoon herbes de Provence (preferably Spicely brand)\n2 (14.5-ounce) cans diced tomatoes\nFreshly ground pepper\n2 tablespoons chopped fresh basil\n1 Heat 2 tablespoons of the olive oil in a large Dutch oven over medium-high heat. Add the onion and salt and cook\nuntil softened and starting to brown, about 3 minutes. Add the garlic and stir. Add the remaining 2 tablespoons\nolive oil and the eggplant and cook, stirring often, for 4 minutes, until the eggplant is softened.\n2 Add the zucchini and squash and toss, add the herbes de Provence and stir, and add the tomatoes and a few\nturns of pepper. Bring to a simmer, reduce the heat to medium-low, and cook, covered, for 15 minutes, stirring\noccasionally, until the vegetables are tender and the sauce has thickened up a bit. Remove the lid and cook for about\n1 more minute, stirring a few times. Remove from the heat and stir in the basil. Serve hot, cold, or at room\ntemperature." - Assistant
{ "NbPersons": 4, "Language": "en", "Category": "main", "Title": "Quick Ratatouille", "Subtitle": "A speedy version of the classic Provençal dish", "Preparation_Time": 10, "Cooking_Time": 22, "Difficulty": "easy", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "4 tablespoons olive oil", "1 cup small-diced red onion", "½ teaspoon salt", "3 cloves garlic, minced or pressed", "1 pound eggplant (about 1 medium), peeled, cut into ½-inch rounds, then diced into ½-inch pieces", "8 ounces zucchini, cut into ½-inch pieces", "8 ounces summer squash, cut into ½-inch pieces", "½ teaspoon herbes de Provence (preferably Spicely brand)", "2 (14.5-ounce) cans diced tomatoes", "Freshly ground pepper", "2 tablespoons chopped fresh basil" ] } ], "Description": "This super speedy version of the classic Provençal summertime dish is another way to make use of my favorite kitchen gadget, the Vidalia Chop Wizard. It's pretty and delicate and perfectly cooked. Serve with quinoa or any other gluten-free grain you like.", "Instructions": [ "Heat 2 tablespoons of the olive oil in a large Dutch oven over medium-high heat. Add the onion and salt and cook until softened and starting to brown, about 3 minutes. Add the garlic and stir.", "Add the remaining 2 tablespoons olive oil and the eggplant and cook, stirring often, for 4 minutes, until the eggplant is softened.", "Add the zucchini and squash and toss, add the herbes de Provence and stir, and add the tomatoes and a few turns of pepper.", "Bring to a simmer, reduce the heat to medium-low, and cook, covered, for 15 minutes, stirring occasionally, until the vegetables are tender and the sauce has thickened up a bit.", "Remove the lid and cook for about 1 more minute, stirring a few times.", "Remove from the heat and stir in the basil. Serve hot, cold, or at room temperature." ], "AuthorName": "", "Notes_Ingredients": "", "Notes_Instructions": "" }