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": "CASSOLETTE OF\nFRESH MORELS\nwith a Little Cream\nAPPETIZERS 23\nBENOIT\nMAKE THE MORELS\nCut off the morel stems, then turn* them. Wash them first in luke-\nwarm water, then plunge them into ice water. Take them out with\nyour hands so the grit they release is left at the bottom of the bowl.\nDrain flat over a dry cloth.\nHeat 80g 2.82oz (6 tablespoons) of butter in a cast-iron skillet or\nfrying pan. When it becomes foamy, add the garlic cloves and brown*\nthe morels. Cover the pan so that the mushrooms will release their\nresidual water. Pour the contents of the pan into a strainer (sieve)\nset over a bowl to filter the cooking liquid; reserve. Peel and mince*\nthe shallot.\nPut the remaining butter into a sauté pan* and sweat the shallot\nwithout coloring. Raise the temperature of the pan to make a beurre\nnoisette, then add the mushrooms. Fry them well, 2 to 3 minutes.\nMoisten with 200ml - 3/4 cup plus 1 tablespoon morel cooking liquid\nand reduce by one-third, then add the chicken broth. Finish cooking\nthe morels by glazing* them.\nFINISHING\nAdd the soft whipped cream to the mushrooms. Arrange the mush-\nrooms in a serving dish, then pour the sauce over them.\nSERVES 4\nPREPARATION: 10 MINUTES\nCOOKING: 25 MINUTES\n600G 1 POUND 5 OUNCES\nFRESH MORELS\n3.53 OUNCES\n100G\n(7 TABLESPOONS) BUTTER\n2 CLOVES GARLIC\n1 SHALLOT\n50ML 3 1/2 TABLESPOONS\nCHICKEN BROTH (SEE P. 245)\n50ML 3 1/2 TABLESPOONS SOFT\n(SEMI-) WHIPPED CREAM*\nTHE WINE\nA RED BURGUNDY, SUCH AS BEAUNE PREMIER CRU" - Assistant
{ "NbPersons": 4, "Language": "fr", "Category": "appetizer", "Title": "CASSOLETTE OF FRESH MORELS", "Subtitle": "with a Little Cream", "Preparation_Time": 10, "Cooking_Time": 25, "Difficulty": "medium", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "600G 1 POUND 5 OUNCES FRESH MORELS", "100G (7 TABLESPOONS) BUTTER", "2 CLOVES GARLIC", "1 SHALLOT", "50ML 3 1/2 TABLESPOONS CHICKEN BROTH (SEE P. 245)", "50ML 3 1/2 TABLESPOONS SOFT (SEMI-) WHIPPED CREAM" ] } ], "Description": "Une délicieuse cassolette de morilles fraîches, s'accompagnant d'une légère crème, une entrée raffinée pour épater vos invités.", "Instructions": [ "Cut off the morel stems, then turn* them.", "Wash them first in luke-warm water, then plunge them into ice water.", "Take them out with your hands so the grit they release is left at the bottom of the bowl.", "Drain flat over a dry cloth.", "Heat 80g 2.82oz (6 tablespoons) of butter in a cast-iron skillet or frying pan.", "When it becomes foamy, add the garlic cloves and brown* the morels.", "Cover the pan so that the mushrooms will release their residual water.", "Pour the contents of the pan into a strainer (sieve) set over a bowl to filter the cooking liquid; reserve.", "Peel and mince* the shallot.", "Put the remaining butter into a sauté pan* and sweat the shallot without coloring.", "Raise the temperature of the pan to make a beurre noisette, then add the mushrooms.", "Fry them well, 2 to 3 minutes.", "Moisten with 200ml - 3/4 cup plus 1 tablespoon morel cooking liquid and reduce by one-third, then add the chicken broth.", "Finish cooking the morels by glazing* them.", "Add the soft whipped cream to the mushrooms.", "Arrange the mushrooms in a serving dish, then pour the sauce over them." ], "AuthorName": "BENOIT", "Notes_Ingredients": "", "Notes_Instructions": "" }