-1

I want to capture the first name and second name using slots in Watson Assistant by prompting.

https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities

gives regular expressions for phone, email, and website.

What is the regular expression for the simple names like John, Tara, McKinsey etc?

Siju George
  • 209
  • 1
  • 2
  • 6
  • There are many examples of character-only expressions available. Many people have more complex names. If you know that a string only has two parts, split the input. – data_henrik Sep 03 '18 at 14:10
  • What would be the exact regular expression that I can use in Watson for a string that has only capital and small English alphabets? – Siju George Sep 05 '18 at 09:43

1 Answers1

0

you can use @sys-name entity type slots from system-entities in your dialogue. Look at using slots. using slots

  • "@sys-name" is not available during autocomplete. But I gave it anyway. It does not recognize the name "Siju". It keeps on asking the name again and again. Does "@sys-name" recognize only a set of predefined names? – Siju George Sep 05 '18 at 09:39