Online shopping customer service processing method and equipment based on AI digital human, and medium
By adaptively switching the response style of the AI digital human and adjusting the response strategy based on user feedback and historical data, the problem of rigid communication by the AI digital human in online shopping is solved and the user experience and communication efficiency are improved.
Patent Information
- Application Number
- CN202410828072.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-17
AI Technical Summary
AI digital humans cannot serve customers flexibly in online shopping scenarios, and communication is too rigid, resulting in low communication efficiency and affecting user experience.
By obtaining user communication information, we use pre-trained style prediction models and satisfaction recognition models to adaptively switch the response style of the AI digital human, adjust response strategies based on user feedback and historical data, and generate reply information that fits the user's identity.
It improves the efficiency and experience of users communicating with AI digital humans, reduces users’ emotionless feelings towards intelligent customer service, and makes interactions smoother.
Smart Images

Figure CN118656700A
Abstract
Description
Technical Field
[0001] The present application relates to the field of AI digital human technology, and in particular to an online shopping customer service processing method, device and medium based on AI digital human. Background Art
[0002] Digital human refers to a comprehensive product that exists in the non-physical world, is created and used by computer means, and has multiple human characteristics (appearance characteristics, human performance and interaction capabilities, etc.). Virtual digital humans can be divided according to personality symbols and graphic dimensions, or according to character graphic dimensions. Character image, voice generation module, animation generation module, audio and video synthesis display module, and interaction module constitute the general system framework of virtual digital humans.
[0003] Applying AI digital people in customer service scenarios can reduce labor costs and provide uninterrupted service 24 hours a day. Although AI digital people can provide certain services to customers, they often cannot understand the user's personal feelings during the service process and can only serve customers through standardized responses. Especially in the process of online shopping, the communication with users is too rigid and the communication efficiency is low, which affects the user's service experience and even affects the final transaction results. Summary of the invention
[0004] The embodiments of the present application provide an online shopping customer service processing method, device and medium based on AI digital humans, which are used to solve the technical problems that AI digital humans cannot flexibly serve customers in online shopping, communicate with users in a rigid manner, and have low communication efficiency, which affects the user's service experience.
[0005] On the one hand, an embodiment of the present application provides an online shopping customer service processing method based on AI digital human, the method comprising:
[0006] Acquire a plurality of user communication information within a first preset time, and input each of the user communication information into a pre-trained style prediction model to perform style switching intention prediction;
[0007] Based on the current AI digital human and the preset expression package database, generate reply information corresponding to the user communication information, and send the reply information to the corresponding user terminal in the initial response style;
[0008] Acquire feedback information from the user terminal within a second preset time; wherein the feedback information at least includes response data of the user to the reply information;
[0009] Inputting the user communication information and the corresponding feedback information into a preset satisfaction recognition model to calculate the satisfaction evaluation value of the corresponding user to the initial response style of the current AI digital person;
[0010] When the satisfaction evaluation value is less than a first preset threshold, determining a pending switching style sequence output by the style prediction model, so as to train the current AI digital human based on the user communication information, the feedback information and the satisfaction evaluation value through a preset reinforcement learning algorithm, so that the current AI digital human learns the optimal response strategy for different response styles;
[0011] According to the real-time user communication information and the pending switching style sequence, the initial response style of the current AI digital person is adaptively switched to a corresponding response style.
[0012] In one implementation of the present application, the style prediction model includes a classification label layer and a feature extraction layer; wherein the classification label layer includes at least classification labels of multiple response styles;
[0013] Inputting each of the user communication information into a style prediction model to predict the style switching intention specifically includes:
[0014] Extracting target features from each of the user communication information;
[0015] Inputting the extracted target feature into the feature extraction layer in the style prediction model for processing to obtain a style feature vector corresponding to the user communication information;
[0016] Based on the generated style feature vector and the classification label layer, style switching intention information corresponding to the user communication information is determined; wherein the style switching intention information at least includes a style switching intention and a corresponding to-be-determined switching style.
[0017] In one implementation of the present application, based on the current AI digital human and the preset expression package database, reply information corresponding to the user communication information is generated, specifically including:
[0018] Determine the account information for sending the user communication information; the account information includes at least one or more of the following: age, occupation, and hobbies; match the account information with a preset emoticon package knowledge graph to determine the emoticon package classification group corresponding to the account information according to the matching result; wherein the preset emoticon package knowledge graph is constructed based on the usage frequency of different emoticons by several user groups; determine the corresponding emoticon package usage theme according to the emoticon package classification group and the preset emoticon package database; send the emoticon package usage theme to the current AI digital human, so that the current AI digital human generates the reply information based on the emoticon package usage theme.
[0019] In one implementation of the present application, before inputting the user communication information and the corresponding feedback information into a preset satisfaction recognition model to calculate the satisfaction evaluation value of the corresponding user to the initial response style of the current AI digital person, the method further includes:
[0020] Acquire historical communication data corresponding to a plurality of sample users; wherein the historical communication data at least includes comments and dynamics posted by the sample users on a preset designated platform;
[0021] Generate a user portrait according to the historical communication data, and match a satisfaction evaluation list corresponding to the user portrait according to a preset database; wherein the satisfaction evaluation list includes expression information corresponding to different satisfaction evaluation values corresponding to the user portrait; the expression information includes at least one or more of the following: text, voice, action;
[0022] The satisfaction evaluation list and the historical communication data are used as samples and input into a preset neural network model for training until the loss function value is less than a second preset threshold value, thereby obtaining the corresponding preset satisfaction recognition model;
[0023] Inputting the user communication information and the corresponding feedback information into a preset satisfaction recognition model to calculate the satisfaction evaluation value of the corresponding user to the initial response style of the current AI digital person, specifically including:
[0024] Establishing an association relationship between the user communication information and the feedback information to obtain communication data;
[0025] The communication data is input into the preset satisfaction level recognition model to determine the satisfaction level evaluation value output by the preset satisfaction level recognition model.
[0026] In an implementation of the present application, when the satisfaction evaluation value is less than a first preset threshold, determining a pending switching style sequence output by the style prediction model specifically includes:
[0027] According to the user portrait and the preset style tendency list, a plurality of pending switching styles whose style tendency is greater than a third preset threshold are screened;
[0028] The plurality of pending switching styles obtained by screening are sorted in descending order of the style tendency to obtain the pending switching style sequence.
[0029] In one implementation of the present application, the current AI digital human is trained based on the user communication information, the feedback information and the satisfaction evaluation value by a preset reinforcement learning algorithm, so that the current AI digital human learns the optimal response strategy for different response styles, specifically including:
[0030] Encoding the user communication information to generate a state feature vector;
[0031] Determine a reward signal corresponding to the preset reinforcement learning algorithm according to the state feature vector, the feedback information and the satisfaction evaluation value; the reward signal represents the quality of the response of the current AI digital person;
[0032] The current AI digital human is updated and trained according to the reward signal to update the response strategy of the current AI digital human and determine the optimal response strategy for the user communication information with different response styles.
[0033] In one implementation of the present application, the method further includes:
[0034] In the process of adaptively switching the initial response style of the current AI digital human, stopping the control of the current AI digital human; and
[0035] Cache the real-time user communication information during the switching process into a preset cache area, and accumulate the cache time until the initial answering style is switched;
[0036] When the initial answering style is switched successfully and the accumulated cache duration at the corresponding moment is less than the preset duration, the current AI digital human is controlled to generate the reply information corresponding to the user communication information according to the switched answering style;
[0037] When the accumulated buffering time is equal to or greater than the preset time and the initial response style is in the process of switching, style switching abnormal information is generated and sent to the corresponding management terminal.
[0038] In one implementation of the present application, the method further includes:
[0039] In the case where there are multiple users, if all of the satisfaction evaluation values are equal to or greater than the first preset threshold, and the maximum satisfaction evaluation value is greater than the third preset threshold, a questionnaire is sent to the corresponding user terminals through the current AI digital human to obtain service evaluation information of each user on the current AI digital human;
[0040] If the service evaluation information is favorable, the initial response style of the current AI digital person remains unchanged;
[0041] If the service evaluation information is a bad review, the style of the current AI digital human is switched again.
[0042] On the other hand, the embodiment of the present application further provides an online shopping customer service processing device based on AI digital human, the device comprising:
[0043] at least one processor; and a memory in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0044] Acquire a plurality of user communication information within a first preset time, and input each of the user communication information into a pre-trained style prediction model to perform style switching intention prediction;
[0045] Based on the current AI digital human and the preset expression package database, generate reply information corresponding to the user communication information, and send the reply information to the corresponding user terminal in the initial response style;
[0046] Acquire feedback information from the user terminal within a second preset time; wherein the feedback information at least includes response data of the user to the reply information;
[0047] Inputting the user communication information and the corresponding feedback information into a preset satisfaction recognition model to calculate the satisfaction evaluation value of the corresponding user to the initial response style of the current AI digital person;
[0048] When the satisfaction evaluation value is less than a first preset threshold, determining a pending switching style sequence output by the style prediction model, so as to train the current AI digital human based on the user communication information, the feedback information and the satisfaction evaluation value through a preset reinforcement learning algorithm, so that the current AI digital human learns the optimal response strategy for different response styles;
[0049] According to the real-time user communication information and the pending switching style sequence, the initial response style of the current AI digital person is adaptively switched to a corresponding response style.
[0050] On the other hand, the embodiment of the present application further provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:
[0051] Acquire a plurality of user communication information within a first preset time, and input each of the user communication information into a pre-trained style prediction model to perform style switching intention prediction;
[0052] Based on the current AI digital human and the preset expression package database, generate reply information corresponding to the user communication information, and send the reply information to the corresponding user terminal in the initial response style;
[0053] Acquire feedback information from the user terminal within a second preset time; wherein the feedback information at least includes response data of the user to the reply information;
[0054] Inputting the user communication information and the corresponding feedback information into a preset satisfaction recognition model to calculate the satisfaction evaluation value of the corresponding user to the initial response style of the current AI digital person;
[0055] When the satisfaction evaluation value is less than a first preset threshold, determining a pending switching style sequence output by the style prediction model, so as to train the current AI digital human based on the user communication information, the feedback information and the satisfaction evaluation value through a preset reinforcement learning algorithm, so that the current AI digital human learns the optimal response strategy for different response styles;
[0056] According to the real-time user communication information and the pending switching style sequence, the initial response style of the current AI digital person is adaptively switched to a corresponding response style.
[0057] Compared with the prior art, the present invention has the following significant effects:
[0058] Through the above technical solution, this application can give different response styles and replies with emoticons that fit the user's identity for user communication information during online shopping, and flexibly switch the response style according to user satisfaction, so as to flexibly serve customers. Replying to users in a response style that is easy for users to accept, users can experience different service styles, reduce users' emotionless feelings when facing intelligent customer service machines, make users interact with AI digital people more smoothly, avoid overly rigid communication with users, and improve low communication efficiency and user service experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0060] Figure 1 A flowchart of an online shopping customer service processing method based on AI digital human in an embodiment of the present application;
[0061] Figure 2 This is a structural diagram of an online shopping customer service processing device based on AI digital human in an embodiment of the present application. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0063] The embodiments of the present application provide an online shopping customer service processing method, device and medium based on AI digital humans, which are used to solve the technical problems that AI digital humans cannot flexibly serve customers in online shopping, communicate with users in a rigid manner, and have low communication efficiency, which affects the user's service experience.
[0064] The following describes in detail various embodiments of the present application in conjunction with the accompanying drawings.
[0065] The embodiment of the present application provides an online shopping customer service processing method based on AI digital human, which can be applied in supply chain procurement, employee supermarket procurement, shopping and other scenarios. In the scenario, the AI digital human of the present application can be provided to one or more users to provide customer service for a single user or multiple users. Figure 1 As shown, the method may include steps S101-S106:
[0066] S101, the server obtains a plurality of user communication information within a first preset time, and inputs each user communication information into a pre-trained style prediction model to perform style switching intention prediction.
[0067] It should be noted that the server, as the executor of the online shopping customer service processing method based on AI digital people, exists only as an example. The executor is not limited to the server, and this application does not make any specific limitations on this.
[0068] In an embodiment of the present application, a user can communicate with an AI digital person in real time, and the server can collect user communication information when the user communicates with the AI digital person within a first preset time. The first preset time may be a pre-set time, and the present application does not specifically limit this. The user communication information includes at least one or more of the following formats: text, voice, image, video. The user communication information may be a group of information composed of text, voice, image, video, etc., such as voice and video, text and image, and the present application does not specifically limit this.
[0069] For example, AI digital people are intelligent customer service set up for supply chain platforms. The server can collect consultation information related to the supply chain platform from user terminals within the first preset time, such as 10 seconds, and then obtain user communication information.
[0070] The server processes a number of user communication messages through a style prediction model to determine whether the user communication messages carry a style switching intention. In an embodiment of the present application, the style prediction model includes a classification label layer and a feature extraction layer. Among them, the classification label layer includes at least classification labels of multiple response styles.
[0071] The communication information of each user is input into the style prediction model to predict the style switching intention, which specifically includes:
[0072] Extract target features from each user communication information. Input the extracted target features into the feature extraction layer in the style prediction model for processing to obtain the style feature vector of the corresponding user communication information. Based on the generated style feature vector and the classification label layer, determine the style switching intention information of the corresponding user communication information. The style switching intention information at least includes the style switching intention and the corresponding to-be-determined switching style.
[0073] In other words, the pre-trained style prediction model includes a classification label layer and a feature extraction layer. The classification label layer includes classification labels of multiple response styles, which will be assigned after the feature extraction layer processes the style feature vector obtained by the user communication information. If the classification label assigned to the user communication information is response style m1, and the initial response style is m0, then the style switching intention is switching, and the pending switching style is m1.
[0074] Through the above solution, timely style switching intention prediction can be performed based on user communication information, thereby better serving users and improving user experience.
[0075] S102, the server generates reply information corresponding to the user communication information based on the current AI digital human and the preset expression package database, and sends the reply information to the corresponding user terminal in the initial response style.
[0076] The server is deployed with AI digital people, and the current AI digital people can answer and respond to the user's communication information. The server will send the reply information used to respond to the user's communication information to the user terminal. The user terminal can be understood as the user's mobile phone, computer and other devices, and this application does not make specific restrictions on this.
[0077] For a number of user communication messages within the first preset time, the current AI digital human will play the reply messages in the initial response style, for example, playing the reply messages in the first response style such as the tsundere style for the user to view.
[0078] In the embodiment of the present application, based on the current AI digital human and the preset expression package database, the reply information corresponding to the user communication information is generated, specifically including:
[0079] The server determines the account information for sending user communication information. The account information includes at least one or more of the following: age, occupation, and hobbies. The account information is matched with the preset emoticon package knowledge graph to determine the emoticon package classification group corresponding to the account information according to the matching result. Among them, the preset emoticon package knowledge graph is constructed based on the frequency of use of different emoticons by several user groups. According to the emoticon package classification group and the preset emoticon package database, the corresponding emoticon package usage theme is determined. The emoticon package usage theme is sent to the current AI digital human so that the current AI digital human generates a reply message based on the emoticon package usage theme.
[0080] That is to say, the server can store relevant account information of the user account that sends user communication information. The account information can be entered by the user himself or generated by the server based on the user's usage habits, historical purchase records, and browsing traces. For example, the names of the products browsed and purchased by the user in the past are input into a pre-trained neural network model for recognition to obtain the user's corresponding age group, occupation, hobbies and other information.
[0081] The server will also pre-build an emoji knowledge graph, and users can be classified through account information to obtain emoji classification groups. Emoji classification groups refer to those who like one or several categories of emojis more. When replying, emojis corresponding to the emoji classification groups can be used to generate reply information. Different emoji classification groups may correspond to different emoji usage themes in the preset emoji database. An emoji usage theme may correspond to one or more groups of emojis related to the theme. For example, an emoji usage theme may be Theme A, which contains "Chinese comic emojis" and so on. The current AI digital human can generate reply information based on the emoji usage theme. For example, some relatively stiff text content in the reply information can be expressed to the user by adding it to the emoji package.
[0082] In addition, the present application can perform word segmentation processing on the text or voice content in the reply information, and determine the emotional fluctuation value corresponding to each word segmentation, which is used to characterize the degree of influence on the user's emotions. The emotional fluctuation value can be set by the user based on actual usage, and the present application does not make specific restrictions on this. When the emotional fluctuation value is greater than an emotional fluctuation setting value, and the user emotion caused by the word segmentation is a negative emotion, the word segmentation is processed through the above-mentioned emoticon package to relieve the user's emotions.
[0083] Furthermore, the server can also identify the privacy level of the user's communication information, compare the privacy level with several privacy threshold intervals, and based on the comparison results, the server can update the response style to generate the emotional fluctuation setting value when replying to the information. For example, if the user's communication information is about the purchase of personal items, the privacy level is relatively high, and the reply information may affect the user's emotions if it is not carefully expressed. At this time, the server will reduce the emotional fluctuation setting value to ease the user's emotions and avoid giving the user a bad experience due to careless expression.
[0084] Through the above solution, more user-friendly and flexible responses can be provided, improving the user experience of AI digital customer service.
[0085] S103: The server obtains feedback information from the user terminal within a second preset time.
[0086] The feedback information at least includes the user's response data to the reply information.
[0087] The second preset time is preset by the user. After the first preset time, the second preset time is reached. The user terminal can respond to the reply information within the second preset time, and the server can obtain the response data. The response data can be specifically understood as the data of the user on the same topic of the user communication information and the reply information. The server receives all the response data of the user to the reply information within the second preset time, thereby obtaining feedback information.
[0088] S104, the server inputs the user communication information and the corresponding feedback information into a preset satisfaction recognition model to calculate the satisfaction evaluation value of the corresponding user to the initial response style of the current AI digital person.
[0089] In the embodiment of the present application, before inputting the user communication information and the corresponding feedback information into the preset satisfaction recognition model to calculate the satisfaction evaluation value of the corresponding user to the initial response style of the current AI digital person, the method further includes:
[0090] Obtain historical communication data corresponding to multiple sample users. The historical communication data at least includes comments and updates posted by sample users on a preset designated platform. Generate a user portrait based on the historical communication data, and match a satisfaction evaluation list corresponding to the user portrait based on a preset database. The satisfaction evaluation list includes expression information corresponding to different satisfaction evaluation values corresponding to the user portrait. The expression information includes at least one or more of the following: text, voice, and action. Use the satisfaction evaluation list and the historical communication data as samples, input them into a preset neural network model for training, until the loss function value is less than a second preset threshold, and obtain the corresponding preset satisfaction recognition model.
[0091] That is to say, this application will use the historical communication data of multiple sample users for model training. First, the server can use the historical communication data to generate a user portrait of the sample user, and then match the user portrait with some expression information in the preset database to obtain expression information related to the user portrait. The expression information corresponds to a satisfaction evaluation value, and then generates a satisfaction evaluation list. The preset database can be a database that is pre-set by the user and stores the association between the user portrait and the expression information.
[0092] The preset neural network model is trained through the satisfaction evaluation list and historical communication data, with the satisfaction evaluation value as the training label, until the loss function value is less than the second preset threshold, and the corresponding preset satisfaction recognition model is obtained. The second preset threshold is set by the user according to the actual usage scenario, and this application does not make specific restrictions on this.
[0093] The user communication information and corresponding feedback information are input into the preset satisfaction recognition model to calculate the satisfaction evaluation value of the corresponding user to the initial response style of the current AI digital person, including:
[0094] Establish a correlation between user communication information and feedback information to obtain communication data. Input the communication data into a preset satisfaction level recognition model to determine the satisfaction evaluation value output by the preset satisfaction level recognition model.
[0095] In addition, the satisfaction level recognition model preset in the present application can also obtain corresponding expression information and a user portrait corresponding to the expression information through the satisfaction evaluation value of the communication data, and store the user portrait in the server.
[0096] In the embodiment of the present application, the server may first establish an association relationship between user communication information and feedback information. Since the first preset time may contain multiple user communication information and the second preset time may contain multiple feedback information, the server may establish an association relationship between user communication information and feedback information through context recognition, and form the context-related user communication information and feedback information into communication data. Subsequently, the communication data is processed through a preset satisfaction recognition model to obtain a satisfaction evaluation value corresponding to the communication data.
[0097] Through the above scheme, the satisfaction evaluation value of the initial response style can be flexibly and accurately obtained based on the user communication information and feedback information.
[0098] S105, when the satisfaction evaluation value is less than the first preset threshold, the server determines the pending switching style sequence output by the style prediction model, and trains the current AI digital human based on user communication information, feedback information and satisfaction evaluation value through a preset reinforcement learning algorithm, so that the current AI digital human learns the optimal response strategy for different response styles.
[0099] In the embodiment of the present application, when the satisfaction evaluation value is less than the first preset threshold, determining the pending switching style sequence output by the style prediction model specifically includes:
[0100] According to the user portrait and the preset style tendency list, multiple pending switching styles with style tendency greater than a third preset threshold are screened. The screened multiple pending switching styles are sorted in descending order of style tendency to obtain a pending switching style sequence.
[0101] The server can use the user portrait to match the pending switching styles in the preset style tendency list. There is a style tendency degree between the user portrait and each pending switching style. The server will select each pending switching style whose style tendency degree is greater than a third preset threshold. And arrange each pending switching style in order from large to small according to the style tendency degree, to obtain a pending switching style sequence.
[0102] Furthermore, the current AI digital human is trained based on user communication information, feedback information and satisfaction evaluation value through a preset reinforcement learning algorithm, so that the current AI digital human learns the optimal response strategy for different response styles, specifically including:
[0103] Encode the user communication information to generate a state feature vector. Determine the reward signal corresponding to the preset reinforcement learning algorithm based on the state feature vector, feedback information and satisfaction evaluation value. The reward signal represents the response quality of the current AI digital person. Update the current AI digital person based on the reward signal to update the response strategy of the current AI digital person and determine the optimal response strategy for different response styles to user communication information.
[0104] Among them, the server can perform text cleaning, word segmentation, and word vector conversion on the user communication information, and then encode it. The encoding can use deep learning methods such as recurrent neural network (RNN) and long short-term memory network (LSTM) to generate a state feature vector. Then, the preset reinforcement learning algorithm is used to judge the reward signal corresponding to the state feature vector, feedback information, and satisfaction evaluation value. The user's evaluation of the response style of the current AI digital person is judged by the reward signal, and the threshold and range of the reward signal are set. For example, when the satisfaction evaluation value is higher than a certain user preset threshold, a positive reward is given; when it is lower than another preset threshold, a negative reward is given. In this way, the response quality of the current AI digital person is obtained, and the server then uses the reward signal to update the current AI digital person. Specifically, if the reward signal is negative feedback, it is necessary to update the current AI digital person so that the AI digital person adopts different response styles for the user communication information corresponding to the above negative feedback, and determines the optimal response style to obtain the optimal response strategy.
[0105] The preset reinforcement learning algorithm may adopt Q-learning, SARSA algorithm, etc., and this application does not make any specific limitation on this.
[0106] The introduction of reinforcement learning algorithm realizes the automatic optimization of AI digital human's response strategy, improves the response quality of AI digital human and user satisfaction. At the same time, it also generates state feature vectors by encoding user communication information, providing a more accurate and rich source of information for the determination of reward signals.
[0107] S106, the server adaptively switches the initial response style of the current AI digital human to the corresponding response style according to the real-time user communication information and the pending switching style sequence.
[0108] The server may receive real-time user communication information after the second preset time, and adaptively switch the initial answering style using the pending switching style sequence.
[0109] In an embodiment of the present application, in the process of adaptively switching the initial response style of the current AI digital person, the control of the current AI digital person is stopped. And the real-time user communication information in the switching process is cached in a preset cache area, and the cache time is accumulated until the initial response style is switched. When the initial response style is successfully switched and the accumulated cache time at the corresponding moment is less than the preset time, the current AI digital person is controlled to generate reply information corresponding to the user communication information according to the switched response style. When the accumulated cache time is equal to or greater than the preset time and the initial response style is in the switching process, style switching exception information is generated and sent to the corresponding management terminal.
[0110] That is to say, when the server switches the style of the current AI digital person, in order to avoid gaps in responding to user communication information during the switching process, the server can set up a preset cache area for the affected user communication information and respond after the style switching is completed. If the switching process time exceeds the preset time specified by the user, the server will generate a style switching exception message, and human assistance will be provided to respond to the user communication information.
[0111] The above operations can avoid missing user communication information, and at the same time, can stably complete the reply to the user and reduce the involvement of manual customer service.
[0112] In addition, in one embodiment of the present application, the current AI digital human may respond to multiple users at the same time, and the method further includes:
[0113] In the case of multiple users, if all satisfaction evaluation values are equal to or greater than the first preset threshold, and the maximum satisfaction evaluation value is greater than the third preset threshold, the current AI digital human sends a questionnaire to the corresponding user terminals to obtain the service evaluation information of each user on the current AI digital human. If the service evaluation information is a good review, the initial response style of the current AI digital human is kept unchanged. If the service evaluation information is a bad review, the style of the current AI digital human is switched again.
[0114] That is to say, the server can switch the response style through questionnaire questions. For example, if 70% of users give negative reviews, the style of the current AI digital person will be switched; if 70% of users give positive reviews, the initial response style of the current AI digital person will remain unchanged.
[0115] Through the above technical solution, this application can give different response styles and replies with emoticons that fit the user's identity for user communication information during online shopping, and flexibly switch the response style according to user satisfaction, so as to flexibly serve customers. Replying to users in a response style that is easy for users to accept, users can experience different service styles, reduce users' emotionless feelings when facing intelligent customer service machines, make users interact with AI digital people more smoothly, avoid overly rigid communication with users, and improve low communication efficiency and user service experience.
[0116] Figure 2 A schematic diagram of the structure of an online shopping customer service processing device based on AI digital human provided in an embodiment of the present application, such as Figure 2 As shown, the device includes:
[0117] At least one processor; and a memory in communication with the at least one processor. The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to:
[0118] Acquire several user communication information within the first preset time, and input each user communication information into the pre-trained style prediction model to predict the style switching intention. Based on the current AI digital human and the preset expression package database, generate reply information corresponding to the user communication information, and send the reply information to the corresponding user terminal in the initial response style. Obtain feedback information from the user terminal within the second preset time. Among them, the feedback information at least includes the user's response data to the reply information. Input the user communication information and the corresponding feedback information into the preset satisfaction recognition model to calculate the satisfaction evaluation value of the corresponding user for the initial response style of the current AI digital human. When the satisfaction evaluation value is less than the first preset threshold, determine the pending switching style sequence output by the style prediction model, so as to train the current AI digital human based on the user communication information, feedback information and satisfaction evaluation value through the preset reinforcement learning algorithm, so that the current AI digital human learns the optimal response strategy for different response styles. According to the real-time user communication information and the pending switching style sequence, adaptively switch the initial response style of the current AI digital human to the corresponding response style.
[0119] The embodiment of the present application further provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:
[0120] Acquire several user communication information within the first preset time, and input each user communication information into the pre-trained style prediction model to predict the style switching intention. Based on the current AI digital human and the preset expression package database, generate reply information corresponding to the user communication information, and send the reply information to the corresponding user terminal in the initial response style. Obtain feedback information from the user terminal within the second preset time. Among them, the feedback information at least includes the user's response data to the reply information. Input the user communication information and the corresponding feedback information into the preset satisfaction recognition model to calculate the satisfaction evaluation value of the corresponding user for the initial response style of the current AI digital human. When the satisfaction evaluation value is less than the first preset threshold, determine the pending switching style sequence output by the style prediction model, so as to train the current AI digital human based on the user communication information, feedback information and satisfaction evaluation value through the preset reinforcement learning algorithm, so that the current AI digital human learns the optimal response strategy for different response styles. According to the real-time user communication information and the pending switching style sequence, adaptively switch the initial response style of the current AI digital human to the corresponding response style.
[0121] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0122] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0123] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0124] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. An online shopping customer service processing method based on AI digital human, characterized in that: The method comprises: Acquire a plurality of user communication information within a first preset time, and input each of the user communication information into a pre-trained style prediction model to perform style switching intention prediction; Based on the current AI digital human and the preset expression package database, generate reply information corresponding to the user communication information, and send the reply information to the corresponding user terminal in the initial response style; Acquire feedback information from the user terminal within a second preset time; wherein the feedback information at least includes response data of the user to the reply information; Inputting the user communication information and the corresponding feedback information into a preset satisfaction recognition model to calculate the satisfaction evaluation value of the corresponding user to the initial response style of the current AI digital person; When the satisfaction evaluation value is less than a first preset threshold, determining a pending switching style sequence output by the style prediction model, so as to train the current AI digital human based on the user communication information, the feedback information and the satisfaction evaluation value through a preset reinforcement learning algorithm, so that the current AI digital human learns the optimal response strategy for different response styles; According to the real-time user communication information and the pending switching style sequence, the initial response style of the current AI digital person is adaptively switched to a corresponding response style.
2. According to claim 1, an online shopping customer service processing method based on AI digital human is characterized in that: The style prediction model includes a classification label layer and a feature extraction layer; wherein the classification label layer includes at least classification labels of multiple response styles; Inputting each of the user communication information into a style prediction model to predict the style switching intention specifically includes: Extracting target features from each of the user communication information; Inputting the extracted target feature into the feature extraction layer in the style prediction model for processing to obtain a style feature vector corresponding to the user communication information; Based on the generated style feature vector and the classification label layer, style switching intention information corresponding to the user communication information is determined; wherein the style switching intention information at least includes a style switching intention and a corresponding to-be-determined switching style.
3. According to claim 1, an online shopping customer service processing method based on AI digital human is characterized in that: Based on the current AI digital human and the preset expression package database, a reply message corresponding to the user communication message is generated, specifically including: Determine the account information for sending the user communication information; the account information includes at least one or more of the following: age, occupation, hobbies; Matching the account information with a preset emoticon package knowledge graph to determine the emoticon package classification group corresponding to the account information according to the matching result; wherein the preset emoticon package knowledge graph is constructed based on the usage frequency of different emoticon packages by several user groups; Determining a corresponding emoticon package usage theme according to the emoticon package classification group and the preset emoticon package database; The emoticon package usage theme is sent to the current AI digital human, so that the current AI digital human generates the reply information based on the emoticon package usage theme.
4. According to claim 1, an online shopping customer service processing method based on AI digital human is characterized in that: Before inputting the user communication information and the corresponding feedback information into a preset satisfaction recognition model to calculate the satisfaction evaluation value of the corresponding user to the initial response style of the current AI digital person, the method further includes: Acquire historical communication data corresponding to a plurality of sample users; wherein the historical communication data at least includes comments and dynamics posted by the sample users on a preset designated platform; Generate a user portrait according to the historical communication data, and match a satisfaction evaluation list corresponding to the user portrait according to a preset database; wherein the satisfaction evaluation list includes expression information corresponding to different satisfaction evaluation values corresponding to the user portrait; the expression information includes at least one or more of the following: text, voice, action; The satisfaction evaluation list and the historical communication data are used as samples and input into a preset neural network model for training until the loss function value is less than a second preset threshold value, thereby obtaining the corresponding preset satisfaction recognition model; Inputting the user communication information and the corresponding feedback information into a preset satisfaction recognition model to calculate the satisfaction evaluation value of the corresponding user to the initial response style of the current AI digital person, specifically including: Establishing an association relationship between the user communication information and the feedback information to obtain communication data; The communication data is input into the preset satisfaction level recognition model to determine the satisfaction level evaluation value output by the preset satisfaction level recognition model.
5. The online shopping customer service processing method based on AI digital human according to claim 4 is characterized in that: When the satisfaction evaluation value is less than a first preset threshold, determining a pending switching style sequence output by the style prediction model specifically includes: According to the user portrait corresponding to the user communication information and the preset style tendency list, screening a plurality of pending switching styles whose style tendency is greater than a third preset threshold; The plurality of pending switching styles obtained by screening are sorted in descending order of the style tendency to obtain the pending switching style sequence.
6. The online shopping customer service processing method based on AI digital human according to claim 1 is characterized in that: The current AI digital human is trained based on the user communication information, the feedback information and the satisfaction evaluation value by using a preset reinforcement learning algorithm, so that the current AI digital human learns the optimal response strategy for different response styles, specifically including: Encoding the user communication information to generate a state feature vector; Determine a reward signal corresponding to the preset reinforcement learning algorithm according to the state feature vector, the feedback information and the satisfaction evaluation value; the reward signal represents the quality of the response of the current AI digital person; The current AI digital human is updated and trained according to the reward signal to update the response strategy of the current AI digital human and determine the optimal response strategy for the user communication information with different response styles.
7. The online shopping customer service processing method based on AI digital human according to claim 1, characterized in that: The method further comprises: In the process of adaptively switching the initial response style of the current AI digital human, stopping the control of the current AI digital human; and Cache the real-time user communication information during the switching process into a preset cache area, and accumulate the cache time until the initial answering style is switched; When the initial answering style is switched successfully and the accumulated cache duration at the corresponding moment is less than the preset duration, the current AI digital human is controlled to generate the reply information corresponding to the user communication information according to the switched answering style; When the accumulated buffering time is equal to or greater than the preset time and the initial response style is in the process of switching, style switching abnormal information is generated and sent to the corresponding management terminal.
8. The online shopping customer service processing method based on AI digital human according to claim 1 is characterized in that: The method further comprises: In the case where there are multiple users, if all of the satisfaction evaluation values are equal to or greater than the first preset threshold, and the maximum satisfaction evaluation value is greater than the third preset threshold, a questionnaire is sent to the corresponding user terminals through the current AI digital human to obtain service evaluation information of each user on the current AI digital human; If the service evaluation information is favorable, the initial response style of the current AI digital person remains unchanged; If the service evaluation information is a bad review, the style of the current AI digital human is switched again.
9. An online shopping customer service processing device based on AI digital human, characterized in that: The device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute an online shopping customer service processing method based on AI digital human as described in any one of claims 1 to 8 above.
10. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions can execute an online shopping customer service processing method based on AI digital human as described in any one of claims 1 to 8 above.
Citation Information
Cited By
Digital human intelligent interaction method and system based on deep learning
CN120708611A
