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": "Potatoes\nPreparation 20 mins\nCooking 30 mins\nDarphin\npotatoes\nAD- Variations: 1 or 2 chopped\nonions or chopped herbs, or carrots,\ncelery or courgettes, grated and\nadded to the potatoes when\nseasoning.\nPN- A non-stick pan in good\ncondition is essential for this dish!\nOtherwise you will have to use\ntoo much olive oil and your\nDarphin potatoes will not be as\nlow in fat as these. Serve them with\na green salad and a slice of ham or\nother cold meat. A yogurt and\nfruit to follow, and you have a\nreally well-balanced meal that's\nquick and easy to prepare.\nServes 4\nPeel, wash and dry 1 kg of potatoes and grate finely.\nSqueeze them between your hands and spread them on a clean tea\ntowel. Add salt and freshly ground black pepper.\nMix well with your hands so that they are seasoned evenly.\n... Heat a large non-stick frying pan with a tablespoon of olive oil,\ntip in the potatoes and press down with a spatula to form a\nregular pancake.\nCook for about 15 minutes over a medium heat.\n... Place a large round dish over the frying pan and turn it over so\nthat the potato cake is in the dish.\nBrush your frying pan with oil and slide the potatoes back in.\nCook for a further 12 to 15 minutes, still on a medium heat.\nTip the Darphin potatoes back onto the round dish. Add a generous\ntwist of freshly ground black pepper and serve.\n224. Vegetables"}
- Assistant
{ "NbPersons": 4, "Language": "en", "Category": "main", "Title": "Darphin potatoes", "Subtitle": "", "Preparation_Time": 20, "Cooking_Time": 30, "Difficulty": "easy", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 kg of potatoes", "1 tablespoon of olive oil" ] } ], "Description": "A yogurt and fruit to follow, and you have a really well-balanced meal that's quick and easy to prepare.", "Instructions": [ "Peel, wash and dry 1 kg of potatoes and grate finely.", "Squeeze them between your hands and spread them on a clean tea towel.", "Add salt and freshly ground black pepper.", "Mix well with your hands so that they are seasoned evenly.", "Heat a large non-stick frying pan with a tablespoon of olive oil, tip in the potatoes and press down with a spatula to form a regular pancake.", "Cook for about 15 minutes over a medium heat.", "Place a large round dish over the frying pan and turn it over so that the potato cake is in the dish.", "Brush your frying pan with oil and slide the potatoes back in.", "Cook for a further 12 to 15 minutes, still on a medium heat.", "Tip the Darphin potatoes back onto the round dish.", "Add a generous twist of freshly ground black pepper and serve." ], "AuthorName": "", "Notes_Ingredients": "Variations: 1 or 2 chopped onions or chopped herbs, or carrots, celery or courgettes, grated and added to the potatoes when seasoning.", "Notes_Instructions": "A non-stick pan in good condition is essential for this dish! Otherwise you will have to use too much olive oil and your Darphin potatoes will not be as low in fat as these. Serve them with a green salad and a slice of ham or other cold meat." }