From 855061c8ba602ce2b55ab0e8ee6268e63f48196f Mon Sep 17 00:00:00 2001 From: Dom Date: Thu, 15 Jan 2026 15:46:52 +0100 Subject: [PATCH] =?UTF-8?q?fix(intent=5Fparser):=20Am=C3=A9liorer=20d?= =?UTF-8?q?=C3=A9tection=20intention=20LIST?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Ajout pattern 'liste des workflows' - Ajout pattern 'voir les workflows' Co-Authored-By: Claude Opus 4.5 --- agent_chat/intent_parser.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/agent_chat/intent_parser.py b/agent_chat/intent_parser.py index fc1df1607..10e57fbdf 100644 --- a/agent_chat/intent_parser.py +++ b/agent_chat/intent_parser.py @@ -80,9 +80,11 @@ class IntentParser: r"^(.+)\s+(?:maintenant|tout de suite|svp|stp)$", ], IntentType.LIST: [ - r"(?:liste|montre|affiche|quels sont)\s+(?:les\s+)?(?:workflows?|processus|automatisations?)", + r"(?:liste|montre|affiche|quels sont)\s+(?:les\s+|des\s+)?(?:workflows?|processus|automatisations?)", + r"liste\s+des\s+workflows?", r"(?:qu'est-ce que|que)\s+(?:je peux|tu peux)\s+faire", r"(?:workflows?|processus)\s+disponibles?", + r"(?:voir|afficher)\s+(?:les\s+|tous\s+les\s+)?workflows?", ], IntentType.QUERY: [ r"(?:comment|pourquoi|quand|où|qui)\s+(.+)\?",