validation and key-word extraction in the same user input
See original GitHub issueDescribe the bug
I have been trying to do validation (other-> validation->validation rules) and key word extraction (in user input) but the entity extraction somehow did not work (the entity is extracted but the property was not set to the value). I tried to track it with the bot framework emulator and found out every time the entity extraction is conducted, the LuisV3 trace happens twice one right after another (I assume the second time the entity extraction is set to an empty string, but not sure about it).
I also have a question about the order of validation and entity extraction that is not directly related to this bug: which is goes first? Will the user input get extracted first and then validated?
Version
- Bot framework composer (v2.1.2)
- SDK v4
OS
- macOS
- Windows
- Ubuntu
To Reproduce
Steps to reproduce the behavior:
- Create a new question
- In ‘User Input’, set
property
touser.email
,value
to=coalesce(@email)
, add@ prebuilt email
in expected reponses - I think we can forget about validation for now as it works on my end (it is just a regex email validation)
- See error
Expected behavior
The property should be set to the extracted entity and get validated.Screenshots
This is the section for reproduction of the bug:
Here you can see the first time the entity did get extracted:
But the second time the entity is set to an empty string:
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top GitHub Comments
Hi @chia-lun
Do you still need assistance on this issue?
Closing due to lack of reply. If you still need assistance on this, please comment with the pertinent information and we can reopen to continue.