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 30 mins\nPreparation 5 mins\nBeans and pulses\nLentil salad with\nvinegar\nmushrooms\n... Serves 4\nRinse 400 g of green lentils, put in a large saucepan and cover\nwell with water.\nPeel 1 large carrot and 1 onion, cut in two and add them.\nAD- The botanical name for\nenoki is Flammulina (\"little flame\"]\nvelutipes (\"velvet foot\"). In Europe,\n... Cook gently for 30 minutes and add salt only at the end of cooking. it is the Collybia mushroom, which\nLeave the lentils to cool in their cooking water.\nTake out the carrot and onion and cut into small dice (brunoise).\nPlace them in a small bowl.\nWhile the lentils are cooking, rinse 100 g of enoki mushrooms and\nremove their stalks.\n. Set aside about twenty of them in a bowl.\n. Pour 1 litre of water and 100 ml of white wine vinegar into\na saucepan and bring to a boil. Immerse the rest of the enoki\nmushrooms for 3 minutes, then drain.\n... Rinse and dry a very small bunch of parsley, take off the leaves\nand chop them.\n... When the lentils are cooked, drain and put them in a salad bowl or\ndeep dish.\n... Add the carrot and onion brunoise, the chopped parsley and the\nvinegared enoki mushrooms.\n... Season with a splash of olive oil, and of sherry vinegar, add salt\nand some freshly ground black pepper, and stir delicately so as not\nto damage the mushrooms.\n.. Pour just a splash of olive oil onto the reserved raw enoki\nmushrooms, add salt and pepper and arrange them on top of\nthe lentils.\nis found growing wild on elmo. The\nenoki is cultivated widely in Japan\nand exported. If you can't get hold\nof any, use small button mushrooms\nfor this recipe.\nPN- Lentils, rich in slow\ncarbohydrates, protein, fibres,\nB-group vitamins and mineral\nsalts (including some iron and\nmagnesium), are an excellent food to\nhave regularly on the menu.\nBeans and pulses... 215." - Assistant
{ "NbPersons": 4, "Language": "en", "Category": "starter", "Title": "Lentil salad with vinegar", "Subtitle": "A refreshing salad with enoki mushrooms", "Preparation_Time": 5, "Cooking_Time": 30, "Difficulty": "easy", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "400 g of green lentils", "1 large carrot", "1 onion", "100 g of enoki mushrooms", "1 litre of water", "100 ml of white wine vinegar", "olive oil", "sherry vinegar", "salt", "freshly ground black pepper", "a very small bunch of parsley" ] } ], "Description": "A delicious and nutritious lentil salad with fresh enoki mushrooms and a tangy vinegar dressing.", "Instructions": [ "Rinse 400 g of green lentils, put in a large saucepan and cover well with water.", "Peel 1 large carrot and 1 onion, cut in two and add them.", "While the lentils are cooking, rinse 100 g of enoki mushrooms and remove their stalks, set aside about twenty of them in a bowl.", "Pour 1 litre of water and 100 ml of white wine vinegar into a saucepan and bring to a boil.", "Immerse the rest of the enoki mushrooms for 3 minutes, then drain.", "Rinse and dry a very small bunch of parsley, take off the leaves and chop them.", "When the lentils are cooked, drain and put them in a salad bowl or deep dish.", "Add the carrot and onion brunoise, the chopped parsley and the vinegared enoki mushrooms.", "Season with a splash of olive oil, and of sherry vinegar, add salt and some freshly ground black pepper, and stir delicately so as not to damage the mushrooms.", "Pour just a splash of olive oil onto the reserved raw enoki mushrooms, add salt and pepper and arrange them on top of the lentils." ], "AuthorName": "", "Notes_Ingredients": "If you can't get hold of enoki mushrooms, use small button mushrooms for this recipe.", "Notes_Instructions": "Lentils, rich in slow carbohydrates, protein, fibres, B-group vitamins and mineral salts (including some iron and magnesium), are an excellent food to have regularly on the menu." }