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": "206 DESSERTS\nAUX LYONNAIS\nBUGNES\nSERVES 4\nPREPARATION: 20 MINUTES\nCOOKING: 10 MINUTES\nRESTING: 12 HOURS\nCITRUS SUGAR AND DOUGH\n5G 0.18 OUNCE (2 1/2\nTEASPOONS) ZEST OF ASSORTED\nCITRUS FRUITS\n50G 1.76 OUNCES (1/4 CUP)\nSUGAR\n170G 6 OUNCES (1 1/3 CUP PLUS\n1 TEASPOON) FLOUR\nZEST OF 1/2 LEMON\nZEST OF 1/2 ORANGE\n1G 0.04 OUNCE (1/6 TEASPOON)\nSALT\n10G\n0.35 OUNCE\n(2 1/2 TEASPOONS) SUGAR\n1 EGG\n25ML 5 TEASPOONS COINTREAU\n25G\n0.88 OUNCE\n(1 3/4 TABLESPOONS) BUTTER\nFINISHING\n2 LITERS 8 1/2 CUPS OIL FOR\nDEEP FRYING\nMAKE THE\nCITRUS\nSUGAR AND THE DOUGH\nOne day ahead, mix the zests with the sugar. Spread the mixture over\na plate, cover with plastic wrap, and let dry at room temperature for\n12 hours in a warm and dry place.\nOne day ahead, combine the flour, grated zests, salt, and sugar in\na bowl. Add the egg and Cointreau, and knead by hand until the\ndough is no longer sticky, then add the butter. Cover with plastic\nwrap and refrigerate over night.\nOn the day of serving, crumble the citrus sugar with your fingers.\nSet aside in a dry place. Roll out the dough as thinly as possible.\nCut it into strips, and then diamonds with 3cm 1 1/4 inch sides.\nFINISHING\nHeat the oil to 160°C - 320°F. Plunge the dough pieces in the hot\noil and fry until golden. Drain quickly on paper towels. Sprinkle the\nfritters with the citrus sugar. Serve immediately inside a folded napkin.\nTHE WINE\nA BUGEY CERDON ROSE"
{
"NbPersons": 4,
"Language": "fr",
"Category": "dessert",
"Title": "BUGNES",
"Subtitle": "",
"Preparation_Time": 20,
"Cooking_Time": 10,
"Difficulty": "medium",
"Ingredients": [
{
"section": "CITRUS SUGAR AND DOUGH",
"ingredients": [
"5G 0.18 OUNCE (2 1/2 TEASPOONS) ZEST OF ASSORTED CITRUS FRUITS",
"50G 1.76 OUNCES (1/4 CUP) SUGAR",
"170G 6 OUNCES (1 1/3 CUP PLUS 1 TEASPOON) FLOUR",
"ZEST OF 1/2 LEMON",
"ZEST OF 1/2 ORANGE",
"1G 0.04 OUNCE (1/6 TEASPOON) SALT",
"10G 0.35 OUNCE (2 1/2 TEASPOONS) SUGAR",
"1 EGG",
"25ML 5 TEASPOONS COINTREAU",
"25G 0.88 OUNCE (1 3/4 TABLESPOONS) BUTTER"
]
},
{
"section": "FINISHING",
"ingredients": [
"2 LITERS 8 1/2 CUPS OIL FOR DEEP FRYING"
]
}
],
"Description": "Dégustez des bugnes croustillantes et parfumées, une spécialité lyonnaise à savourer en toutes occasions.",
"Instructions": [
"One day ahead, mix the zests with the sugar. Spread the mixture over a plate, cover with plastic wrap, and let dry at room temperature for 12 hours in a warm and dry place.",
"One day ahead, combine the flour, grated zests, salt, and sugar in a bowl. Add the egg and Cointreau, and knead by hand until the dough is no longer sticky, then add the butter. Cover with plastic wrap and refrigerate over night.",
"On the day of serving, crumble the citrus sugar with your fingers. Set aside in a dry place. Roll out the dough as thinly as possible. Cut it into strips, and then diamonds with 3cm 1 1/4 inch sides.",
"Heat the oil to 160°C - 320°F. Plunge the dough pieces in the hot oil and fry until golden. Drain quickly on paper towels. Sprinkle the fritters with the citrus sugar. Serve immediately inside a folded napkin."
],
"AuthorName": "",
"Notes_Ingredients": "",
"Notes_Instructions": ""
}