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.

Port missing LuisTelemetryConstants for 'topTwoIntents' from C#

See original GitHub issue

Is your feature request related to a problem? Please describe. Currently, we are only able to log the top scoring intent to AppInsights via the integrated TelemetryClient in the LuisRecognizer. In C#, there is the option to pass TelemetryProperties that enable the logging of both the top scoring intent and the second highest scoring intent. This is not yet implemented in botbuilder-js.

Describe the solution you’d like Port the LuisTelemetryConstants Intent2Property and IntentScore2Property from the C# luis telemetry constants. To enable usage of those constants, the corresponding properties will also have to be defined in LuisRecognizer.fillTelemetryProperties(). This can also be ported from the C# project.

Also, the LuisTelemetryConstants are currently not exported from the package. This would have to be mitigated as well in order to enable easy use of them.

Describe alternatives you’ve considered The current workaround is to create a custom telemetry event and log those properties there. However, this is additional code and effort that would not be necessary if those LuisTelemetryConstants were implemented.

[enhancement]

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jwiley84commented, Jun 30, 2020

Hi @mrestorff Just wanted to let you know this is still on my plate. We’re discussing it internally, and you should see a PR with the changes in a few days. Thank you for your patience in this.

0reactions
joshgummersallcommented, Nov 4, 2020

@jwiley84 do you have any updates on this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

benq USACO repo code browser - TypeScript usaco-guide
... TypeScript cli-microsoft365 pest Output when run via PHPStorm looks like phpunit, not pest - PHP Port missing LuisTelemetryConstants for 'topTwoIntents' ...
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