question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

validation and key-word extraction in the same user input

See original GitHub issue

Describe 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:

  1. Create a new question
  2. In ‘User Input’, set property to user.email, value to =coalesce(@email), add @ prebuilt email in expected reponses
  3. I think we can forget about validation for now as it works on my end (it is just a regex email validation)
  4. 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:
Screen Shot 2022-07-15 at 2 42 44 PM


Here you can see the first time the entity did get extracted:
Screen Shot 2022-07-15 at 2 42 00 PM
But the second time the entity is set to an empty string:
Screen Shot 2022-07-15 at 2 42 10 PM

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
dmvtechcommented, Aug 15, 2022

Hi @chia-lun

Do you still need assistance on this issue?

0reactions
dmvtechcommented, Aug 16, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Keyword Extraction: A Guide to Finding Keywords in Text
Keyword extraction is used to automatically pull out single keywords, or groups of two or more words to detect key phrases in unstructured...
Read more >
Impact analysis of keyword extraction using contextual word ...
The contextual word embedding model will effectively extract keywords and key phrases semantically and contextually in our proposed approach.
Read more >
Keyword extraction: Issues and methods | Natural Language ...
The task of keyword extraction can be defined as the identification of the lexical units that best represent the document. However, ...
Read more >
Validation of deep learning natural language processing ...
Validation of deep learning natural language processing algorithm for keyword extraction from pathology reports in electronic health records.
Read more >
Extract Keywords | Kaggle
Using keyword extraction, you can automatically index data, summarize a text, or generate tag clouds with the most representative keywords.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found