Skip to content

Conversation

@axelsrz
Copy link
Member

@axelsrz axelsrz commented Sep 30, 2019

Fixes #254

@axelsrz axelsrz requested a review from daveta September 30, 2019 17:50
@axelsrz axelsrz requested a review from stevengum September 30, 2019 20:44


class LuisRecognizer:
class LuisRecognizer(Recognizer):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm - not sure if this is for Luis V3 or old one, but looking at C#, there's another level of TelemetryRecognizer if you want to be faithful to that..

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Old one. Yes, but that interface only provide more method overloading (not supported in python) and attributes (not supported in the ABC pattern), making it redundant.

The idea here is to provide an interface that can be used at testing, where this ABC is sufficient.

Copy link
Contributor

@daveta daveta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@axelsrz axelsrz merged commit 65f73d0 into master Oct 1, 2019
@axelsrz axelsrz deleted the axsuarez/luis-recognizer-interface-fix branch October 1, 2019 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LuisRecognizer is missing use of interface

3 participants