Hi, I need your help here:
I have a rule which takes username from the user, it calls a service and gets the user details.
u: ([tell me about ] _*1 >) ^keep() ^repeat() $$tmp = _0
$$client_name = $$tmp
$$url = ^”\“http://localhost:8090/emp/emp_details/$$tmp\”“
I print the results if the user is matched else i give a msg “user not found”.
I am facing the following issue:
- if the username is not present in the dictionary, the rule is not correctly matched & it goes to a different topic.
- sometimes the closest word is matched and the user details are printed.
I want to give the details of the user, if the results are matched else i want to give msg “user not found”. How should handle this unseen words?