Core training was skipped because no valid domain file was found. Only an NLU-model was created. Please specify a valid domain using the '--domain' argument or check if the provided domain file exists

when I trained my bot i am getting the above error saying domain file not found.

domain.yml (4.1 KB)

version: "2.0"

intents:

  - greet

  - goodbye

  - affirm

  - deny

  - mood_great

  - mood_unhappy

  - bot_challenge

  - out_of_scope

responses:

  

  utter_greet:

  - text: "Hey! I can help you in determining the applicability of Data Protection Impact Assessment (DPIA) for your business process. Would you like to answer few questions?"

  utter_prevDPIAenquiry:

  - text: "Have you carried out DPIA on the business process before?"

  utter_other_scoring:

  - text: "Have you carried out any scoring of personal data after previous DPIA?"

  utter_other_profiling:

  - text: "Have you carried out any other profiling operation on the personal data after previous DPIA?"

  utter_other_automated_decision_making:

  - text: "Have you carried out any other automated decision making after previous DPIA?"

  utter_other_sensitivedata:

  - text: "Have you processed any other sensitive personal data after previous DPIA?"

  utter_profiling:

  - text: "Does the business process involve profiling of personal data ?"

  utter_scoring:

  - text: "Does the business process involve scoring of personal data?"

  utter_automated_decision_making:

  - text: "Does the buainess process involve any automated decision making ?"

  utter_sensitive_personal_data:

  - text: "Does the buainess process involve collection and processing of any sensitive personal data ?"

  utter_data_multiple_source:

  - text: "Does the buainess process involve combining data from multiple sources?"

  utter_individual_behavior_tracking:

  - text: "Does the business process involve tracking of individual's behavoior or location ?"

  utter_yes_DPIA:

  - text: " Yes, the business process requires a DPIA"

  

  utter_no_DPIA:

  - text: "No, the business process does not require a DPIA"

  

  utter_did_that_help:

  - text: "Did that help you?"

  utter_goodbye:

  - text: "Bye"

  utter_iamabot:

  - text: "I am a bot, powered by Rasa."

slots:

  other_scoring:

    type: text

    influence_conversation: false

  other_profiling:

    type: text

    influence_conversation: false

  other_automated_decision_making:

    type: text

    influence_conversation: false

  other_sensitivedata:

    type: text

    influence_conversation: false

  

  profiling:

    type: text

    influence_conversation: false

  scoring:

    type: text

    influence_conversation: false  

  automated_decision_making:

    type: text

    influence_conversation: false

  sensitive_personal_data:

    type: text

    influence_conversation: false

  data_multiple_source:

    type: text

    influence_conversation: false

  individual_behaviour_tracking:

    type: text

    influence_conversation: false

forms:

  DPIA1_form:

    required_slots:

        other_scoring:

        - type: from_intent

          value: Yes

          intent: affirm

          not_intent: deny

        

        other_profiling:

        - type: from_intent

          value: Yes

          intent: affirm

          not_intent: deny

        other_automated_decision_making:

        - type: from_intent

          value: Yes

          intent: affirm

          not_intent: deny

        other_sensitivedata:

        - type: from_intent

          value: Yes

          intent: affirm

          not_intent: deny

  DPIA2_form:

    required_slots:

        profiling:

        - type: from_intent

          value: Yes

          intent: affirm

          not_intent: deny

        

        scoring:

        - type: from_intent

          value: Yes

          intent: affirm

          not_intent: deny

        automated_decision_making:

        - type: from_intent

          value: Yes

          intent: affirm

          not_intent: deny

        sensitive_personal_data:

        - type: from_intent

          value: Yes

          intent: affirm

          not_intent: deny

        data_multiple_source:

        - type: from_intent

          value: Yes

          intent: affirm

          not_intent: deny

        

        individual_behaviour_tracking:

        - type: from_intent

          value: Yes

          intent: affirm

          not_intent: deny

  

session_config:

  session_expiration_time: 60

  carry_over_slots_to_new_session: true

I have attached my domain.yml file for reference. Please help me

could you run rasa data validate

Maybe there are some yml format errors in your domain.yml file. You can validate it in this web

Hi @Sainnath,

Could you please try it by removing required_slot word from forms mapping?..

I think this will work.

Yeah it worked, thanks a lot!!

Great!!