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": "Fresh vegetables\nPreparation 20 mins\nCooking 5 mins\nPan-fried\nchanterelles with\nalmonds and lemon\nAD- Can't get hold of chanterelles?\nThen use ordinary white mushrooms,\nquarter them and cook just once,\nwithout draining the first water.\nPN- Mushrooms are quite rich\nin mineral salts, but they also\ncontain special molecules capable\nof stimulating our immune system,\nwhich makes them a very healthy food.\nA good reason to put them on the\nmenu frequently.\n... Serves 4\n. Remove the earthy base of 800 g of chanterelles, cut the largest\nones in half. Wash several times with plenty of water, then dry in\na salad spinner or a tea towel.\nWash and dry 2 handfuls of baby spinach similarly.\nPeel 12 fresh almonds.\n... Rinse half a salt-preserved lemon (page 15) and cut into thin\nslices.\n... Crush 1 clove of garlic confit (page 12].\n... Heat a frying pan with a splash of olive oil and cook the\nchanterelles for just 1 minute over a high heat, adding salt, just\nlong enough for them to release their liquid.\nwww\n.. Drain, throw away this water, wipe your frying pan dry with kitchen\ntowel and return to the heat with 10 g of butter.\nAs soon as it has melted, put the chanterelles back in and sauté\nfor 2 or 3 minutes to lightly brown.\n... Then add the baby spinach, salt-preserved lemon, garlic confit\nand almonds, and mix until the baby spinach is just \"wilted\". Add\nfreshly ground black pepper.\n... Tip into a dish or into plates and serve immediately.\n172... Vegetables"}
- Assistant
{ "NbPersons": 4, "Language": "en", "Category": "appetizer", "Title": "Fresh vegetables", "Subtitle": "Pan-fried chanterelles with almonds and lemon", "Preparation_Time": 20, "Cooking_Time": 5, "Difficulty": "easy", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "800 g de chanterelles", "2 poignées de bébés épinards", "12 amandes fraîches", "1/2 citron confit au sel", "1 gousse d'ail confit", "huile d'olive", "10 g de beurre", "sel", "poivre noir fraîchement moulu" ] } ], "Description": "A good reason to put them on the menu frequently. Mushrooms are quite rich in mineral salts, but they also contain special molecules capable of stimulating our immune system, which makes them a very healthy food.", "Instructions": [ "Remove the earthy base of 800 g of chanterelles, cut the largest ones in half.", "Wash several times with plenty of water, then dry in a salad spinner or a tea towel.", "Wash and dry 2 handfuls of baby spinach similarly.", "Peel 12 fresh almonds.", "Rinse half a salt-preserved lemon (page 15) and cut into thin slices.", "Crush 1 clove of garlic confit (page 12).", "Heat a frying pan with a splash of olive oil and cook the chanterelles for just 1 minute over a high heat, adding salt, just long enough for them to release their liquid.", "Drain, throw away this water, wipe your frying pan dry with kitchen towel and return to the heat with 10 g of butter.", "As soon as it has melted, put the chanterelles back in and sauté for 2 or 3 minutes to lightly brown.", "Then add the baby spinach, salt-preserved lemon, garlic confit and almonds, and mix until the baby spinach is just 'wilted'.", "Add freshly ground black pepper.", "Tip into a dish or into plates and serve immediately." ], "AuthorName": "", "Notes_Ingredients": "Can't get hold of chanterelles? Then use ordinary white mushrooms, quarter them and cook just once, without draining the first water.", "Notes_Instructions": "" }