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": "Pulled Barbecue Chicken Sandwiches with Classic Coleslaw\nI have always loved pulled pork sandwiches, but the pork has to simmer slowly for hours to become tender. Not\nso with dark meat chicken! This pulled chicken is just as tasty, and it's better for you, too. It's great on a bun,\ngarnished with bread-and-butter pickle chips, but equally yummy over quinoa or rice. In the words of my son\nMonte, \"Yum!\" I serve it with a creamy classic coleslaw made without the dairy, eggs, or soy in traditional\nversions.\nTo make the Rice Milk Mayonnaise used in the coleslaw, use a blender, not a food processor. The real trick to\nthis recipe is the medicine dropper. I'm a mother of two young children, so this little tool is readily on hand. To\nemulsify the mayonnaise properly, you must drip the oil in a drop at a time, or it won't work. The best way to\ncontrol the flow is with a dropper. It will take you a few minutes to get all that oil in the blender a drop at a time,\nbut don't be tempted to rush it. Your patience will pay off with perfection. Who would have thought it possible?\nEgg-free, dairy-free, and soy-free mayonnaise, but still with a lovely buttercup hue and the lush creaminess of\nfresh mayonnaise. Feel free to add fresh herbs at the end, or to use all canola oil for a milder flavor.\nSERVES 4\nI\ncup Quick and Easy Barbecue Sauce\nI pound boneless, skinless chicken thighs, cut into 2-inch chunks\n4 allergy-friendly hamburger buns (see Resources)\nBread-and-butter pickle chips\nClassic Coleslaw\n1 Pour the sauce into a medium-size pot, bring to a simmer over medium-high heat, add the chicken, cover, reduce\nthe heat to medium-low, and cook at a low simmer for 25 minutes, until cooked through.\n2 Meanwhile, make the coleslaw.\n3 Remove the chicken from the heat. Use two forks to shred the chicken. Don't rush it; it takes a few minutes. Toast\nor warm the buns. Divide the saucy chicken evenly among the buns. Serve topped with a couple of pickles, with the\ncoleslaw on the side.\nCLASSIC COLESLAW\n6 tablespoons Rice Milk Mayonnaise or vegan soy-free mayonnaise (see Resources)\n2 tablespoons sugar\n¼ cup rice milk\n2 tablespoons freshly squeezed lemon juice\nI tablespoon cider vinegar\n3 cups shredded cabbage or 3½ cups classic coleslaw mix\n½ cup shredded carrot (omit if using the classic coleslaw mix)\n2 tablespoons finely chopped onion\nSalt and freshly ground pepper\n1 In a small bowl, whisk together the mayonnaise, sugar, rice milk, lemon juice, and vinegar.\n2 Toss together the cabbage, carrot, and onion in a medium-size bowl. Add the dressing, toss well, season with salt\nand pepper to taste, cover, and refrigerate until ready to serve. Makes about 3 cups.\nRICE MILK MAYONNAISE\n½ cup rice milk, chilled\n1½ teaspoons freshly squeezed lemon juice\n¼ teaspoon ground white pepper\nI small clove garlic, pressed\n¼ teaspoon xanthan gum\n6 tablespoons olive oil\n6 tablespoons canola oil\n½ teaspoon fine sea salt\n1 Combine the rice milk with the lemon juice and white pepper in a blender. Add the garlic and the xanthan gum,\nand mix on high speed until foamy.\n2 Set the blender on high and, using the medicine dropper, add the oils drop by drop through the hole in the lid of\nthe blender until the mayonnaise begins to emulsify. (You may wish to use your other hand to cover most of the hole\nin the lid, to prevent splattering.) Take your time! Continue to add the oil in a steady drip until the mayonnaise is\nthick and creamy, scraping down the sides of the blender as necessary. (I turned my cheap old blender off several\ntimes to let it cool down while making this. You may also wish to take pauses.) Again, do not try to make this too\nquickly; the process of slowing incorporating the oil should take several minutes.\n3 Add the salt, taste, and adjust the salt and lemon juice if desired.\n4 Serve at room temperature, you'll have about 1 cup. Transfer any remaining mayonnaise to a jar and store tightly\ncovered in the refrigerator for up to 1 week." - Assistant