seo-generator-server/lib
StillHammer 957df21e18 fix(selective): Use specific keywords (resolvedContent) instead of general keyword
🐛 Problème identifié:
- Le système utilisait toujours csvData.mc0 (mot-clé général) pour tous les éléments
- Exemple: "plaque numero de maison" au lieu de "Plaque en PVC : économique et léger"

 Solution:
- Ajout paramètre specificKeyword à createTypedPrompt()
- Extraction de item.originalElement.resolvedContent avant génération
- Pas de fallback sur csvData.mc0 (log d'erreur si manquant)
- Détection des variables non résolues "[Mc+1_5 non résolu]"

📍 Fichier modifié:
- lib/selective-enhancement/SelectiveUtils.js:603-615 (createTypedPrompt)
- lib/selective-enhancement/SelectiveUtils.js:1083-1091 (extraction + appel)

🎯 Impact:
- Chaque élément utilise maintenant son mot-clé spécifique
- Prompts LLM plus précis et contextualisés
- Meilleure qualité de contenu généré

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-12 14:03:06 +08:00
..
adversarial-generation Add flexible pipeline system with per-module LLM configuration 2025-10-09 14:01:52 +08:00
batch Fix workflow production avec XML Digital Ocean et format Google Sheets 2025-10-08 14:52:19 +08:00
generation feat: Améliore système de génération avec personnalités enrichies et détection intelligente 2025-10-12 10:36:59 +08:00
human-simulation Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
modes Add flexible pipeline system with per-module LLM configuration 2025-10-09 14:01:52 +08:00
pattern-breaking Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
pipeline Add flexible pipeline system with per-module LLM configuration 2025-10-09 14:01:52 +08:00
polyfills Initial commit 2025-09-03 15:29:19 +08:00
prompt-engine Add modular pipeline demo system with real module integration 2025-09-23 16:03:20 +08:00
selective-enhancement fix(selective): Use specific keywords (resolvedContent) instead of general keyword 2025-10-12 14:03:06 +08:00
shared Refactor batch processing system with shared QueueProcessor base class 2025-09-19 02:04:48 +08:00
trend-prompts Add modular pipeline demo system with real module integration 2025-09-23 16:03:20 +08:00
workflow-configuration Add modular pipeline demo system with real module integration 2025-09-23 16:03:20 +08:00
APIController.js Add modular pipeline demo system with real module integration 2025-09-23 16:03:20 +08:00
ArticleStorage.js Fix workflow production avec XML Digital Ocean et format Google Sheets 2025-10-08 14:52:19 +08:00
BrainConfig.js Fix workflow production avec XML Digital Ocean et format Google Sheets 2025-10-08 14:52:19 +08:00
ConfigManager.js Add flexible pipeline system with per-module LLM configuration 2025-10-09 14:01:52 +08:00
ContentAssembly.js Remove Gemini provider and fix ContentAssembly array bug 2025-09-22 07:08:14 +08:00
ElementExtraction.js Add flexible pipeline system with per-module LLM configuration 2025-10-09 14:01:52 +08:00
ErrorReporting.js update test system and logger 2025-09-08 12:33:16 +08:00
LLMManager.js Remove Gemini provider and fix ContentAssembly array bug 2025-09-22 07:08:14 +08:00
Main.js Add flexible pipeline system with per-module LLM configuration 2025-10-09 14:01:52 +08:00
MissingKeywords.js Fix workflow production avec XML Digital Ocean et format Google Sheets 2025-10-08 14:52:19 +08:00
package.json Initial commit 2025-09-03 15:29:19 +08:00
StepByStepSessionManager.js Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
StepExecutor.js Fix workflow production avec XML Digital Ocean et format Google Sheets 2025-10-08 14:52:19 +08:00
trace.js Initial commit 2025-09-03 15:29:19 +08:00