Skip to Content
0
C K
Nov 19, 2019 at 08:49 AM

requirements are being ignored

61 Views

Hello,

I try to make something like a login authentification

and I have one skill called OTP that gets triggered when _memory.emp_id is absent

OTP has 2 requirements:

  • #NUMBER emp_id
  • #NUMBER emp_pin

and the Action is a webhook to my program that sends back a message with the emp_id and emp_pin (for debugging purposes).

But somehow whenever the bot asks for my emp_pin and I enter it, the bot answers with fallback sentence as like I wrote the pin without any sense, and by checking the json source it says that

"conversation": { "id": "test-1574152742073", "language": "de", "memory": { "emp_id": { "scalar": 18787, "raw": "18787", "confidence": 0.61 }

it didnt even save emp_pin.

Thank you