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, mocktail). Sinon choisis la meilleure option parmis (bread, appetizer, starter, main, dessert, breakfast, snack, teatime, jam, sauce, icecream) - 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": "SunButter Dan Dan Noodles\nWhen my kids were very small, we lived in Westchester County, New York. My husband and I used to go on date\nnight to a Chinese restaurant in Yonkers called Hunan Village. It was owned by a regal Chinese man named\nPaul. He was the most impressive host. He liked to order for our table, and it was thanks to him that I first tried\ndan dan noodles. I've eaten them many times at restaurants since, and none compares to the ones at Hunan\nVillage. They had the best darn dan dan noodles I've ever tasted. Funny thing about that restaurant was my\nhusband had been going to it ever since he was a kid, and Paul was the owner, all the way back then. I've heard\nPaul left Hunan Village a few years ago, and that sadly their food has declined. In honor of Paul, I devised this\nscrumptious, addictive, allergy-friendly dan dan noodle recipe, because the traditional is chock-full of allergens\n(wheat, soy, peanuts). I hope my version does justice to Paul. For the linguine, I like corn-quinoa noodles that\nmimic the yellow hue of the traditional egg noodles.\nSERVES 4\n8 ounces gluten-free linguine\n2 cloves garlic, finely minced or pressed\n2 tablespoons finely minced or grated ginger\n2 tablespoons coconut amino acids\n2 tablespoons canola oil\nI tablespoon dark brown sugar\nI tablespoon balsamic vinegar\nI tablespoon Sriracha or Thai Chile Sauce\n½ cup smooth SunButter\n¼ cup low-sodium chicken broth or vegetable broth\n½ teaspoon salt\n3 green onions, white and green parts, chopped\nI tablespoon chopped cilantro\n¼ cup roasted sunflower seeds, plus more for garnish\n½ English cucumber, peeled, quartered, and diced, for garnish\n1 Bring a large pot of water to a boil over high heat. Cook the pasta according to the instructions on the package.\n2 In a large bowl, combine the garlic, ginger, coconut amino acids, oil, sugar, vinegar, and chile sauce. Mix well. Add\nthe SunButter, chicken broth, and salt, and stir until smooth.\n3 Drain the pasta and combine with the sauce, tossing to coat. Mix in the green onions, cilantro, and 1/4 cup\nsunflower seeds.\n4 Serve garnished with the diced cucumber and a sprinkling of sunflower seeds."}
- Assistant
{ "NbPersons": 4, "Language": "en", "Category": "main", "Title": "SunButter Dan Dan Noodles", "Subtitle": "", "Preparation_Time": 10, "Cooking_Time": 10, "Difficulty": "medium", "Ingredients": [ { "section": "Pour la recette", "ingredients": [ "8 ounces gluten-free linguine", "2 cloves garlic, finely minced or pressed", "2 tablespoons finely minced or grated ginger", "2 tablespoons coconut amino acids", "2 tablespoons canola oil", "1 tablespoon dark brown sugar", "1 tablespoon balsamic vinegar", "1 tablespoon Sriracha or Thai Chile Sauce", "½ cup smooth SunButter", "¼ cup low-sodium chicken broth or vegetable broth", "½ teaspoon salt", "3 green onions, white and green parts, chopped", "1 tablespoon chopped cilantro", "¼ cup roasted sunflower seeds, plus more for garnish", "½ English cucumber, peeled, quartered, and diced, for garnish" ] } ], "Description": "This is a scrumptious, addictive, allergy-friendly dan dan noodle recipe, because the traditional is chock-full of allergens (wheat, soy, peanuts).", "Instructions": [ "1 Bring a large pot of water to a boil over high heat. Cook the pasta according to the instructions on the package.", "2 In a large bowl, combine the garlic, ginger, coconut amino acids, oil, sugar, vinegar, and chile sauce. Mix well. Add the SunButter, chicken broth, and salt, and stir until smooth.", "3 Drain the pasta and combine with the sauce, tossing to coat. Mix in the green onions, cilantro, and 1/4 cup sunflower seeds.", "4 Serve garnished with the diced cucumber and a sprinkling of sunflower seeds." ], "AuthorName": "", "Notes_Ingredients": "The traditional is chock-full of allergens (wheat, soy, peanuts). For the linguine, I like corn-quinoa noodles that mimic the yellow hue of the traditional egg noodles.", "Notes_Instructions": "None" }