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": "Ice Pops\nMAKE 8 SIX 3-OUNCE (80 ML) ICE POP 8\nor eighteen 1-ounce (30 ml) mini ice pops\nhese frozen treats are almost as easy to make as ice cubes. This recipe combines the flavors of strawberry\nand lemon to cool you off on a hot summer day, but feel free to switch up the fruit and juice. If you have\nleftover juice after filling the ice pop molds, freeze it in ice cube trays; the resulting strawberry lemonade ice\ncubes turn iced tea or seltzer into a refreshing summer drink.\nVary the fruit and the juice to create new flavors and avoid your food allergens; pair different berries or pureed\nfruits with any juice. Adjust the sugar to your taste and the tartness of the ingredients you choose.\n¼ cup (55 g) organic cane sugar\n1 cup (240 ml) water\n¾ cup (105 g) strawberries, hulled and chopped\n½ cup (120 ml) fresh lemon juice\n1. Combine the sugar and ½ cup (120 ml) of water in a small saucepan and bring to a boil over medium-high\nheat. Remove the pan from the heat, stir in the remaining water, and refrigerate for 15 minutes.\n2. Puree the strawberries and lemon juice together in a food processor or blender. Add the chilled sugar water\nand blend for 30 seconds.\n3. Pour the mixture into ice pop molds. Place the sticks into the molds and freeze for approximately 6 to 8 hours,\nfollowing the directions for your ice pop molds. These will keep in the freezer for up to 3 months."
{
"NbPersons": 8,
"Language": "en",
"Category": "dessert",
"Title": "Ice Pops",
"Subtitle": "A refreshing summer treat combining strawberry and lemon.",
"Preparation_Time": 15,
"Cooking_Time": 0,
"Difficulty": "easy",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"¼ cup (55 g) organic cane sugar",
"1 cup (240 ml) water",
"¾ cup (105 g) strawberries, hulled and chopped",
"½ cup (120 ml) fresh lemon juice"
]
}
],
"Description": "These frozen treats are almost as easy to make as ice cubes. This recipe combines the flavors of strawberry and lemon to cool you off on a hot summer day, but feel free to switch up the fruit and juice.",
"Instructions": [
"Combine the sugar and ½ cup (120 ml) of water in a small saucepan and bring to a boil over medium-high heat. Remove the pan from the heat, stir in the remaining water, and refrigerate for 15 minutes.",
"Puree the strawberries and lemon juice together in a food processor or blender. Add the chilled sugar water and blend for 30 seconds.",
"Pour the mixture into ice pop molds. Place the sticks into the molds and freeze for approximately 6 to 8 hours, following the directions for your ice pop molds. These will keep in the freezer for up to 3 months."
],
"AuthorName": "",
"Notes_Ingredients": "Vary the fruit and the juice to create new flavors and avoid your food allergens; pair different berries or pureed fruits with any juice. Adjust the sugar to your taste and the tartness of the ingredients you choose.",
"Notes_Instructions": "If you have leftover juice after filling the ice pop molds, freeze it in ice cube trays; the resulting strawberry lemonade ice cubes turn iced tea or seltzer into a refreshing summer drink."
}