fix(intent_parser): Améliorer détection intention LIST
- Ajout pattern 'liste des workflows' - Ajout pattern 'voir les workflows' Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -80,9 +80,11 @@ class IntentParser:
|
|||||||
r"^(.+)\s+(?:maintenant|tout de suite|svp|stp)$",
|
r"^(.+)\s+(?:maintenant|tout de suite|svp|stp)$",
|
||||||
],
|
],
|
||||||
IntentType.LIST: [
|
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"(?:qu'est-ce que|que)\s+(?:je peux|tu peux)\s+faire",
|
||||||
r"(?:workflows?|processus)\s+disponibles?",
|
r"(?:workflows?|processus)\s+disponibles?",
|
||||||
|
r"(?:voir|afficher)\s+(?:les\s+|tous\s+les\s+)?workflows?",
|
||||||
],
|
],
|
||||||
IntentType.QUERY: [
|
IntentType.QUERY: [
|
||||||
r"(?:comment|pourquoi|quand|où|qui)\s+(.+)\?",
|
r"(?:comment|pourquoi|quand|où|qui)\s+(.+)\?",
|
||||||
|
|||||||
Reference in New Issue
Block a user