A processor-implemented method of training an artificial intelligence system, the method comprising: receiving a user voice command; determining an action sequence according to the user voice command; determining whether there is a learned training database related to the determined action sequence; when there is the learned training database related to the determined action sequence, processing the user voice command through a learned action sequence; when there is no learned training database related to the determined action sequence, performing an action using the determined action sequence; transmitting a feedback of completion of the action; determining whether the determined action sequence is an input for user training in response to the user providing a negative reaction or the same and repetitive reactions as a voice input; when it is determined that the action sequence is the input for the user training: tracking a user input and execution information of an electronic device so as to sequentially arrange domain and state information, wherein domain information is information on an application selected by the user and state information is information on a screen operated by the application; updating the domain and state information according to the tracked user input and execution information of the electronic device; when a user training action is completed, transmitting the updated domain and state information to the learned training database; and updating the learned training database according to the updated domain and state information. receiving a user voice command; determining an action sequence according to the user voice command; determining whether there is a learned training database related to the determined action sequence; when there is the learned training database related to the determined action sequence, processing the user voice command through a learned action sequence; when there is no learned training database related to the determined action sequence, performing an action using the determined action sequence; transmitting a feedback of completion of the action; determining whether the determined action sequence is an input for user training in response to the user providing a negative reaction or the same and repetitive reactions as a voice input; when it is determined that the action sequence is the input for the user training: tracking a user input and execution information of an electronic device so as to sequentially arrange domain and state information, wherein domain information is information on an application selected by the user and state information is information on a screen operated by the application; updating the domain and state information according to the tracked user input and execution information of the electronic device; when a user training action is completed, transmitting the updated domain and state information to the learned training database; and updating the learned training database according to the updated domain and state information. tracking a user input and execution information of an electronic device so as to sequentially arrange domain and state information, wherein domain information is information on an application selected by the user and state information is information on a screen operated by the application; updating the domain and state information according to the tracked user input and execution information of the electronic device; when a user training action is completed, transmitting the updated domain and state information to the learned training database; and updating the learned training database according to the updated domain and state information.