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 4\nPreparation time: 1 h\nResting time: 24 h + 30 min\nTomato and mozzarella\nrevisited\nGive this new version of an old classic a try: it combines a light\nmozzarella mousse with tomatoes seasoned with balsamic vinegar.\nIf you can, use buffalo mozzarella, which is softer and has a much\nbetter flavour than other types.\nThe mozzarella foam\n200 ml/7 fl oz milk\n150 ml/5 fl oz cream\n14 bunch of basil\n170 g/6 oz buffalo mozzarella\npinch of agar-agar\nsplash of olive oil\nfine salt, black pepper\nThe tomatoes\n5 tomatoes (red, yellow and green,\nif possible)\n2 tablespoons white balsamic vinegar\n6 tablespoons olive oil\nThe tomato jelly\n150 g/5½ oz tomato seeds,\nfrom the 5 tomatoes\n2 gelatine leaves, soaked in cold water\nThe garnish\nI ball mozzarella\n2 tablespoons toasted pine nuts\n4 sprigs of basil\nfleur de sel\nEquipment\nsiphon (optional)\n1-The mozzarella foam\nThe day before, infuse the milk and cream with the crushed basil for 24 hours in the\nfridge. The next day, heat the infused milk mixture, then add the mozzarella and\nagar-agar and stir to melt. Blend, then sieve. Season with fine salt and a splash of olive\noil. Pour into the siphon and insert 2 gas canisters. Chill the siphon while preparing\nthe rest of the recipe.\n2 The tomatoes\nImmerse the tomatoes in boiling water for a few seconds, then in iced water for\nanother few seconds. Peel the tomatoes and cut into 'petal' quarters, then remove and\nreserve the seeds. (See step-by-step method on p. 22.)\n3-The tomato jelly\nHeat 50 g/14 oz of the tomato seeds over gentle heat and dissolve the gelatine in the\njuices. Stir in the remaining cold tomato seeds, then pour the mixture into glasses\nand leave to set in a cool place for 30 minutes.\n4-Serving\nSeason the tomato petals with balsamic vinegar and olive oil. Place in 4 glasses,\nlayering them with seasoned slices of mozzarella. Put the foam on top, scatter over\nthe chopped pine nuts and finish with sprigs of basil.\nIf you don't have a siphon | Put 170 g/6 oz mozzarella, 150 ml/5 fl oz cream, some basil\nleaves and a splash of olive oil into a saucepan. Season with salt and pepper, bring to the boil and\nthen blend until very smooth. Strain the mixture through a very fine sieve, a few times if necessary.\nuntil you have a silky infused cream. Chill. Beat the chilled mixture for a few minutes, either by\nhand or in a mixer, until it thickens (but not for too long, or it will separate and become grainy).\nAdd a few leaves of just-chopped basil and use as instructed in step 4 of the recipe.\nTip To make sure gelatine dissolves properly, first soak it in cold water then press it between\nyour hands to squeeze out any excess water. This makes it swell then soften, which makes it\neasier to use.\nEntertaining\n47" - Assistant