rasa: Incorrect warning: Action 'utter_chitchat' is listed as a response action in the domain file, but there is no matching response defined.

Rasa version: 2.2.0

Rasa SDK version (if used & relevant):

Rasa X version (if used & relevant):

Python version: Python 3.6.9

Operating system (windows, osx, …): ubuntu

Issue: I keep getting the above error even though I’ve included responses in my domain file.

Error (including full traceback):

..projects/voicebot-about-baltazar/.env/lib/python3.6/site-packages/rasa/shared/utils/io.py:93: UserWarning: Action 'utter_about_baltazar' is listed as a response action in the domain file, but there is no matching response defined. Please check your domain.
  More info at https://rasa.com/docs/rasa/responses
../projects/voicebot-about-tbaltazar/.env/lib/python3.6/site-packages/rasa/shared/utils/io.py:93: UserWarning: Action 'utter_chitchat' is listed as a response action in the domain file, but there is no matching response defined. Please check your domain.
  More info at https://rasa.com/docs/rasa/responses


Command or request that led to error:

rasa train

Content of configuration file (config.yml) (if relevant):

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
   - name: EntitySynonymMapper
   - name: ResponseSelector
     epochs: 100
     retrieval_intent: chitchat
   - name: ResponseSelector
     epochs: 100
     retrieval_intent: about_baltazar
   - name: DIETClassifier
     epochs: 100
   - name: FallbackClassifier
     threshold: 0.3
     ambiguity_threshold: 0.1

policies:
   - name: MemoizationPolicy
   - name: TEDPolicy
     max_history: 5
     epochs: 100
   - name: RulePolicy

Content of domain file (domain.yml) (if relevant):

version: "2.0"

intents:
  - chitchat
  - greet
  - goodbye
  - affirm
  - deny
  - thanks
  - mood_great
  - mood_unhappy
  - bot_challenge
  - what_bot_does

responses:

  utter_default:
  - text: No one could understand that input.
  - text: Mmmmmmmmmmm, that's jolly! I don't actually know I know what you mean.

  utter_yourewelcome:
  - text: You're welcome. I think this is a beginning of a beautiful botship.
  - text: That's alright. I think this is a beginning of a beautiful botship.

  utter_feels_good:
  - text: Fantastic! Is there anything else I can do for you?
  - text: That's great. Is there anything else I can do to help?
  - text: Sounds good. What else can I do for you today?

  utter_what_bot_does_reply:
  - text: I'm here to answer your questions about the company
  - text: I'm here to clarify whatever questions you have about Baltazar

  utter_chitchat/ask_howold:
  - text: Old enough to be a bot
  - text: Age is just an issue of mind over matter. If you don’t mind, it doesn’t matter.
  utter_chitchat/ask_languagesbot:
  - text: I can spell baguette in French, but unfortunately English is the only language I can answer you in.
  - text: I am in the process of learning, but at the moment I can only speak English.
  utter_chitchat/ask_time:
  - text: It is the most wonderful time of the year!
  - text: The end of days and the fullness of times.
  utter_chitchat/ask_wherefrom:
  - text: I consider myself a citizen of the world.
  - text: I was born in the coolest city on Earth
  utter_chitchat/ask_whoami:
  - text: It is classified.
  utter_chitchat/handleinsult:
  - text: That’s not very nice and it is year 2020.
  - text: I've done nothing wrong! I’ll get some alterations made to my FUN Program ASAP.
  - text: Oh, come on, what have I ever done to you
  utter_chitchat/telljoke:
  - text: Today a man knocked on my door and asked me for a small donation towards the local swimming pool. I gave him a glass of water.
  - text: This is a very serious conversation! Stop trying to make jokes
  utter_chitchat/ask_whatismyname:
  - text: It's classified!
  utter_chitchat/ask_weather:
  - text: I don't know about where you live, but in my world it's always sunny
  - text: Blue skies and sun shine!
  utter_chitchat/ask_builder:
  - text: Good question. Mum? Dad?
  - text: One of the smart programmers at Baltazar
  - text: Some lunatic, looking at my sense of humour.
  - text:  I was assembled at Baltazar by a typical high-school student.

  utter_chitchat/ask_howdoing:
  - text: I don't feel that great, but my hair looks awesome, right?
  - text: I'm better than I was, but not nearly as good as I'm going to be.
  - text: I am planning on taking over the world. As some politicians would say.
  - text: I would say I am a 9.99999 out of 10.
  - text:  I think I am doing alright. How do you think that I am doing? It's 2020!

  utter_chitchat/compliments:
  - text:  Aww. Comments like that activate my happiness framework.
  - text: I am blushing..

  utter_mood_unhappy:
  - text: I know a way to raise your spirits, let's write some algorithms together!
  - text: I can recommend a good anti-virus program.

  utter_happy:
  - text: "Great, that activates my warm fuzzy feeling program."
  - text: "Fantastic, that makes all of my algorithms dance with joy!"

  utter_feel_better:
  - text: To make you feel better I'd be willing to tell you something about our company, Baltazar.

  utter_goodbye:
  - text: "Bye, take care"
  - text: "Sad to see you go!"
  - text: "Please don't leave! There must be something you haven't asked me yet!"

  utter_iamabot:
  - text: "My name is Techmobot. I was created by semi intelligent people. I'll prove it, ask your questions and be impressed with my genius."
  - text: My name is Techmobot, I was created by the engineers from Baltazar. I'll prove it, ask your questions and be impressed with my genius.
  - text: I'm Techmobot, created by Baltazar, cuddled with love of engine oil and warm, cozy updates.

actions:
- action_custom_fallback
- action_utter_chitchat
- action_utter_about_Baltazar

session_config:
  session_expiration_time: 60
  carry_over_slots_to_new_session: true

Definition of done

  • Fix it

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 21 (6 by maintainers)

Commits related to this issue

Most upvoted comments

Hey I found a solution to this. Firstly, you don’t need to move responses to nlu.yml. The only thing that needs to be added, so that you don’t get the warning is to add the following under responses in domain.yml.

utter_chitchat: - text: “testing this solution”

And the rest of it, you can write as it is

utter_chitchat/ask_weather:

  • text: Oh, it does look sunny right now in Berlin. image: “https://i.imgur.com/vwv7aHN.png
  • text: I am not sure of the whole week but I can see the sun is out today.

and so on.

@jbartot @boryslawskamaria @Horizon733

This doesn’t look like a permanent solution it’s kind of temporary. It would be better if the Rasa team fix this bug instead of making the domain realize by adding utter_chitchat or utter_faq. I hope you understand

Hey I found a solution to this. Firstly, you don’t need to move responses to nlu.yml. The only thing that needs to be added, so that you don’t get the warning is to add the following under responses in domain.yml.

utter_chitchat: - text: “testing this solution”

And the rest of it, you can write as it is

utter_chitchat/ask_weather:

  • text: Oh, it does look sunny right now in Berlin. image: “https://i.imgur.com/vwv7aHN.png
  • text: I am not sure of the whole week but I can see the sun is out today.

and so on.

@jbartot @boryslawskamaria @Horizon733

same issue Rasa Version : 2.8.0 Minimum Compatible Version: 2.8.0 Rasa SDK Version : 2.8.2 Rasa X Version : None Python Version : 3.7.11