CROSS-REFERENCE TO RELATED APPLICATION

Pursuant to 35 U.S.C. § 119(a), this application claims the benefit of earlier filing date and right of priority to Korean Patent Application No. 10-2019-0171111, filed on Dec. 19, 2019, the contents of which are all hereby incorporated by reference herein in their entirety.

BACKGROUND

1. Technical Field

The present disclosure relates to an electronic device providing various responses to a query and a method for operating the same.

2. Description of Related Art

As technology advances, various services to which speech recognition techniques and natural language interpretation techniques are applied have recently been introduced in the field of information communication technology (ICT). One of such services is a “chatbot,” which is a computer program that performs a specific operation through conversation with humans by means of speech or text.

An electronic device with a chatbot of related art1can provide users with a conversation service, but the chatbot of related art1can only offer limited opinions in limited fields, and thus cannot provide various user-customized opinions in various fields.

Related Art 1: Korean Patent Application Publication No. 10-2019-0061239 (laid-open on Jun. 5, 2019)

SUMMARY OF THE INVENTION

An aspect of the present disclosure is directed to providing an electronic device which provides a customized response to a query of a user and a method for operating the same.

Another aspect of the present disclosure is directed to providing an electronic device in which chatbots having different profiles from each other may offer various opinions with respect to a query of a user and a method for operating the same.

Yet another aspect of the present disclosure is directed to providing an electronic device which generates response information based on responses of chatbots having different profiles from each other.

The present disclosure is not limited to what has been described above, and other aspects not mentioned herein will be apparent from the following description to one of ordinary skill in the art to which the present disclosure pertains.

An electronic device according to an embodiment of the present disclosure may include a memory configured to store a pre-trained query response model, and a processor configured to, in an application step, generate response information corresponding to query information of an enquirer.

The processor may be configured to provide the query response model with the query information, profile information of the enquirer, and at least one piece of first response information responding to the query information, to thereby generate second response information based on the first response information.

A method for operating an electronic device according to an embodiment of the present disclosure may include: providing a pre-trained query response model with query information of an enquirer, profile information of the enquirer, and at least one piece of first response information responding to the query information; and on the basis of the first response information, generating second response information that responds to the query information.

According to various embodiments of the present disclosure, response information based on the profile of the user may be automatically generated, and various response information corresponding to a query of the user may be generated. Accordingly, user convenience may be improved.

