We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 553fc5a commit 7b45e0fCopy full SHA for 7b45e0f
rasa/nlu/test.py
@@ -1028,7 +1028,7 @@ def get_entity_extractors(interpreter: Interpreter) -> Set[Text]:
1028
extractors = set()
1029
for c in interpreter.pipeline:
1030
if isinstance(c, EntityExtractor):
1031
- if c.name == "DIETClassifier":
+ if isinstance(c, DIETClassifier):
1032
if c.component_config[ENTITY_RECOGNITION]:
1033
extractors.add(c.name)
1034
else:
0 commit comments