## intent: math_expr?

Is there a way to recognize Regex as intent i.e. something like this :

## intent: math_expr
- [+-*/()0-9 ](expr)

Also I can’t seem to be able to capture the regex-match into a SLOT ???

If there is a way to access the input-text inside the action-code that could some solution too !

the easiest way to use regex for intent classification is to create a custom classifier

how do I do that ?

please check the docs on how to create custom nlu components: Custom NLU Components

1 Like