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: 30 min\nMarinating time: 3 h\nCooking time: 5 min (petits pois)\n+8 min (salmon)\nFillet of marinated salmon\nwith petits pois and\nwasabi mousseline\nIn this recipe, the salmon is cooked in oil in the same way as for confit,\na method that cooks the flesh evenly at a low temperature, leaving it\nincredibly soft. Don't worry that the fish will become too oily; the oil\ndoesn't soak into the fish.\nThe salmon\n4 salmon fillets\n2 tablespoons fine salt\n150 ml/5 fl oz olive oil\nI lemongrass stalk\n10 g/½ oz fresh ginger\nThe petits pois and wasabi\nmousseline\n600 g/1 lb 5 oz petits pois\n150 ml/5 fl oz vegetable stock, chilled\n(see step-by-step method on p. 126)\nsmall knob of wasabi\nfine salt, freshly ground pepper\nand fleur de sel\nThe cooking oil\n500 ml/18 fl oz grapeseed oil\nI lemongrass stalk\n10 g/3 oz fresh ginger\n1-The salmon marinade\nSprinkle the salmon fillets with the fine salt and leave to rest for 6 minutes, then rinse\nin cold water. Mix the olive oil with the roughly chopped lemongrass and ginger.\nImmerse the salmon fillets in this marinade, then refrigerate for 3 hours so they fully\nabsorb the flavours.\n2-The petits pois and wasabi mousseline\nWhile the salmon is marinating, cook the petits pois in salted boiling water for\n5 minutes (they should be very soft), then refresh by immersing them in a bowl of\nwater and ice. Drain the peas, then blend with the well-chilled vegetable stock to\nmake a smooth purée. Keep to one side.\n3-Cooking the fish\nPut the oil and spices into a saucepan and heat to 60°C/140°F (the oil should be\nhot, but not bubbling). Carefully submerge the fillets and leave for 8 minutes,\nmaintaining the oil at the same temperature.\n4-Finishing off\nWhile the salmon is cooking, warm the petits pois mousseline over a gentle heat,\nthen stir in the wasabi. Season. Serve with the drained salmon, dressed with a little\nfleur de sel.\nSuggestions for garnish | Decorate the salmon fillers with a few pea shoots or some rocket leaves.\n33" - Assistant
{ "NbPersons": 4, "Language": "en", "Category": "main", "Title": "Fillet of marinated salmon with petits pois and wasabi mousseline", "Subtitle": "Entertaining", "Preparation_Time": 30, "Cooking_Time": 13, "Difficulty": "medium", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "4 salmon fillets", "2 tablespoons fine salt", "150 ml/5 fl oz olive oil", "1 lemongrass stalk", "10 g/½ oz fresh ginger", "600 g/1 lb 5 oz petits pois", "150 ml/5 fl oz vegetable stock, chilled", "small knob of wasabi", "fine salt, freshly ground pepper and fleur de sel", "500 ml/18 fl oz grapeseed oil" ] } ], "Description": "In this recipe, the salmon is cooked in oil in the same way as for confit, a method that cooks the flesh evenly at a low temperature, leaving it incredibly soft. Don't worry that the fish will become too oily; the oil doesn't soak into the fish.", "Instructions": [ "1-The salmon marinade: Sprinkle the salmon fillets with the fine salt and leave to rest for 6 minutes, then rinse in cold water. Mix the olive oil with the roughly chopped lemongrass and ginger. Immerse the salmon fillets in this marinade, then refrigerate for 3 hours so they fully absorb the flavours.", "2-The petits pois and wasabi mousseline: While the salmon is marinating, cook the petits pois in salted boiling water for 5 minutes (they should be very soft), then refresh by immersing them in a bowl of water and ice. Drain the peas, then blend with the well-chilled vegetable stock to make a smooth purée. Keep to one side.", "3-Cooking the fish: Put the oil and spices into a saucepan and heat to 60°C/140°F (the oil should be hot, but not bubbling). Carefully submerge the fillets and leave for 8 minutes, maintaining the oil at the same temperature.", "4-Finishing off: While the salmon is cooking, warm the petits pois mousseline over a gentle heat, then stir in the wasabi. Season. Serve with the drained salmon, dressed with a little fleur de sel." ], "AuthorName": "", "Notes_Ingredients": "", "Notes_Instructions": "Suggestions for garnish: Decorate the salmon fillers with a few pea shoots or some rocket leaves." }