Goal
L'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
Tu dois renvoyer 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 une catégorie parmis (appetizer, starter, main et dessert)
- 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": "Memphis BBQ Chicken Thighs\nCHICKEN THIGHS are technically done cooking once they reach an internal temp of 165°F, but I like to go to 185°F for\na better mouthfeel. I like this sauce heavy on the pepper, but you can reduce it if you prefer.\nMakes: 4 servings\n• Prep time: 20 minutes\n• Total time: 4 hours 25 minutes\nINGREDIENTS\nCHICKEN\n8 skin-on, bone-in chicken thighs\n2 cup packed light brown sugar\n½ cup coarse kosher salt\n1/4 cup canola oil\n1/4 cup Chicken Rub (see recipe, see here)\nMesh grill basket (optional)\nMEMPHIS BBQ SAUCE\n1½ cups ketchup\n¾ cup white vinegar\n½ cup sugar\n1 tablespoon coarsely ground black pepper\n1 tablespoon Worcestershire sauce\n1½ teaspoons ground mustard\n1 teaspoon ground white pepper\n1 teaspoon chili powder\n1 teaspoon hickory liquid smoke\n½ teaspoon ground coriander\n½ teaspoon cayenne pepper\n2 tablespoons to ¼ cup cognac\nDIRECTIONS\n1. Prepare the Chicken: Trim chicken thighs to make them uniform, then use a needle tenderizer to perforate the skin, if\ndesired.\n2. In a large pot, combine brown sugar, salt, and 2 quarts water. Heat until salt and sugar are completely dissolved.\nRemove from heat, and let cool to room temperature. Place chicken in brine, and chill for 2 to 3 hours.\n3. Prepare an indirect heat fire in a smoker, and preheat to 300°F. Remove chicken from brine, and pat dry. Coat chicken\nwith canola oil, and coat all over with Chicken Rub.\n4. Place chicken in a mesh grill basket or directly on cooking grates in smoker; cover and cook until\ninserted into thickest portion of chicken reads 185°F, 35 to 45 minutes.\nmeat thermometer\n5. Prepare the Memphis BBQ Sauce: While the chicken cooks, mix together all ingredients except cognac in a saucepan\nover medium heat. Bring to a simmer, reduce heat to low, and cook for 15 to 20 minutes, stirring constantly. Remove from\nheat, add cognac for your desired flavor and consistency, and stir to combine. Set aside and allow to cool.\n6. Remove chicken from smoker, brush with 1 cup barbecue sauce, and return to smoker. Cover and cook until sauce has\nset, 3 to 5 minutes. Serve with remaining sauce alongside."
}
json
{
"NbPersons": 4,
"Language": "en",
"Category": "main",
"Title": "Memphis BBQ Chicken Thighs",
"Subtitle": "",
"Preparation_Time": 20,
"Cooking_Time": 50,
"Difficulty": "medium",
"Ingredients": [
{
"section": "CHICKEN",
"ingredients": [
"8 skin-on, bone-in chicken thighs",
"2 cup packed light brown sugar",
"½ cup coarse kosher salt",
"1/4 cup canola oil",
"1/4 cup Chicken Rub (see recipe, see here)",
"Mesh grill basket (optional)"
]
},
{
"section": "MEMPHIS BBQ SAUCE",
"ingredients": [
"1½ cups ketchup",
"¾ cup white vinegar",
"½ cup sugar",
"1 tablespoon coarsely ground black pepper",
"1 tablespoon Worcestershire sauce",
"1½ teaspoons ground mustard",
"1 teaspoon ground white pepper",
"1 teaspoon chili powder",
"1 teaspoon hickory liquid smoke",
"½ teaspoon ground coriander",
"½ teaspoon cayenne pepper",
"2 tablespoons to ¼ cup cognac"
]
}
],
"Description": "CHICKEN THIGHS are technically done cooking once they reach an internal temp of 165°F, but I like to go to 185°F for a better mouthfeel. I like this sauce heavy on the pepper, but you can reduce it if you prefer.",
"Instructions": [
"Prepare the Chicken: Trim chicken thighs to make them uniform, then use a needle tenderizer to perforate the skin, if desired.",
"In a large pot, combine brown sugar, salt, and 2 quarts water. Heat until salt and sugar are completely dissolved. Remove from heat, and let cool to room temperature. Place chicken in brine, and chill for 2 to 3 hours.",
"Prepare an indirect heat fire in a smoker, and preheat to 300°F. Remove chicken from brine, and pat dry. Coat chicken with canola oil, and coat all over with Chicken Rub.",
"Place chicken in a mesh grill basket or directly on cooking grates in smoker; cover and cook until inserted into thickest portion of chicken reads 185°F, 35 to 45 minutes.",
"Prepare the Memphis BBQ Sauce: While the chicken cooks, mix together all ingredients except cognac in a saucepan over medium heat. Bring to a simmer, reduce heat to low, and cook for 15 to 20 minutes, stirring constantly. Remove from heat, add cognac for your desired flavor and consistency, and stir to combine. Set aside and allow to cool.",
"Remove chicken from smoker, brush with 1 cup barbecue sauce, and return to smoker. Cover and cook until sauce has set, 3 to 5 minutes. Serve with remaining sauce alongside."
],
"AuthorName": "",
"Notes_Ingredients": "",
"Notes_Instructions": ""
}