{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/3335","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/3335/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/3335/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/3335/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/3335","id":250674973,"number":3335,"title":"Add support for intent threshold to LuisDialog class","user":{"login":"cesarvarela","id":1172479,"avatar_url":"https://avatars3.githubusercontent.com/u/1172479?v=4","gravatar_id":"","url":"https://api.github.com/users/cesarvarela","html_url":"https://github.com/cesarvarela","followers_url":"https://api.github.com/users/cesarvarela/followers","following_url":"https://api.github.com/users/cesarvarela/following{/other_user}","gists_url":"https://api.github.com/users/cesarvarela/gists{/gist_id}","starred_url":"https://api.github.com/users/cesarvarela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesarvarela/subscriptions","organizations_url":"https://api.github.com/users/cesarvarela/orgs","repos_url":"https://api.github.com/users/cesarvarela/repos","events_url":"https://api.github.com/users/cesarvarela/events{/privacy}","received_events_url":"https://api.github.com/users/cesarvarela/received_events","type":"User","site_admin":false},"labels":[{"id":429202671,"url":"https://api.github.com/repos/Microsoft/BotBuilder/labels/.NET%20SDK","name":".NET SDK","color":"1d76db","default":false},{"id":423973041,"url":"https://api.github.com/repos/Microsoft/BotBuilder/labels/LUIS","name":"LUIS","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-16T15:49:36Z","updated_at":"2017-08-16T16:58:00Z","closed_at":null,"body":"Seems like this is possible in Node but not in C#"},"comment":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/comments/322834816","html_url":"https://github.com/Microsoft/BotBuilder/issues/3335#issuecomment-322834816","issue_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/3335","id":322834816,"user":{"login":"cesarvarela","id":1172479,"avatar_url":"https://avatars3.githubusercontent.com/u/1172479?v=4","gravatar_id":"","url":"https://api.github.com/users/cesarvarela","html_url":"https://github.com/cesarvarela","followers_url":"https://api.github.com/users/cesarvarela/followers","following_url":"https://api.github.com/users/cesarvarela/following{/other_user}","gists_url":"https://api.github.com/users/cesarvarela/gists{/gist_id}","starred_url":"https://api.github.com/users/cesarvarela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesarvarela/subscriptions","organizations_url":"https://api.github.com/users/cesarvarela/orgs","repos_url":"https://api.github.com/users/cesarvarela/repos","events_url":"https://api.github.com/users/cesarvarela/events{/privacy}","received_events_url":"https://api.github.com/users/cesarvarela/received_events","type":"User","site_admin":false},"created_at":"2017-08-16T16:58:00Z","updated_at":"2017-08-16T16:58:00Z","body":"```\r\n        protected override LuisServiceResult BestResultFrom(IEnumerable<LuisServiceResult> results)\r\n        {\r\n            var serviceResult = results.MaxBy(i => i.BestIntent.Score ?? 0d);\r\n\r\n            if (serviceResult.BestIntent.Score < .7)\r\n            {\r\n                serviceResult.BestIntent.Intent = string.Empty;\r\n                serviceResult.BestIntent.Score = 1.0d;\r\n            }\r\n\r\n            return serviceResult;\r\n        }\r\n```\r\n\r\ni'm doing this to have a threshold of .7, but i guess having it in the LuisDialog decorator would be better."}}
{"actor":{"display_login":"cesarvarela"}}