Rasa end-to-end training ValueError

This was originally posted by @dingusagar on this thread about our experimental end-to-end architecture. I am copying it here to keep conversations separate.


was trying out this feature, but got an error during the training stage of rasa core

  File "/media/dingusagar/rasa_2_8/lib/python3.7/site-packages/rasa/core/featurizers/tracker_featurizers.py", line 960, in <listcomp>
[domain.intents.index(intent) for intent in tracker_intents] 
ValueError: 'my order is late' is not in list

My stories look like this :

  • story: Order late steps:
    • user: “my order is late”
    • action: utter_sorry_to_hear

I am using rasa 2.8, the config is the default one in rasa 2.8. from the error i feel like the user utterance is treated like an intent and its complaining that such intent is not present. Could someone help me understand what am i doing wrong.


the config is the default one in rasa 2.8. no changes made to it.

language: en

pipeline:

  • name: WhitespaceTokenizer
  • name: RegexFeaturizer
  • name: LexicalSyntacticFeaturizer
  • name: CountVectorsFeaturizer
  • name: CountVectorsFeaturizer analyzer: char_wb min_ngram: 1 max_ngram: 4
  • name: DIETClassifier epochs: 100 constrain_similarities: true
  • name: EntitySynonymMapper
  • name: ResponseSelector epochs: 100 constrain_similarities: true
  • name: FallbackClassifier threshold: 0.3 ambiguity_threshold: 0.1

policies:

  • name: MemoizationPolicy
  • name: RulePolicy
  • name: UnexpecTEDIntentPolicy max_history: 5 epochs: 100
  • name: TEDPolicy max_history: 5 epochs: 100 constrain_similarities: true
1 Like

Hi @dingusagar. Sorry nobody picked up on this for a while.

I can train e2e without problems in the e2ebot example in the rasa repo. What is the output of rasa --version for you?

Hello, @j.mosig

I am facing the same problem my rasa version is:

Rasa Version      :         2.8.1
Minimum Compatible Version: 2.8.0
Rasa SDK Version  :         2.8.1
Rasa X Version    :         0.39.3

what could be the issue here?