Apparatus for providing conversation services and method thereof
Provided is method of providing a conversation service in an electronic apparatus, including receiving a conversation input from a user terminal, identifying conversation history information associated with a user of the user terminal, obtaining score information corresponding to the user based on the conversation input and the conversation history information, obtaining response information based on the conversation input and the conversation history information, and providing the user terminal with at least one of the score information and the response information.
1 . A method of providing a conversation service in an electronic apparatus, the method comprising:
receiving a conversation input from a user terminal;
determining whether the conversation input satisfies a set condition;
when the conversation input satisfies the set condition, providing the user terminal with feedback information related to the conversation input;
identifying conversation history information associated with a user of the user terminal;
obtaining score information corresponding to the user based on the conversation input and the conversation history information, wherein the electronic apparatus obtains the score information further based on whether the conversation input satisfies the set condition;
obtaining response information based on the conversation input and the conversation history information; and
providing the user terminal with at least one of the score information and the response information.
2 . The method of claim 1 , wherein the electronic apparatus obtains the score information further based on the response information.
3 . The method of claim 1 , wherein the electronic apparatus obtains the response information further based on the score information.
4 . The method of claim 1 , further comprising:
based on the conversation input and the conversation history information, obtaining parameter information corresponding to an emotion of a conversation counterpart of the user,
wherein the electronic apparatus obtains the score information and the response information further based on the parameter information corresponding to the emotion.
5 . The method of claim 1 , wherein the obtaining the score information includes:
providing a set model with the conversation input and an input including the conversation history information; and
obtaining an output from the model in response to the conversation input and the input including the conversation history information.
6 . The method of claim 5 , wherein the output of the model is determined according to a manner in which the model is set,
wherein the manner in which the model is set includes a manner related to how learning data for setting the model is labeled.
7 . The method of claim 1 , further comprising:
based on at least one of the response information and the score information, obtaining motion information of an avatar corresponding to a conversation counterpart of the user; and
providing the motion information to the user terminal.
8 . The method of claim 7 , wherein the electronic apparatus obtains the motion information in such a manner that a degree of association between the motion information and the response information is greater than a degree of association between the motion information and the score information.
9 . The method of claim 1 , further comprising:
based on the score information, determining whether to continue a conversation with the user.
10 . The method of claim 9 , wherein the conversation service includes a conversation type game service, and
wherein the determining whether to continue the conversation with the user includes determining whether to proceed to a next stage associated with the game service based on the score information.
11 . The method of claim 1 , wherein the conversation history information includes historic score information corresponding to the user, wherein the historic score information is previously obtained based on at least one previous conversation.
12 . The method of claim 1 , wherein the determining whether the conversation input satisfies the set condition includes at least one of:
identifying whether the conversation input includes a set keyword; or
identifying whether the conversation input belongs to a set category.
13 . The method of claim 1 , wherein a method of using the conversation history information to obtain the score information and a method of using the conversation history information to obtain the response information are different from each other.
14 . A computer-readable non-transitory recording medium having a program for executing the method of claim 1 on a computer.
15 . An electronic apparatus of providing a conversation service, comprising:
a transceiver;
a memory configured to store instructions; and
a processor, wherein the processor, connected to the transceiver and the memory, is configured to
receive a conversation input from a user terminal;
determine whether the conversation input satisfies a set condition;
when the conversation input satisfies the set condition, provide the user terminal with feedback information related to the conversation input;
identify conversation history information associated with a user of the user terminal;
obtain score information corresponding to the user based on the conversation input and the conversation history information, wherein the electronic apparatus obtains the score information further based on whether the conversation input satisfies the set condition;
obtain response information based on the conversation input and the conversation history information; and
provide the user terminal with at least one of the score information and the response information.
16 . The electronic apparatus of claim 15 , wherein the processor obtains the score information further based on the response information.
17 . The electronic apparatus of claim 15 , wherein the processor obtains the response information further based on the score information.
18 . The electronic apparatus of claim 15 , wherein:
based on the conversation input and the conversation history information, the processor obtains parameter information corresponding to an emotion of a conversation counterpart of the user, and
the processor obtains the score information and the response information further based on the parameter information corresponding to the emotion.
19 . The electronic apparatus of claim 15 , wherein, in order to obtain the score information, the processor is configured to:
provide a set model with the conversation input and an input including the conversation history information; and
obtain an output from the model in response to the conversation input and the input including the conversation history information.
20 . The electronic apparatus of claim 15 , wherein the processor is further configured to:
based on at least one of the response information and the score information, obtain motion information of an avatar corresponding to a conversation counterpart of the user; and
provide the motion information to the user terminal.
21 . The electronic apparatus of claim 15 , wherein the processor is further configured to:
based on the score information, determine whether to continue a conversation with the user.
22 . The electronic apparatus of claim 21 , wherein the conversation service includes a conversation type game service, and
wherein, in order to determine whether to continue the conversation with the user, the processor is configured to: determine whether to proceed to a next stage associated with the game service based on the score information.