Reg expression as Pattern

Hello,

Can we define a regular expression as a pattern in ML training?

Thanks

The platform supports REGEX patterns in entity collection when using the “custom” type. You’ll have to explain your use case for me to understand what you mean by “ML training”.

Good luck!

I have a question about whether we can use regular expressions in patterns under Natural Language training section.

Hello @bulusu-sai.prasad

Given it is not recommended using special characters for ML training , it would be impractical to use regular expressions.

You may check out - NLP Guidelines - Kore ai Docs

There is a ML capability for entering patterns, but its usage is very different from a REGEX pattern.
image
The format and special characters are specific to the Kore platform.

I recommend you review this document to understand about how patterns are used in Kore.
https://docs.kore.ai/xo/how-tos/build-a-banking-assistant/train-the-assistant/use-patterns-for-intents-and-entities/?h=pattern