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.
code
Assistant
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": "THE WINE\nA DEMI-SEC CHAMPAGNE\nPOIRE BELLE-HÉLÈNE\nwith Polignac Almonds\nDESSERTS 229\nBENOIT\nMAKE THE VANILLA ICE CREAM\nOne day ahead, split the vanilla bean, scrape out the seeds, and put\nthe bean and seeds in a saucepan with the milk and cream. Bring\nto a boil. Mix the instant milk, sugar, and egg yolks in a bowl, then\nadd the mixture to the saucepan with the milk and cream, and cook\nto 85°C - 185°F. Filter immediately through a fine conical strainer*\n(sieve) into an airtight container. Discard the vanilla bean, and refrig-\nerate for at least 12 hours. On the day of serving, churn the mixture\nin an ice cream machine according to the manufacturer's instructions.\nMAKE THE POLIGNAC ALMONDS\nMake a syrup by boiling 50ml - 3 1/2 tablespoons water with the\nsugar in a saucepan. Plunge the almonds into the syrup and let soak\nfor at least 2 hours off heat. Preheat the oven to 160°C - 325°F (gas\nmark 3). Drain the almonds and lay them out over a Silpat baking\nmat or parchment paper on a baking sheet. Toast them in the oven\nuntil golden.\nMAKE THE CHOCOLATE SAUCE\nCombine the milk, cream, and sugar in a saucepan and heat. Place the\ncoarsely chopped chocolate in a bowl and gradually pour the mixture\nover it. Add the crème fraîche and set aside* in the refrigerator.\nMAKE THE POACHED * PEARS\nSplit the vanilla bean and scrape out the seeds. Add the bean and\nseeds to a saucepan with 1 liter - 4 1/4 cups water, the sugar, and the\nlemon juice. Bring to a boil. In the meantime, peel, halve, and core\nthe pears. Put the pear halves into the boiling syrup, and let the syrup\ngently soak into the pears over very low heat. Check that the pears\nare cooked through using the tip of a knife. They should be very soft.\nMAKE THE\nCHANTILLY CREAM\nSplit the vanilla bean and scrape out the seeds. Add the seeds to\nthe cream in a bowl; reserve the bean for another use. Whip* the\ncream by whisking briskly, then set aside in the refrigerator. When\nit is time to serve the pears, lightly whip the cream and transfer to\na pastry (piping) bag fitted with a fluted tip (nozzle)..\nFINISHING\nReheat the chocolate sauce over a bain-marie* or in a microwave.\nPipe a large swirl of Chantilly cream in the bottom of a bowl. Arrange\ntwo pear halves over the cream and add a quenelle of vanilla ice\ncream. Sprinkle with the Polignac almonds. Serve the warm chocolate\nsauce separately.\nSERVES 4\nPREPARATION: 30 MINUTES\nCOOKING: 2 HOURS\nRESTING: 12 HOURS\nVANILLA ICE CREAM\n1 VANILLA BEAN\n250ML 1 CUP MILK\n90G 3.17 OUNCES (1/3 CUP PLUS\n1 TABLESPOON) CREAM\n35G 1.23 OUNCES (1/2 CUP) INSTANT\nDRY (POWDERED) MILK\n55G 1.94 OUNCES (1/4 CUP PLUS\n1 TEASPOON) SUGAR\n55G 1.94 OUNCES (3 TABLESPOONS\nPLUS 2 TEASPOONS) EGG YOLKS\n(ABOUT 3-4 LARGE)\nPOLIGNAC ALMONDS\n60G 2.12 OUNCES (1/4 CUP PLUS\n1 TABLESPOON) SUGAR\n50G 1.76 OUNCES (1/2 CUP)\nSLIVERED ALMONDS\nCHOCOLATE SAUCE\n180ML 3/4 CUP MILK\n100ML 1/3 CUP PLUS 1 TABLESPOON\nLIGHT CREAM\n60G 2.12 OUNCES (1/4 CUP PLUS\n1 TABLESPOON) SUGAR\n240G 8.47 OUNCES DARK CHOCOLATE\n(70% CACAO)\n100G\n3.53 OUNCES (1/3 CUP PLUS\n1 1/2 TABLESPOONS) CRÈME FRAÎCHE\nPOACHED PEARS\n1 VANILLA BEAN\n300G 10.58 OUNCES (1 1/2 CUPS)\nSUGAR\n150ML 2/3 CUP LEMON JUICE\n4 PEARS\nCHANTILLY CREAM\n1 VANILLA BEAN\n500G 1 POUND 2 OUNCES (2 CUPS\nPLUS 2 1/2 TABLESPOONS) CREAM\n50G 1.76 OUNCES (1/4 CUP) SUGAR"
}
json
{
"NbPersons": 4,
"Language": "en",
"Category": "dessert",
"Title": "Poire Belle-Hélène",
"Subtitle": "A Demi-Sec Champagne Dessert",
"Preparation_Time": 30,
"Cooking_Time": 120,
"Difficulty": "medium",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"1 VANILLA BEAN",
"250ML 1 CUP MILK",
"90G 3.17 OUNCES (1/3 CUP PLUS 1 TABLESPOON) CREAM",
"35G 1.23 OUNCES (1/2 CUP) INSTANT DRY (POWDERED) MILK",
"55G 1.94 OUNCES (1/4 CUP PLUS 1 TEASPOON) SUGAR",
"55G 1.94 OUNCES (3 TABLESPOONS PLUS 2 TEASPOONS) EGG YOLKS (ABOUT 3-4 LARGE)",
"60G 2.12 OUNCES (1/4 CUP PLUS 1 TABLESPOON) SUGAR",
"50G 1.76 OUNCES (1/2 CUP) SLIVERED ALMONDS",
"180ML 3/4 CUP MILK",
"100ML 1/3 CUP PLUS 1 TABLESPOON LIGHT CREAM",
"60G 2.12 OUNCES (1/4 CUP PLUS 1 TABLESPOON) SUGAR",
"240G 8.47 OUNCES DARK CHOCOLATE (70% CACAO)",
"100G 3.53 OUNCES (1/3 CUP PLUS 1 1/2 TABLESPOONS) CRÈME FRAÎCHE",
"300G 10.58 OUNCES (1 1/2 CUPS) SUGAR",
"150ML 2/3 CUP LEMON JUICE",
"4 PEARS",
"500G 1 POUND 2 OUNCES (2 CUPS PLUS 2 1/2 TABLESPOONS) CREAM",
"50G 1.76 OUNCES (1/4 CUP) SUGAR"
]
}
],
"Description": "A sumptuous dessert combining the sweet flavor of poached pears with the creaminess of vanilla ice cream, all topped with a luscious chocolate sauce and crunchy Polignac almonds.",
"Instructions": [
"MAKE THE VANILLA ICE CREAM",
"One day ahead, split the vanilla bean, scrape out the seeds, and put the bean and seeds in a saucepan with the milk and cream. Bring to a boil. Mix the instant milk, sugar, and egg yolks in a bowl, then add the mixture to the saucepan with the milk and cream, and cook to 85°C - 185°F. Filter immediately through a fine conical strainer (sieve) into an airtight container. Discard the vanilla bean, and refrigerate for at least 12 hours. On the day of serving, churn the mixture in an ice cream machine according to the manufacturer's instructions.",
"MAKE THE POLIGNAC ALMONDS",
"Make a syrup by boiling 50ml - 3 1/2 tablespoons water with the sugar in a saucepan. Plunge the almonds into the syrup and let soak for at least 2 hours off heat. Preheat the oven to 160°C - 325°F (gas mark 3). Drain the almonds and lay them out over a Silpat baking mat or parchment paper on a baking sheet. Toast them in the oven until golden.",
"MAKE THE CHOCOLATE SAUCE",
"Combine the milk, cream, and sugar in a saucepan and heat. Place the coarsely chopped chocolate in a bowl and gradually pour the mixture over it. Add the crème fraîche and set aside in the refrigerator.",
"MAKE THE POACHED PEARS",
"Split the vanilla bean and scrape out the seeds. Add the bean and seeds to a saucepan with 1 liter - 4 1/4 cups water, the sugar, and the lemon juice. Bring to a boil. In the meantime, peel, halve, and core the pears. Put the pear halves into the boiling syrup, and let the syrup gently soak into the pears over very low heat. Check that the pears are cooked through using the tip of a knife. They should be very soft.",
"MAKE THE CHANTILLY CREAM",
"Split the vanilla bean and scrape out the seeds. Add the seeds to the cream in a bowl; reserve the bean for another use. Whip the cream by whisking briskly, then set aside in the refrigerator. When it is time to serve the pears, lightly whip the cream and transfer to a pastry (piping) bag fitted with a fluted tip (nozzle).",
"FINISHING",
"Reheat the chocolate sauce over a bain-marie or in a microwave. Pipe a large swirl of Chantilly cream in the bottom of a bowl. Arrange two pear halves over the cream and add a quenelle of vanilla ice cream. Sprinkle with the Polignac almonds. Serve the warm chocolate sauce separately."
],
"AuthorName": "Benoit",
"Notes_Ingredients": "",
"Notes_Instructions": ""
}