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+(.+)\?",