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: 30 min\nCooking time: 2h 20 min\nBlack rice risotto\nwith bouillabaisse jus\nBlack Venere rice, or riso nero venere, is grown in Italy's Po valley, and\nits deep colour looks beautiful on the plate. As it can be pre-cooked and\nfinished off at the last minute, it's hard to go wrong with it for risotto.\nThis is my classic recipe that you can adapt by using different flavours\nand ingredients.\nThe bouillabaisse jus\n1 kg/24 lb small whole fish, such\nas rouget, rascasse, mullet, bream\n250 g/8½ oz velvet crabs\n50 ml/14 fl oz olive oil\n50 ml/134 fl oz white wine\n25 ml/1 fl oz pastis\npinch of ground saffron\npinch of ground star anise\npinch of ground bird's eye chilli\npinch of ground aniseed\nI small carrot\n1/2 bulb fennel\nI small onion\nI stalk celery\n2 garlic cloves\n150 g/5½ oz butter\nI bouquet garni\nI tablespoon tomato purée (paste)\nThe risotto\nI onion\n2 knobs of butter\n500 ml/18 fl oz vegetable stock\n(see step-by-step method on p. 126)\n300 g/10 oz black Venere rice\n50 ml/14 fl oz white wine\n50 g/14 oz Parmesan\nfine salt\n1-The bouillabaisse jus\nChop up the fish and crabs. Heat the olive oil in a large flameproof casserole, add\nthe fish and crab and cook over a gentle heat for 5 minutes, then add the white wine.\npastis and all the spices. Peel and trim the carrot, fennel, onion and celery as needed,\nthen dice them. Peel the garlic. Put 50 g/14 oz of the butter into a sauté pan over a\ngentle heat. Add the diced vegetables, garlic and bouquet garni and cook until the\nvegetables have softened, then tip into the casserole. Pour in enough water to just\ncover, then stir in the tomato purée and leave to simmer for 2 hours. At the end\nof the cooking time, blend until smooth, then strain through a fine sieve.\n2-The risotto\nPeel and finely chop the onion. Put a knob of butter in a saucepan, add the chopped\nonion and cook until translucent (don't let it colour). Meanwhile, gently heat the\nstock in another saucepan. When the onion is soft, stir in the rice, then pour in the\nwhite wine. Bring to the boil and allow to reduce, then stir in enough hot stock to\ncover the rice. Place a circle of baking parchment with a hole in the middle over\nthe risotto and leave to cook gently until all the liquid has been absorbed, then add\na little more stock. Continue to add small amounts of stock to the risotto, stirring it\nin, then replacing the paper and leaving the stock to be absorbed, until only a few\nspoonfuls of stock remain. Season the risotto lightly with fine salt. Stir in the grated\nParmesan, the last of the vegetable stock and a large knob of butter. Check and adjust\nthe seasoning as necessary, then take off the heat and leave to rest for a few minutes\n(See step-by-step method on p. 354.)\n3- Finishing off and plating up\nReheat the bouillabaisse jus, then add the remaining butter, blending it in the pan\nusing a stick blender. Serve the risotto with the hot, foamy jus poured over the top.\nTip When they are in season, serve this risotto with baby squid, sautéed in a frying pan with\na little olive oil, salt and pepper.\nHomemade\n353" - Assistant