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": "Creamy Mac 'n' Cheese\nWe all know mac 'n' cheese is the ultimate American comfort food. And it's no secret that homemade mac 'n'\ncheese is much better than the boxed or frozen stuff. In this recipe, I'll teach you how to make a dairy-free,\ngluten-free roux. A roux is the basis of a cream sauce, which is essential to giving mac 'n' cheese that coveted\ncreaminess. Adding Daiya vegan cheddar cheese turns the cream sauce into a cheese sauce, and you've got\nyourself a classic American staple. Tinkyada brown rice penne is my favorite for this recipe.\nSERVES 4\n6 ounces brown rice penne\nI cup rice milk\n2 tablespoons olive oil\nI tablespoon grated yellow onion\n2 tablespoons superfine brown rice flour\nI bay leaf\nPinch of cayenne pepper\nPinch of white pepper\nPinch of ground nutmeg\n¼ teaspoon salt\n1½ teaspoons Dijon mustard\nFreshly ground pepper\n1½ cups shredded Daiya vegan cheddar\n1 Bring a large pot of water to a boil and cook the pasta according to the package instructions, until tender. Drain\nand set aside.\n2 Preheat the broiler on high.\n3 Once the pasta is cooking, scald the rice milk-heat it in a saucepan until hot but not boiling. Set aside.\n4 Heat the olive oil over medium heat in a heavy saucepan. Add the onion and cook, stirring often, for 2 minutes.\nAdd the brown rice flour and cook, stirring, for 2 minutes more, until golden. Don't burn it, and don't worry if it\nclumps a bit. This is your roux.\n5 Add the rice milk a little at a time, whisking continuously and vigorously until smooth. Add the bay leaf, a big\npinch of cayenne, and the white pepper and nutmeg. Add the salt and mustard, stir, and bring to a simmer. Reduce\nthe heat to low and cook, stirring, until thick and creamy, about 4 minutes. Whisk again to smooth if necessary. Add\na few turns of pepper. Add 1 cup of the vegan cheddar and stir until melted, about 4 minutes. Remove from the heat.\n6 Add the pasta to the cheese sauce and stir to combine.\n7 Drizzle a little olive oil in the bottom of an 8 by 8-inch baking dish. Pour in the pasta. Top with the remaining\ncup vegan cheddar. Put under the broiler for 5 minutes, until the cheese has melted and is browning up a bit.\nRemove from the oven, and let rest for 10 minutes before serving."