Interaction method, device, electronic apparatus, storage medium and program product
View Patent ↗The present disclosure relates to an interaction method, device, electronic apparatus, storage medium and program product, and involves the technical field of artificial intelligence. The interaction method of the present disclosure comprises: displaying an interaction interface of a user and a first Agent; according to interaction information between the user and the first Agent, determining one or more interaction functions associated with the interaction information, wherein the one or more interaction functions are used to interact with the user based on an intention reflected in the interaction information; displaying operation controls of the one or more interaction functions; in response to the user's triggering of a target operation control in the operation controls of the one or more interaction functions, calling the interaction function corresponding to the target operation control to interact with the user.
1 . An interaction method, comprising:
displaying an interaction interface between a user and a first Agent, wherein the first Agent is realized based on Artificial Intelligence technology;
understanding an intention reflected in interaction information between the user and the first Agent and generating summary information corresponding to the interaction information;
determining one or more types matched with the summary information according to the summary information;
selecting, from each of the one or more types of interaction functions, an interaction function matched with the summary information, to obtain one or more interaction functions associated with the interaction information, wherein the interaction information comprises dialogue information and the one or more interaction functions are configured to interact with the user based on the intention reflected in the interaction information;
displaying one or more operation controls of the one or more interaction functions; and
calling, in response to the user triggering a target operation control in the one or more operation controls of the one or more interaction functions, an interaction function corresponding to the target operation control to interact with the user.
2 . The interaction method according to claim 1 , wherein the interaction function corresponding to the target operation control is a first interaction function corresponding to the first Agent, and the calling, in response to the user triggering a target operation control in the one or more operation controls of the one or more interaction functions, an interaction function corresponding to the target operation control to interact with the user comprises:
obtaining prompt information corresponding to the first interaction function in response to the user triggering the target operation control;
generating the first interaction function corresponding to the first Agent according to the prompt information; and
interacting with the user based on the first interaction function by using the first Agent.
3 . The interaction method according to claim 2 , wherein the interacting with the user based on the first interaction function by using the first Agent comprises:
displaying guidance information of starting the first interaction function in the interaction interface between the user and the first Agent; and
displaying, in response to first information input by the user based on the guidance information, response information generated by the first Agent according to the first information and the first interaction function.
4 . The interaction method according to claim 1 , wherein the interaction function corresponding to the target operation control is a second interaction function corresponding to a second Agent, and the calling, in response to the user triggering a target operation control in the one or more operation controls of the one or more interaction functions, an interaction function corresponding to the target operation control to interact with the user comprises:
calling the second Agent to interact with the user based on the second interaction function, in response to the user triggering the target operation control.
5 . The interaction method according to claim 4 , wherein the calling the second Agent to interact with the user based on the second interaction function, in response to the user triggering the target operation control comprises:
displaying an interaction interface between the user and the second Agent; and
displaying, in response to second information input by the user in the interaction interface between the user and the second Agent, response information generated by the second Agent according to the second information and the second interaction function.
6 . The interaction method according to claim 1 , wherein the displaying one or more operation controls of the one or more interaction functions comprises:
displaying the one or more operation controls of the one or more interaction functions in the interaction interface between the user and the first Agent.
7 . The interaction method according to claim 1 , wherein the displaying one or more operation controls of the one or more interaction functions comprises:
displaying the operation controls of the one or more interaction functions on a recommendation tag page, in response to the user triggering an interaction function entry control.
8 . The interaction method according to claim 7 , further comprising:
displaying one or more controls corresponding to one or more function classifications; and
displaying, in response to the user triggering a control corresponding to a target function classification in the one or more function classifications, one or more interaction functions belonging to the target function classification in a tag page of the target function classification.
9 . The interaction method according to claim 1 , further comprising:
displaying the target operation control in the interaction interface between the user and the first Agent, in response to an ending operation of the user on the interaction function corresponding to the target operation control.
10 . The interaction method according to claim 1 , wherein the one or more interaction functions associated with interaction information comprise: one or more of an interaction function based on a role associated with the interaction information, an interaction function based on a field associated with the interaction information, an interaction function based on a scenario associated with the interaction information, and an interaction function based on a tool associated with the interaction information.
11 . An electronic apparatus, comprising:
one or more processors; and
one or more memories, coupled to the one or more processors, for storing instructions which, when executed by the one or more processors, cause the one or more processors to:
display an interaction interface between a user and a first Agent, wherein the first Agent is realized based on Artificial Intelligence technology;
understand an intention reflected in interaction information between the user and the first Agent and generate summary information corresponding to the interaction information;
determine one or more types matched with the summary information according to the summary information:
select, from each of the one or more types of interaction functions, an interaction function matched with the summary information, to obtain one or more interaction functions associated with the interaction information, wherein the interaction information comprises dialogue information and the one or more interaction functions are configured to interact with the user based on an intention reflected in the interaction information;
display one or more operation controls of the one or more interaction functions; and
call, in response to the user triggering a target operation control in the one or more operation controls of the one or more interaction functions, an interaction function corresponding to the target operation control to interact with the user.
12 . The electronic apparatus according to claim 11 , wherein the interaction function corresponding to the target operation control is a first interaction function corresponding to the first Agent, and the calling, in response to the user triggering a target operation control in the one or more operation controls of the one or more interaction functions, an interaction function corresponding to the target operation control to interact with the user comprises:
obtaining prompt information corresponding to the first interaction function in response to the user triggering the target operation control;
generating the first interaction function corresponding to the first Agent according to the prompt information; and
interacting with the user based on the first interaction function by using the first Agent.
13 . The electronic apparatus according to claim 12 , wherein the interacting with the user based on the first interaction function by using the first Agent comprises:
displaying guidance information of starting the first interaction function in the interaction interface between the user and the first Agent; and
displaying, in response to first information input by the user based on the guidance information, response information generated by the first Agent according to the first information and the first interaction function.
14 . The electronic apparatus according to claim 11 , wherein the displaying one or more operation controls of the one or more interaction functions comprises:
displaying the operation controls of the one or more interaction functions on a recommendation tag page, in response to the user triggering an interaction function entry control.
15 . The electronic apparatus according to claim 14 , wherein the instructions when executed by the one or more processors, cause the one or more processors further to:
display one or more controls corresponding to one or more function classifications; and
display, in response to the user triggering a control corresponding to a target function classification in the one or more function classifications, one or more interaction functions belonging to the target function classification in a tag page of the target function classification.
16 . A non-transitory computer-readable storage medium, on which a computer program is stored, wherein the program when executed by a processor, causes the processor to:
display an interaction interface between a user and a first Agent, wherein the first Agent is realized based on Artificial Intelligence technology;
understand an intention reflected in interaction information between the user and the first Agent and generate summary information corresponding to the interaction information;
determine one or more types matched with the summary information according to the summary information;
select, from each of the one or more types of interaction functions, an interaction function matched with the summary information, to obtain one or more interaction functions associated with the interaction information, wherein the interaction information comprises dialogue information and the one or more interaction functions are configured to interact with the user based on an intention reflected in the interaction information;
display one or more operation controls of the one or more interaction functions; and
call, in response to the user triggering a target operation control in the one or more operation controls of the one or more interaction functions, an interaction function corresponding to the target operation control to interact with the user.
17 . The non-transitory computer-readable storage medium according to claim 16 , wherein the interaction function corresponding to the target operation control is a first interaction function corresponding to the first Agent, and the calling, in response to the user triggering a target operation control in the one or more operation controls of the one or more interaction functions, an interaction function corresponding to the target operation control to interact with the user comprises:
obtaining prompt information corresponding to the first interaction function in response to the user triggering the target operation control;
generating the first interaction function corresponding to the first Agent according to the prompt information; and
interacting with the user based on the first interaction function by using the first Agent.
18 . The non-transitory computer-readable storage medium according to claim 17 , wherein the interacting with the user based on the first interaction function by using the first Agent comprises:
displaying guidance information of starting the first interaction function in the interaction interface between the user and the first Agent; and
displaying, in response to first information input by the user based on the guidance information, response information generated by the first Agent according to the first information and the first interaction function.
19 . The non-transitory computer-readable storage medium according to claim 16 , wherein the displaying one or more operation controls of the one or more interaction functions comprises:
displaying the operation controls of the one or more interaction functions on a recommendation tag page, in response to the user triggering an interaction function entry control.
20 . The non-transitory computer-readable storage medium according to claim 19 , wherein the computer program when executed by the one or more processors, causes the processor further to:
display one or more controls corresponding to one or more function classifications; and
display, in response to the user triggering a control corresponding to a target function classification in the one or more function classifications, one or more interaction functions belonging to the target function classification in a tag page of the target function classification.