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": "Cooking 25 mins\nPreparation 15 mins\nOther grains and cereals\nSteamed fonio\nwith asparagus\nand morels\n... Serves 4\nPrepare the fonio and morels\n.. Put 150 g of fonio in a sieve and rinse well under running water.\nTip into a bowl, cover well with water and leave to swell for\n20 minutes.\n. In the meantime, remove the stems from 200 g of fresh morels, then\nwash the caps in several changes of warm water to get rid of any\ntraces of sand. Dry in a salad spinner. Cut any large mushrooms\nin half.\n... Rinse a bundle of fresh onions with stalks, dice the stalks (and\nset aside) and cut the bulbs into rounds.\n... Peel, remove the germ at the centre and finely slice 4 cloves of\npink garlic. Rinse, dry and chop the leaves of a small bunch of\nparsley.\n***\nCook the morels and the fonio\nHeat a sauté pan with 3 tablespoons of olive oil. Put in the onion.\nrounds and garlic slices and sweat for 2 minutes, stirring. Add the\nmorels, salt lightly and cook for a further 4 minutes.\n... In the meantime, heat 300 ml of chicken stock (page 10).\n... Drain the fonio and add it. Stir well and cook for just 1 minute.\nThen pour in enough chicken stock to cover, simmer gently (just\nbelow a boil) until it is absorbed then continue to add more: the\nfonio should cook for about 20 minutes. Then cover the frying pan\nand leave to rest for 10 minutes.\nPrepare the asparagus\nWhile the fonio is cooking, wash and peel 1 bundle of green\nasparagus then cut the tips into 10 cm lengths. Heat a sauté pan\nwith a splash of olive oil, and cook the spears for 5 to 6 minutes\nwith the lid on.\nTo finish your dish\nFluff the fonio grains with a fork and add the onion stalks and\nchopped parsley.\n..Tip into a dish, arrange the asparagus on top and, shave 20 g of\nparmesan with a vegetable peeler and sprinkle the shavings on top.\nServe immediately.\nAD-Fonio is a herbaceous plant\nwith small grains. It has been grown\nin West Africa for centuries, and is\nnow available in speciality grocers,\noften sold through the fair trade\nsystem. It is cooked in a similar\nway to rice.\nPN- A grain rich in carbohydrates,\nfonio also contains protein but\nis gluten free. Its nutritional\ncomposition is similar to rice\nalthough fonio is richer in\nmineral salts.\nGrains and cereals ... 111"}
- Assistant
{ "NbPersons": 4, "Language": "en", "Category": "main", "Title": "Steamed fonio with asparagus and morels", "Subtitle": "A delightful and nutritious dish with an African grain.", "Preparation_Time": 15, "Cooking_Time": 25, "Difficulty": "medium", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "150 g of fonio", "200 g of fresh morels", "1 bundle of fresh onions", "4 cloves of pink garlic", "a small bunch of parsley", "3 tablespoons of olive oil", "salt", "300 ml of chicken stock", "1 bundle of green asparagus", "20 g of parmesan" ] } ], "Description": "Cooking 25 mins Preparation 15 mins Other grains and cereals Steamed fonio with asparagus and morels.", "Instructions": [ "Prepare the fonio and morels: Put 150 g of fonio in a sieve and rinse well under running water. Tip into a bowl, cover well with water and leave to swell for 20 minutes.", "In the meantime, remove the stems from 200 g of fresh morels, then wash the caps in several changes of warm water to get rid of any traces of sand. Dry in a salad spinner. Cut any large mushrooms in half.", "Rinse a bundle of fresh onions with stalks, dice the stalks (and set aside) and cut the bulbs into rounds.", "Peel, remove the germ at the centre and finely slice 4 cloves of pink garlic. Rinse, dry and chop the leaves of a small bunch of parsley.", "Cook the morels and the fonio: Heat a sauté pan with 3 tablespoons of olive oil. Put in the onion rounds and garlic slices and sweat for 2 minutes, stirring. Add the morels, salt lightly and cook for a further 4 minutes.", "In the meantime, heat 300 ml of chicken stock.", "Drain the fonio and add it. Stir well and cook for just 1 minute. Then pour in enough chicken stock to cover, simmer gently (just below a boil) until it is absorbed then continue to add more: the fonio should cook for about 20 minutes. Then cover the frying pan and leave to rest for 10 minutes.", "Prepare the asparagus: While the fonio is cooking, wash and peel 1 bundle of green asparagus then cut the tips into 10 cm lengths. Heat a sauté pan with a splash of olive oil, and cook the spears for 5 to 6 minutes with the lid on.", "To finish your dish: Fluff the fonio grains with a fork and add the onion stalks and chopped parsley. Tip into a dish, arrange the asparagus on top and, shave 20 g of parmesan with a vegetable peeler and sprinkle the shavings on top. Serve immediately." ], "AuthorName": "", "Notes_Ingredients": "AD-Fonio is a herbaceous plant with small grains. It has been grown in West Africa for centuries, and is now available in speciality grocers, often sold through the fair trade system. It is cooked in a similar way to rice. PN- A grain rich in carbohydrates, fonio also contains protein but is gluten free. Its nutritional composition is similar to rice although fonio is richer in mineral salts.", "Notes_Instructions": "Grains and cereals ... 111" }