guidone / node-red-contrib-chatbot

Visually build a full featured chat bot for Telegram, Facebook Messenger, Whatsapp and Slack with Node-RED. Almost no coding skills required.
http://red-bot.io
940 stars 191 forks source link

regex entity available? #589

Closed altieres closed 1 year ago

altieres commented 1 year ago

Thanks for this very good library.

Is it possible to create an arbitrary (regex) entity? how? My bot must be able to process "How can I go to %street_name%". But street_name didn't came in the "variables" object.

Thanks for your time, any direction is appreciated.

guidone commented 1 year ago

I need to check, I'm using NLP.js library (a rather old version), need to verify if this is possible in recent version.

altieres commented 1 year ago

Ok, thank you!

Maybe this link will help you understand what I was thinking: https://github.com/axa-group/nlp.js/blob/master/docs/v4/ner-manager.md#regex-entities

guidone commented 1 year ago

Just released a big update, I can now work on this

guidone commented 1 year ago

done in 1.2.1