Skip to content

GraphComponentException: Error running graph component for node train_UnexpecTEDIntentPolicy2. #10441

Description

@sentry

We think this is due to intent not in domain file. Do we not catch this with validation? Try to reproduce and see if we can provide better error message.

Sentry Issue: RASA-OPEN-SOURCE-HAN

ValueError: 'act_greeting' is not in list (3 additional frame(s) were not displayed) ... File "rasa\core\policies\policy.py", line 242, in _featurize_for_training state_features, label_ids, entity_tags = self.featurizer.featurize_trackers( File "rasa\core\featurizers\tracker_featurizers.py", line 333, in featurize_trackers label_ids = self._convert_labels_to_ids(trackers_as_labels, domain) File "rasa\core\featurizers\tracker_featurizers.py", line 903, in _convert_labels_to_ids label_ids = [ File "rasa\core\featurizers\tracker_featurizers.py", line 904, in [domain.intents.index(intent) for intent in tracker_intents] File "rasa\core\featurizers\tracker_featurizers.py", line 904, in [domain.intents.index(intent) for intent in tracker_intents]

GraphComponentException: Error running graph component for node train_UnexpecTEDIntentPolicy2. (17 additional frame(s) were not displayed) ... File "rasa\model_training.py", line 170, in train return _train_graph( File "rasa\model_training.py", line 237, in _train_graph trainer.train( File "rasa\engine\training\graph_trainer.py", line 108, in train graph_runner.run(inputs=

{PLACEHOLDER_IMPORTER: importer}

) File "rasa\engine\runner\dask.py", line 106, in run dask_result = dask.get(run_graph, run_targets) File "rasa\engine\graph.py", line 468, in call raise GraphComponentException(

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:rasa-oss 🎡Anything related to the open source Rasa framework

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions