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": "164 POULTRY\nPOACHED FOIE GRAS\nBlack Truffle, Pot-au-Feu Garnish\nBENOIT\nSERVES 4\nPREPARATION: 1 HOUR\nCOOKING: 6 1/2 HOURS\nPOT-AU-FEU BROTH\n1 YELLOW ONION\n1 CHICKEN\n4 CARROTS, WITH GREENS\n8 TURNIPS, WITH GREENS\n2 BOULE D'OR TURNIPS\n1/4 CELERIAC\n2 LEEKS\n2 CELERY STALKS\n5 SPRIGS FLAT-LEAF PARSLEY\n1/4 HEAD SAVOY CABBAGE\nFOIE GRAS\n1 (500G 1 POUND 2 OUNCE) LOBE\nRAW DUCK FOIE GRAS\nFLEUR DE SEL\nFRESHLY GROUND PEPPER\n1 BLACK TRUFFLE\nMAKE THE POT-AU-FEU\nBROTH\nHalve the onion and char it in a skillet or frying pan. Put the chicken\ninto a stockpot and cover with plenty of water. Bring to a boil and\nskim off the scum. Add the charred onion and simmer for 5 hours.\nPeel the carrots, turnips, and celeriac and add to the stockpot.\nCarefully wash the leeks and add these to the pot, along with the\ncelery, parsley, and cabbage. Cook for 1 hour, until soft. When\ncooked, remove the vegetables and chicken and let cool; set aside\nthe vegetables for plating. Reserve chicken for another use. Drain\nthe chicken broth in a fine conical strainer* (sieve) into a Dutch oven\n(cast-iron casserole) and set aside*.\nMAKE THE FOIE GRAS\nSeason the foie gras with salt and pepper. Heat the chicken broth\nto 80°C - 175°F. Put the foie gras into the Dutch oven and cook\nfor about 30 minutes. Baste and carefully turn over the foie gras\noften for even cooking. Stop the cooking process when the internal\ntemperature of the foie gras reaches 54°C 129°F. Cut the cooked\nvegetables into large chunks and reheat in the broth used to poach*\nthe foie gras. Season with fleur de sel and pepper.\nFINISHING\nArrange the foie gras, vegetables, and broth attractively in a soup\ntureen, then shave a generous amount of black truffle over the top.\nTHE WINE\nA RED BORDEAUX (CLARET), SUCH AS SAINT JULIEN"}
- Assistant
{ "NbPersons": 4, "Language": "fr", "Category": "main", "Title": "POACHED FOIE GRAS", "Subtitle": "Black Truffle, Pot-au-Feu Garnish", "Preparation_Time": 60, "Cooking_Time": 390, "Difficulty": "hard", "Ingredients": [ { "section": "POT-AU-FEU BROTH", "ingredients": [ "1 YELLOW ONION", "1 CHICKEN", "4 CARROTS, WITH GREENS", "8 TURNIPS, WITH GREENS", "2 BOULE D'OR TURNIPS", "1/4 CELERIAC", "2 LEEKS", "2 CELERY STALKS", "5 SPRIGS FLAT-LEAF PARSLEY", "1/4 HEAD SAVOY CABBAGE" ] }, { "section": "FOIE GRAS", "ingredients": [ "1 (500G 1 POUND 2 OUNCE) LOBE RAW DUCK FOIE GRAS", "FLEUR DE SEL", "FRESHLY GROUND PEPPER", "1 BLACK TRUFFLE" ] } ], "Description": "Une délicieuse recette de foie gras poché, agrémenté de truffe noire et servi avec un bouillon de pot-au-feu savoureux.", "Instructions": [ "Halve the onion and char it in a skillet or frying pan.", "Put the chicken into a stockpot and cover with plenty of water.", "Bring to a boil and skim off the scum.", "Add the charred onion and simmer for 5 hours.", "Peel the carrots, turnips, and celeriac and add to the stockpot.", "Carefully wash the leeks and add these to the pot, along with the celery, parsley, and cabbage.", "Cook for 1 hour, until soft.", "When cooked, remove the vegetables and chicken and let cool; set aside the vegetables for plating.", "Reserve chicken for another use.", "Drain the chicken broth in a fine conical strainer* (sieve) into a Dutch oven (cast-iron casserole) and set aside*.", "Season the foie gras with salt and pepper.", "Heat the chicken broth to 80°C - 175°F.", "Put the foie gras into the Dutch oven and cook for about 30 minutes.", "Baste and carefully turn over the foie gras often for even cooking.", "Stop the cooking process when the internal temperature of the foie gras reaches 54°C 129°F.", "Cut the cooked vegetables into large chunks and reheat in the broth used to poach* the foie gras.", "Season with fleur de sel and pepper.", "Arrange the foie gras, vegetables, and broth attractively in a soup tureen, then shave a generous amount of black truffle over the top." ], "AuthorName": "BENOIT", "Notes_Ingredients": "", "Notes_Instructions": "Use a fine conical strainer* (sieve) for draining chicken broth." }