xatkit-bot-platform / xatkit

The simplest way to build all types of smart chatbots and digital assistants
https://xatkit.com
Eclipse Public License 2.0
174 stars 23 forks source link

getting the whole message #19

Closed mohammedouttaleb closed 4 years ago

mohammedouttaleb commented 4 years ago

i used to get single words from the user by using the context object but now i want to get a whole message (a paragraph) please how can i do it

gdaniel commented 4 years ago

What platform are you using? And more importantly what intent provider are you using? DialogFlow or RegEx?

mohammedouttaleb commented 4 years ago

i'am using RegEx

gdaniel commented 4 years ago

RegEx does not support multiple terms for system entities, it should work for custom mapping though. The RegEx provider has been created for fast deployment/testing purposes, that's why it's missing quite a few features. If you want a fully featured intent recognition I recommend to move to dialogflow.

jcabot commented 4 years ago

Note that this is also related to the limits of regular expressions in general. There is just so much you can cover with a regular expression. So as Gwendal says, the RegExp provider is limited to very specific sentence patterns that fit the expressive power of regular expressions

mohammedouttaleb commented 4 years ago

thank you all for your information