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). Sinon choisis la meilleure option parmis (bread, appetizer, starter, main, dessert, breakfast, snack, teatime, 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": "For 6\nPreparation time: 25 min\nCooking time: 8 min\nPommes soufflées\nre-invented\nThere is nothing more delicious or more impressive than a plate of\npommes soufflées. It's a very 'cheffy' recipe, but I think that anyone who\nloves cooking can make them. Pommes soufflés were one of my father's\nspecialities: he would make them at the restaurant for customers' children.\nI ate them all the time when I was little...\n1 kg/24 lb Agria potatoes,\nor other floury potato suitable\nfor making chips\n4 litres/7 pints groundnut (peanut)\noil, for two oil baths at different\ntemperatures\nsalt\nVariations\ncurry\ntandoori spices\npaprika\nherb salt\nEquipment\ncooking thermometer\n1-Preparing the potatoes\nWash, peel and trim the potatoes. Cut them into slices 3 mm/s in thick, then rinse\nagain and dry thoroughly on a clean tea towel.\n2-Cooking the potatoes\nImmerse the dry potato slices in a deep-fryer heated to 140°C/275°F. Stir the oil\ncontinuously with a spoon or spatula until the potato slices begin to puff, about\n5 minutes. Remove with a slotted spoon and immerse them in the second, hotter\ndeep-fryer, heated to 180°C/350°F. Keep stirring, to make them puff up. (See step-\nby-step method on p. 76.)\n3-Finishing off\nRemove the pommes soufflées from the oil, again with a slotted spoon, and drain\non kitchen paper. Season with salt, then flavour with whatever you like - just dust\nthe pommes soufflées with the spices or salt and toss gently, to avoid crushing them.\nThen eat them...\nTips |\n- You can do the first round of frying in advance then, when you're ready to eat, you only have\nto cook them once, in the 180°C/350°F oil.\n- You can also freeze the potatoes after their first frying.\n- Don't slice the potatoes too thickly, or they won't puff.\n- Serve them as soon as they are cooked.\n- Never cook these when there are children in the kitchen.\n- Always use a dry, firm potato variety.\nEntertaining\n92" - Assistant
{ "NbPersons": 6, "Language": "en", "Category": "snack", "Title": "Pommes soufflées", "Subtitle": "re-invented", "Preparation_Time": 25, "Cooking_Time": 8, "Difficulty": "medium", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 kg/24 lb Agria potatoes, or other floury potato suitable for making chips", "4 litres/7 pints groundnut (peanut) oil, for two oil baths at different temperatures", "salt", "curry", "tandoori spices", "paprika", "herb salt" ] } ], "Description": "There is nothing more delicious or more impressive than a plate of pommes soufflées. It's a very 'cheffy' recipe, but I think that anyone who loves cooking can make them. Pommes soufflés were one of my father's specialities: he would make them at the restaurant for customers' children. I ate them all the time when I was little...", "Instructions": [ "1-Preparing the potatoes", "Wash, peel and trim the potatoes. Cut them into slices 3 mm/s in thick, then rinse again and dry thoroughly on a clean tea towel.", "2-Cooking the potatoes", "Immerse the dry potato slices in a deep-fryer heated to 140°C/275°F. Stir the oil continuously with a spoon or spatula until the potato slices begin to puff, about 5 minutes. Remove with a slotted spoon and immerse them in the second, hotter deep-fryer, heated to 180°C/350°F. Keep stirring, to make them puff up. (See step-by-step method on p. 76.)", "3-Finishing off", "Remove the pommes soufflées from the oil, again with a slotted spoon, and drain on kitchen paper. Season with salt, then flavour with whatever you like - just dust the pommes soufflées with the spices or salt and toss gently, to avoid crushing them. Then eat them..." ], "AuthorName": "", "Notes_Ingredients": "You can do the first round of frying in advance then, when you're ready to eat, you only have to cook them once, in the 180°C/350°F oil. You can also freeze the potatoes after their first frying. Don't slice the potatoes too thickly, or they won't puff. Always use a dry, firm potato variety.", "Notes_Instructions": "Serve them as soon as they are cooked. Never cook these when there are children in the kitchen." }