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.

Correcting the intent in interactive learning mode removes additional entity information

See original GitHub issue

Rasa Core version: 0.13.2 Python version: 3.6.8 Operating system: windows

When one corrects the intent in the interactive learning mode, but leaves the entities untouched they get altered.

Look at this example: Is the NLU classification for '[Am Mittwoch](time:2019-02-20T00:00:00.000+01:00)' with intent 'choose_appointment'

The date was recognized by duckling. Without altering the intent the entity would get saved as following in the tracker:

"entities": [
            {
              "start": 0,
              "end": 11,
              "text": "Am Mittwoch",
              "value": "2019-02-20T00:00:00.000+01:00",
              "confidence": 1,
              "additional_info": {
                "values": [
                  {
                    "value": "2019-02-20T00:00:00.000+01:00",
                    "grain": "day",
                    "type": "value"
                  },
                  {
                    "value": "2019-02-27T00:00:00.000+01:00",
                    "grain": "day",
                    "type": "value"
                  },
                  {
                    "value": "2019-03-06T00:00:00.000+01:00",
                    "grain": "day",
                    "type": "value"
                  }
                ],
                "value": "2019-02-20T00:00:00.000+01:00",
                "grain": "day",
                "type": "value"
              },
              "entity": "time",
              "extractor": "ner_duckling_http"
            }
          ],

After altering the recognized intent, but leaving the entity untouched, it gets reduced to:

"entities": [
              {
                "end": 11,
                "entity": "time",
                "start": 0,
                "value": "2019-02-20T00:00:00.000+01:00"
              }
            ],

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
paulaWesselmanncommented, Mar 7, 2019

Yes and 3. when correcting entities only overwrite annotation if it’s changed. #1732

0reactions
mauricedoepkecommented, Mar 7, 2019

@paulaWesselmann In my project, I also need all the additional values to be saved into the tracker store.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Intent - Android Developers
category -- Gives additional information about the action to execute. ... Broadcast Action: An existing application package has been removed from the device ......
Read more >
Intents - Digital Assistant - Oracle Help Center
Intents allow your skill to understand what the user wants it to do. An intent categorizes typical user requests by the tasks and...
Read more >
Train and test your LUIS app - Cognitive Services
Training is the process of teaching your Language Understanding (LUIS) app to extract intent and entities from user utterances.
Read more >
Package google.cloud.dialogflow.v2
Intents and entity types with the same name are replaced with the new versions from ImportAgentRequest . After the import, the imported draft...
Read more >
Provide information for Google Play's Data safety section
If your app includes artifacts active on any other track, you must still submit a declaration form. Even developers with apps that do...
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