question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

('instruction', '') # user instructions for select, rawselect, checkbox TypeError: object() takes no parameters

See original GitHub issue

Rasa version: 0.13.7

Python version: 3.6.5

Operating system (windows 8):

Issue: I am trying to fire this command “python -m rasa_core.train -d domain.yml -s data/stories.md -o models/current/dialogue -c config.yml” I tried many possibilities but dont know why it is getting wrong. Please help me Thnak you.

Content of configuration file (config.yml):

language: "en"

pipeline:
 - name: "nlp_spacy"
   model: "en"
 - name: "tokenizer_spacy"
 - name: "ner_crf"
 - name: "intent_featurizer_spacy"
 - name: "intent_classifier_sklearn"

policies:
  - name: KerasPolicy
    epochs: 100
    max_history: 5
  - name: FallbackPolicy
    fallback_action_name: 'action_default_fallback'
  - name: MemoizationPolicy
    max_history: 5
  - name: FormPolicy





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

  intents:
      - greet
      - PF_UAN_Number
      - Update_Bank_Account
      - Update_Mobile_Number
      - Update_PAN
      - Update_Name
      - previous_PF_number
      - reason_No_Salary
      - Update_Date_of_Birth
      - Experience_Relieving_letter
      - Offer_letter
      - Less_salary
      - form_16
      - Permanent_ID_Card
      - Promotion_letter
      - Maternity_Leave_Benefits
      - Leave_Policy
      - paternity_leave
      - Regularize_LOP
      - leave_Child_birth
      - Miscarriage_Medical_termination_of_pregnancy
      - Tubectomy_operation
      - Apply_for_leaves
      - Book_transportation_Drop
      - apply_Mobile_Reimbursement
      - fill_appraisal



  templates:
      utter_greet:
          - 'Hello, how can I help you?'
          - 'Hi, I am here to help.'
      utter_PF_UAN_Number:
          - 'How can I update my PF number?'
      utter_Update_Bank_Account:
          - 'How can I update my bank account?'
      utter_Update_Mobile_Number :
          - 'How can update my mobile number?'
      utter_Update_PAN :
          - 'How can I update my pan number?'
      utter_Update_Name:
          - 'How can I update my name?'
      utter_previous_PF_number :
          - 'How  can I continue with my previous PF number?'
      utter_reason_No_Salary :
          - 'I havent received my salary how could I know the reason?'
      utter_Experience_Relieving_letter:
          - 'How can I get my experience / relieving letter?'
      utter_Offer_letter :
          - 'How can I get my offer letter?'
      utter_Less_salary:
          - 'I have received less salary ,how could this happen?'



  actions:
      - utter_greet
      - action_db

  policies:
      - 'KerasPolicy'
      - 'MemoizationPolicy'

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
paulaWesselmanncommented, Apr 11, 2019

Hey @sushilr007, can you copy your full error message please? Also you don’t list the policies in your domain file, maybe that fixes your error.

1reaction
akeladcommented, Apr 11, 2019

Thanks for raising this issue, @paulaWesselmann will get back to you about it soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Facin this issue in rasa: TypeError: object() takes no parameters ...
('instruction', '') # user instructions for select, rawselect, checkbox TypeError: object() takes no parameters. Any help please?
Read more >
Python RASA - Error "object() takes no parameters" while ...
I had faced a similar issue. Installing the following libraries with the version should resolve the error: python==3.6.7; rasa_core==0.9.6 ...
Read more >
Python TypeError: object() takes no arguments Solution
In this guide, we talk about what this error means and why you may encounter it. We'll walk through an example of this...
Read more >
django.pdf - Read the Docs
Although you can use Django without a database, it comes with an object-relational mapper in which you describe.
Read more >
Error:TypeError: object.__new__() takes no parameters.
My code: class Employee(object): """Models real-life employees!""" def __init__(self, employee_name): self.employee_name = employee_name def ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found