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.

Display warning about missing component/policy in config whenever possible

See original GitHub issue

Description of Problem: In most instances, it is straightforward to infer from the domain file or the training data that the user is trying to use a feature that is conditional on a component/policy being included in the config.yml file.

Identifying these situations while training and displaying preemptive warnings could potentially save the user effort/time by avoiding unnecessary retraining in that case.

Overview of the Solution: Display appropriate warnings during the respective parsing steps by comparing it against the config file. It could be something along the lines of "Found usage of triggers in domain file, but could not find MappingPolicy in config.yml that is needed for it to work".

Examples (if relevant): The example that brought me here was triggers. An intent in the domain file that looks like this: - request_human: {"triggers": "action_human_handoff"} without MappingPolicy being included in config.yml. But there are many more examples.

Blockers (if relevant):

Definition of Done:

  • Perform checking for policies
  • Perform checking for NLU pipeline features

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:18 (18 by maintainers)

github_iconTop GitHub Comments

1reaction
akeladcommented, Oct 14, 2019

ok next time i think it’s better to have two separate issues if two separate PRs are going to fix it 😃

0reactions
btotharyecommented, Jan 23, 2020

@wochinge yep!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix missing dependency warning when using useEffect ...
So first you must memoize fetchBusinesses if you were to pass it to the dependency array. To sum it up I would say...
Read more >
"Important components are missing. Install them now for the ...
Issue: When installing the following Products, there are warning messages displayed. Installation Incomplete. The components did not install ...
Read more >
Configure Windows Update for Business via Group Policy
In the Group Policy Management Editor, go to Computer Configuration > Policies > Administrative Templates > Windows Components > Windows Update.
Read more >
How to fix "The following module is missing from the file ...
Restore the module and actually disable and uninstall it (recommended if possible): First, restore the module to its original location in the file...
Read more >
Troubleshooting IAM policies - AWS Identity and Access ...
You can view this document by switching to the JSON tab. If this JSON document exceeds the size limit of a policy, the...
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