In my data.json , I have given sample IP and if i give some other ip address , still it is taking the sample IP given in the data.json. How can i train the model to extract the correct entity .
@erohmensing i tried by giving different ip addresses . It is taking by default 1.2.3.4 even i type some other IP. Sample story below. How can i use regular expressions to fill the slot. Whenever i type some other ip address , ipAddr slot is getting the value as 1.2.3.4
Actually I apologize, as long as the slot type was originally text and not something like categorical, keep it the way it was instead of switching it to unfeaturized. Can you show me your intent data for the get_ip_reputation?
Yes, but how many examples of this entity do you have? In order for it to generalize, you’ll want to have at least 20 examples. With IP addresses, however, your best bet is probably a regex entity extractor, as you thought in your post title. You can use it by adding the regex_features to your training data as described here and adding the intent_entity_featurizer_regex (RegexFeaturizer if on NLU 0.15.0) to your pipeline.