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": "Everyday\nFor 4\nPreparation time: 40 min\nCooking time: 6 min\nSardine tempura\nwith Choron sauce\nJapanese tempura is surprisingly easy to make at home. In this version,\nI've made it with sardines and vegetables. To learn the secret of a perfect\nChoron sauce, turn to page 122...\nThe vegetables\n2 litres/3½ pints oil for deep-frying\nI courgette (zucchini)\n2 carrots.\n2 baby violet artichokes\njuice of 1 lemon\nThe tempura batter\n75 g/24 oz fromage frais (quark)\nI egg\n125 ml/4 fl oz cold water\n15 g/½ oz baking powder\n50 g/14 oz cornflour (cornstarch)\n100 g/3½ oz plain (all-purpose) flour\npinch of fine salt\nThe fish\n24 sardine fillets\nThe Choron sauce\n50 ml/14 fl oz white wine\n1/2 shallot\n3 sprigs of tarragon\nI teaspoon roughly crushed\nblack pepper\n2 teaspoons tomato purée\n4 egg yolks\n150 g/5½½ oz clarified butter (see p. 16)\nfine salt\n1-The vegetables\nPreheat a deep-fryer to 180°C/350°F or gently heat the oil in a large saucepan. Wash\nthe courgette, then cut it into matchsticks. Peel and trim the carrots and cut into\nmatchsticks the same size as the courgette. Remove and discard the artichoke leaves,\njust keeping the hearts. Finely slice the artichoke hearts, preferably with a mandoline,\nthen toss with the lemon juice to prevent them turning black.\n2-The tempura batter\nMix all the ingredients together to make a smooth batter.\n3-Finishing off\nMake the Choron sauce (see step-by-step method on p. 122). Coat the sardine\nfillets and the vegetables in the tempura batter, then deep-fry in the hot oil for about\n2-3 minutes. Remove with a slotted spoon, shaking off any excess oil, then drain\nbriefly on kitchen paper and season with salt. Eat hot with the Choron sauce.\n121" - Assistant
{ "NbPersons": 4, "Language": "en", "Category": "main", "Title": "Sardine tempura", "Subtitle": "with Choron sauce", "Preparation_Time": 40, "Cooking_Time": 6, "Difficulty": "medium", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "2 litres/3½ pints oil for deep-frying", "1 courgette (zucchini)", "2 carrots.", "2 baby violet artichokes", "juice of 1 lemon", "75 g/24 oz fromage frais (quark)", "1 egg", "125 ml/4 fl oz cold water", "15 g/½ oz baking powder", "50 g/14 oz cornflour (cornstarch)", "100 g/3½ oz plain (all-purpose) flour", "pinch of fine salt", "24 sardine fillets", "50 ml/14 fl oz white wine", "1/2 shallot", "3 sprigs of tarragon", "1 teaspoon roughly crushed black pepper", "2 teaspoons tomato purée", "4 egg yolks", "150 g/5½½ oz clarified butter (see p. 16)", "fine salt" ] } ], "Description": "Japanese tempura is surprisingly easy to make at home. In this version, I've made it with sardines and vegetables. To learn the secret of a perfect Choron sauce, turn to page 122...", "Instructions": [ "1-The vegetables\nPreheat a deep-fryer to 180°C/350°F or gently heat the oil in a large saucepan. Wash the courgette, then cut it into matchsticks. Peel and trim the carrots and cut into matchsticks the same size as the courgette. Remove and discard the artichoke leaves, just keeping the hearts. Finely slice the artichoke hearts, preferably with a mandoline, then toss with the lemon juice to prevent them turning black.", "2-The tempura batter\nMix all the ingredients together to make a smooth batter.", "3-Finishing off\nMake the Choron sauce (see step-by-step method on p. 122). Coat the sardine fillets and the vegetables in the tempura batter, then deep-fry in the hot oil for about 2-3 minutes. Remove with a slotted spoon, shaking off any excess oil, then drain briefly on kitchen paper and season with salt. Eat hot with the Choron sauce." ], "AuthorName": "", "Notes_Ingredients": "", "Notes_Instructions": "" }