@ChrisRahme hey thanks for reply but now I am getting new error (AttributeError: ‘Message’ object has no attribute ‘text’). i have looked in here http://forum.rasa.com/t/message-object-does-not-recognize-text-attribute-in-custom-component-for-rasa-2-0/36313/2 then I am getting new error which is KeyError: ‘text’