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": "Entertaining\nFor 4\nPreparation time: 20 min\nCooking time: 10 min\nSardine rillettes\nwith whisky and\ncauliflower cream\nThis recipe is quick yet sophisticated. Combining sardines with\ncauliflower is really different and the whisky adds a bit of 'oomph'.\nTry it!\nThe sardine rillettes\n6 large canned sardines\n100 g/3½ oz salted butter\n2 tablespoons whisky\n30 ml/1 fl oz double or whipping\n(heavy) cream\nThe cauliflower cream\n200 g/7 oz cauliflower\n85 ml/24 fl oz double (heavy) cream\nfine salt\nThe melba toast\n6 slices white bread\n50 g/14 oz clarified butter (see p. 16)\nThe vinaigrette\nsplash of sherry vinegar\n3 tablespoons olive oil\nsprig of coriander (cilantro)\nfine salt, fleur de sel, freshly\nground pepper\n1 Sardine rillettes\nLightly crush the drained sardines with a fork. Blend them in a blender or food\nprocessor with the softened salted butter and the whisky, then press through a sieve.\nWhip the cream and delicately fold it through the sardine mixture.\n2-The cauliflower cream\nReserve a few of the cauliflower florets and chop them finely. Cook the rest of the\ncauliflower in salted boiling water until tender, then drain. Blend until smooth, then\nadd half of the cream. Whip the remaining half of the cream until stiff, then gently\nfold into the cauliflower purée.\n3-The melba toast\nUse the rim of a small glass to cut out 12 circles from the bread slices. Brush with\nbutter, then bake for 5 minutes in an oven preheated to 180°C (350°F; gas mark 4)\nuntil golden. (See step-by-step method on p. 30.)\n4-Plating up\nAt the very last minute before serving, arrange alternate layers of melba toast,\ncauliflower cream and rillettes in a stack, finishing with a melba toast. Mix the\nchopped cauliflower with the vinaigrette (made by whisking together the vinegar\nand olive oil) and the coriander, then place this on top of the last melba toast. Season.\nMaking it even better | Buy fresh sardines and get the fishmonger to fillet them. Fry the fillets\nin olive oil for a few minutes and leave to cool, then follow the recipe as above.\n29" - Assistant