mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-11 17:26:32 +02:00
fix(ai): prevent AI from using placeholder justification string in batch analysis
This commit is contained in:
1 parent
1ec8ae3f02
commit
a186bb1989
1 file changed
+3
-1
@@ -61,11 +61,13 @@ Format:
|
||||
"codein": "ID",
|
||||
"recommandationGamme": "A|B|C|Z",
|
||||
"isDuplicate": boolean,
|
||||
"justificationCourte": "Justification concise basée sur les données"
|
||||
"justificationCourte": "..."
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
INTERDICTION FORMELLE : N'utilise jamais la phrase "Justification courte basée sur les données" comme réponse. Tu dois rédiger une analyse réelle.
|
||||
|
||||
Données : codein, nom, ca (€), ventes (unités), marge (%), gammeInit, historique, nomenclature.`;
|
||||
|
||||
const userPrompt = `Analyse cette liste de produits :\n${JSON.stringify(products, null, 2)}`;
|
||||
|
||||
Reference in new issue
Block a user