Data processing method and device in customer service, equipment, storage medium and program product
By converting customer voice data into text and using the knowledge base entry matching model, call center agents can quickly obtain matching knowledge base information, solving the problem of low agent service efficiency and achieving more professional and faster customer service.
Patent Information
- Application Number
- CN202410604809.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-08-23
AI Technical Summary
Call center agents need to manually query the business knowledge base when serving customers, which results in long-term customer service and low efficiency.
By obtaining the customer's voice data and converting it into text data, the trained knowledge base entry matching model is used to determine the matching target knowledge base entry and display relevant information. Agents can quickly provide professional answers based on this information.
It improves the agent's ability to answer customer questions quickly and efficiently, reduces service time and improves efficiency.
Smart Images

Figure CN118535678A
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence, and in particular to data processing methods, devices, equipment, storage media and program products in customer services. Background Art
[0002] Call center is a new service method for banking or financial products. Agent is often used to refer to the operator of the bank call center. The main task of the agent is to answer customers' inquiries, complaints and suggestions, and provide customers with remote banking services.
[0003] At present, in order to provide more professional answers to customers, call center agents need to manually query the business knowledge base based on the specific needs of customers and respond based on the specific professional knowledge in the business knowledge base when providing customer service, which results in long time-consuming and low efficiency in serving customers. Summary of the invention
[0004] The present application provides a data processing method, device, equipment, storage medium and program product in customer service, which are used to solve the technical problems of long time consumption and low efficiency of existing agents in serving customers.
[0005] In a first aspect, the present application provides a method for processing data in customer service, comprising:
[0006] Acquire voice data of target customers to be served, and convert the voice data into text data;
[0007] Using a knowledge base term matching model that has been trained to convergence to determine a target knowledge base term that meets the matching requirements with the text data;
[0008] Displaying information related to the target knowledge base entry;
[0009] In response to receiving a triggering operation of the user on the information related to the target knowledge base entry through an input device, the content corresponding to the target knowledge base entry is displayed.
[0010] In a possible design, the knowledge base term matching model that has been trained to convergence includes a word segmentation unit and a word vector conversion unit;
[0011] The step of using the knowledge base term matching model that has been trained to convergence to determine the target knowledge base term that meets the matching requirements with the text data includes:
[0012] Inputting the text data into the knowledge base term matching model that has been trained to convergence, and performing word segmentation processing on the text data using the word segmentation unit;
[0013] The word vector conversion unit is used to convert the text data after word segmentation processing into corresponding word vector data;
[0014] The knowledge base term matching model that has been trained to convergence is used to predict the first N knowledge base terms that have a high degree of matching with the word vector data to obtain a target knowledge base term that meets the matching requirements, where N is a positive integer.
[0015] In a possible design, the target knowledge base entry related information includes a plurality of target knowledge base entry links; and the displaying of the target knowledge base entry related information includes:
[0016] The first M target knowledge base entry links with a high matching degree with the text data are displayed in a highlighted manner, where M is a positive integer.
[0017] In one possible design, it also includes:
[0018] Obtaining historical customer service recordings, and converting the historical customer service recordings into corresponding text samples;
[0019] Performing word segmentation processing on the text sample and converting the text sample into a word vector sample using a word vector conversion technology;
[0020] Obtaining a labeling result corresponding to the word vector sample, the labeling result including: the first N knowledge base terms with a high matching degree with the word vector sample and the scores of the N knowledge base terms;
[0021] Generate training samples based on the word vector samples and annotation results;
[0022] The initial knowledge base term matching model is trained to convergence using the training samples to obtain the knowledge base term matching model that has been trained to convergence.
[0023] In a possible design, before converting the text sample into a word vector sample using the word vector conversion technology, the method further includes:
[0024] The text sample after word segmentation is subjected to noise reduction processing according to a noise reduction strategy.
[0025] In one possible design, it also includes:
[0026] Get updated training samples;
[0027] The updated training samples are used to update the original knowledge base term matching model that has been trained to convergence.
[0028] In a possible design, obtaining the updated training sample includes:
[0029] Obtain the service satisfaction level reported by the customer after the service;
[0030] In response to the service satisfaction level being greater than or equal to a preset satisfaction level, obtaining the adopted knowledge base entry fed back by the user through the input device;
[0031] The word vector data and annotation results corresponding to the customer service are used as updated training samples, and the annotation results include the adopted knowledge base entries and scores.
[0032] In a possible design, the knowledge base term matching model that has been trained to convergence is a decision tree model that has been trained to convergence or a support vector machine model that has been trained to convergence.
[0033] In a second aspect, the present application provides a data processing device in customer service, comprising:
[0034] An acquisition module, used for acquiring voice data of a target customer to be served, and converting the voice data into text data;
[0035] A determination module, configured to use a knowledge base term matching model that has been trained to convergence to determine a target knowledge base term that meets a matching requirement with the text data;
[0036] A display module, used to display information related to the target knowledge base entry;
[0037] The display module is further configured to display the content corresponding to the target knowledge base entry in response to receiving a trigger operation of the user on the information related to the target knowledge base entry through an input device.
[0038] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory and an output device communicatively connected to the processor;
[0039] The memory stores computer-executable instructions; the output device is used to display data;
[0040] The processor executes the computer-executable instructions stored in the memory to implement the method as described in any one of the first aspects.
[0041] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method as described in any one of the first aspects.
[0042] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the method described in any one of the first aspects when executed by a processor.
[0043] The data processing method, device, equipment, storage medium and program product in customer service provided by the present application, when the agent communicates with the target customer in real time, by obtaining the target customer's voice data and converting the voice data into text data, the text data is input into the knowledge base term matching model that has been trained to convergence, the target knowledge base term that matches the text data is determined, and the relevant information of the target knowledge base term is displayed. At this time, the agent can select the corresponding target knowledge base term according to the communication situation with the target customer, and use the input device to trigger the relevant information of the target knowledge base term, thereby displaying the content corresponding to the target knowledge base term. As a result, the agent can quickly and accurately provide more professional answers to the target customer based on the content of the target knowledge base term. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0045] Figure 1 An application scenario diagram corresponding to the data processing method in customer service provided in an embodiment of the present application;
[0046] Figure 2 A flowchart of a data processing method in customer service provided by an embodiment of the present application;
[0047] Figure 3 A flowchart of a data processing method in customer service provided by another embodiment of the present application;
[0048] Figure 4 A schematic diagram of the structure of a data processing device in a customer service provided by an embodiment of the present application;
[0049] Figure 5 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application.
[0050] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0051] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0052] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant countries and regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0053] It should be noted that the data processing methods, devices, equipment, storage media and program products in customer services in this application can be used in the field of artificial intelligence technology, and can also be used in any field outside the field of artificial intelligence technology. This application does not limit the application fields of the data processing methods, devices, equipment, storage media and program products in customer services.
[0054] In order to clearly understand the technical solution of the present application, the solution of the prior art is first introduced in detail.
[0055] At present, in order to provide customers with high-quality services, call centers will divert customers to agents of different skill groups for customer service according to their different needs. When providing customer service, in order to provide more professional answers to target customers, agents will manually query the business knowledge base according to the specific needs of target customers, and respond based on the specific professional knowledge of the business knowledge base. However, this also leads to long service time and low efficiency. Therefore, it is an urgent problem for agents to quickly and efficiently answer customer questions.
[0056] Therefore, in the face of the technical problems of the above-mentioned prior art, in order to enable the agents to quickly and efficiently answer customer questions, first, the customer needs are quickly identified during real-time voice conversations with the customer, and then the knowledge base entries corresponding to the needs are quickly found based on the needs raised by the customer. The agents professionally answer the customer's questions in combination with the specific content corresponding to the knowledge base entries. Specifically, when the agent communicates with the target customer, the customer's voice data is converted into text data, and the target knowledge base entry that meets the matching requirements with the text data is determined using the knowledge base entry matching model that has been trained to convergence, and the relevant information of the target knowledge base entry is displayed. The agent can provide professional answers to the target customer based on the content corresponding to the target knowledge base entry and combined with his own business knowledge.
[0057] Figure 1 An application scenario diagram corresponding to the data processing method in customer service provided in an embodiment of the present application, such as Figure 1 As shown, in the application scenario provided by this embodiment, the target customer can initiate a service request to the call center 11 through the terminal device 10. After the call center 11 obtains the service request, it determines the agent to handle the service and assigns the service task to the agent's server device 12. The server device 12 receives the voice data sent by the target customer through the terminal device 10, and converts the voice data into text data; uses the knowledge base term matching model that has been trained to convergence to determine the target knowledge base term that meets the matching requirements with the text data, displays the relevant information of the target knowledge base term through the output device, and upon receiving the user's trigger operation on the relevant information of the target knowledge base term through the input device, obtains the content corresponding to the target knowledge base term from the knowledge base term database 13, and displays the content corresponding to the target knowledge base term.
[0058] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0059] Figure 2 A flowchart of a data processing method in customer service provided in an embodiment of the present application, such as Figure 2As shown, the execution subject of this embodiment is a data processing device in customer service, which can be implemented by a computer program or a medium storing relevant computer programs, such as a USB flash drive and / or a CD, etc.; or, it can also be implemented by a physical device integrated or installed with relevant computer programs, such as a chip, an electronic device, etc. The electronic device can be a computer or a server, etc. The data processing method in customer service provided in this embodiment includes the following steps:
[0060] Step S101, obtaining voice data of a target customer to be served, and converting the voice data into text data.
[0061] Among them, the target customers are the customers that the agents are waiting to serve.
[0062] Specifically, in this embodiment, the voice data of the target customer is obtained when the agent communicates with the target customer in real time, and the voice data is converted into text data in real time. The text data is used for analyzing the business needs of the target customer in subsequent steps.
[0063] Optionally, the voice data and text data can be saved locally to facilitate subsequent calls; further, in order to avoid a large amount of local storage space being occupied, the voice data and text data saved locally can be cleared regularly. The specific saving time can be set according to actual conditions and is not specifically limited in this embodiment.
[0064] It should be noted that the real-time conversion of the target customer's voice data into text data may be achieved by using a voice-to-text conversion tool or by other technologies, which is not limited in this embodiment.
[0065] Step S102: using the knowledge base term matching model that has been trained to convergence to determine the target knowledge base term that meets the matching requirements with the text data.
[0066] Specifically, after acquiring the text data of the target customer, it is input into a knowledge base term matching model that has been trained to convergence. The knowledge base term matching model can determine the target knowledge base term that meets the matching requirements with the text data based on the input text data.
[0067] The target knowledge base entry is a knowledge base entry that meets the matching requirement. The target knowledge base entry that meets the matching requirement can be a phrase or a short sentence that matches the text data, or can be other representation forms, which are not limited in this embodiment.
[0068] Optionally, the text data is input into the knowledge base term matching model in real time for processing; further optionally, when the knowledge base term matching model is used to process the text data input in real time, the text data can be analyzed and processed once at a first set time interval, thereby reducing the number of times the knowledge base term matching model analyzes the text data and avoiding energy waste. Furthermore, when the knowledge base term matching model has no text data input at a second set time interval, it is determined that the target customer has expressed his needs through voice data. At this time, the target knowledge base term that meets the matching requirements is determined by the knowledge base term matching model.
[0069] Exemplarily, the first set time length ranges from 5 seconds to 10 seconds.
[0070] Exemplarily, the second set time length ranges from 3 seconds to 8 seconds.
[0071] Optionally, the text data may be input into the knowledge base term matching model for processing according to a text input strategy, wherein the text input strategy is: inputting the text data into the knowledge base term matching model once every third set time interval.
[0072] Exemplarily, the third set time length ranges from 5 seconds to 10 seconds.
[0073] Of course, it can also be arranged that after all the voice data of the target customers are converted into text data, the text data is then input into the knowledge base term matching model for analysis and processing.
[0074] Among them, the value ranges of the first set time length, the second set time length and the third set time length can also be selected from other ranges and can be adjusted according to actual application conditions.
[0075] It should be noted that the knowledge base entries and the knowledge base contents corresponding to the knowledge base entries in this embodiment are all data that has been stored in the corresponding server or server cluster of the call center.
[0076] Step S103, displaying information related to the target knowledge base entry.
[0077] Specifically, the target knowledge base entry related information can be a link to the target knowledge base entry, or the name of the target knowledge base entry, or other information that can summarize the knowledge base content, which is not limited in this embodiment.
[0078] Specifically, after the target knowledge base entry that meets the matching requirement is determined through the knowledge base entry matching model, the relevant information of the target knowledge base entry is displayed.
[0079] Optionally, in this embodiment, the displayed target knowledge base entry related information may be one or more pieces of information, and the number is not specifically limited here.
[0080] Furthermore, when multiple target knowledge base entry related information is displayed, the agent needs to determine one or more target knowledge base entry related information with a higher matching degree from the multiple target knowledge base entry related information based on the specific needs learned when communicating with the target customer.
[0081] Optionally, the device for displaying information related to the target knowledge base entry may be a PC or a mobile terminal, wherein the PC may be a desktop computer and the mobile terminal may be a tablet computer.
[0082] Step S104, in response to receiving a triggering operation of the user on the target knowledge base entry through an input device, displaying the content corresponding to the target knowledge base entry.
[0083] Specifically, when the relevant information of the target knowledge base entry is displayed, the agent triggers the relevant information of the target knowledge base entry through the input device, and the content corresponding to the target knowledge base entry will be displayed. Afterwards, the agent gives professional answers to the customer's questions based on the content of the displayed knowledge base entry.
[0084] Furthermore, when information related to a target knowledge base entry is displayed, the agent can directly trigger the information related to the target knowledge base entry through the input device to display the corresponding content; when information related to multiple target knowledge base entries is displayed, the agent can determine one or more target knowledge base entry information that matches the target customer's business needs based on the actual communication situation with the target customer, and use the input device to trigger one or more target knowledge base entry information to display the specific content.
[0085] Optionally, in this embodiment, the input device may be a keyboard, a mouse, a touch screen or voice input, etc., which may be selected according to the actual application scenario.
[0086] The data processing method for customer service provided in this embodiment obtains the voice data of the target customer to be served and converts the voice data into text data; uses the knowledge base term matching model that has been trained to convergence to determine the target knowledge base term that meets the matching requirements of the text data; displays the relevant information of the target knowledge base term; and displays the content corresponding to the target knowledge base term in response to receiving the trigger operation of the user through the input device for the relevant information of the target knowledge base term. In detail, when the agent communicates with the target customer in real time, the voice data of the target customer is obtained and converted into text data, the text data is input into the knowledge base term matching model that has been trained to convergence, the target knowledge base term that matches the text data is determined, and the relevant information of the target knowledge base term is displayed. At this time, the agent can select the corresponding target knowledge base term according to the communication situation with the target customer, and use the input device to trigger the relevant information of the target knowledge base term, so as to display the content corresponding to the target knowledge base term. Therefore, the agent can provide more professional answers to the target customer quickly and accurately based on the content of the target knowledge base term and combined with his own professional knowledge.
[0087] In order to better understand the data processing method in the customer service provided by this embodiment, a simple example of an agent serving a target customer is given below:
[0088] Target customers: "Hello, I would like to apply for a bank card, but I don't know much about the types and functions of bank cards. Could you please introduce them to me?"
[0089] During the conversation between the target customer and the agent, the target customer's voice data will be converted into text data in real time and input into the knowledge base term matching model that has been trained to convergence to predict the target knowledge base term that meets the matching requirements. After the prediction, the relevant information of the target knowledge base term is output and displayed as follows:
[0090] “Debit card”;
[0091] "credit card".
[0092] At this time, the agent can trigger the corresponding target knowledge base entry related information through the input device according to the actual needs of communicating with the target customer. For example, when the agent triggers the above-mentioned "debit card" entry, the relevant knowledge base content of "debit card" will be displayed, such as the introduction of the deposit and withdrawal function of "debit card", the introduction of the transfer and remittance function and other ancillary functions.
[0093] Therefore, the agent can provide professional answers to the target customers based on the knowledge base content of "debit card". Alternatively, the agent can also provide professional answers to the target customers based on the knowledge base content of "debit card" and combined with their own professional knowledge.
[0094] It should be noted that the above examples of agents serving target customers are for reference only and do not represent the actual situation of agents serving target customers.
[0095] As an optional implementation, based on any of the above embodiments, the knowledge base term matching model that has been trained to convergence includes a word segmentation unit and a word vector conversion unit; using the knowledge base term matching model that has been trained to convergence to determine the target knowledge base term that meets the matching requirements with the text data, includes:
[0096] Input the text data into the knowledge base term matching model that has been trained to convergence, and use the word segmentation unit to perform word segmentation on the text data;
[0097] A word vector conversion unit is used to convert the text data after word segmentation processing into corresponding word vector data;
[0098] The knowledge base term matching model that has been trained to convergence is used to predict the top N knowledge base terms that have a high degree of match with the word vector data to obtain the target knowledge base terms that meet the matching requirements, where N is a positive integer.
[0099] Specifically, in this embodiment, when text data is input into a knowledge base term matching model that has been trained to convergence, the input text data is first segmented into single words or phrases using a word segmentation unit. After the word segmentation unit completes segmenting the text data, the single words or phrases are converted into corresponding word vector data using a word vector conversion unit. The knowledge base term matching model can use the word vector data to predict the top N knowledge base terms that have a higher degree of match with the text data.
[0100] Among them, the word segmentation technology adopted by the word segmentation unit can be a dictionary-based word segmentation technology, a deep learning-based word segmentation technology, a sliding window-based word segmentation tool, etc., which is not limited in this embodiment.
[0101] The word vector conversion unit can convert a single word or a phrase into a form that the electronic device can understand and process, and similar words are closer in the vector space. Optionally, a text representation method based on a neural network can be used for conversion, or other methods can be used for conversion, which is not limited in this embodiment.
[0102] Furthermore, N is a positive integer, and illustratively, the value range may be: 1 to 10. Furthermore, considering that if the value of N is too small, too few target knowledge base entries will be displayed, and it may not be possible to accurately display target knowledge base entries that are closer to customer needs, and if the value of N is too large, too many target knowledge base entries will be displayed, resulting in the agent needing to browse the target knowledge base entries for too long, therefore, in this embodiment, N=5 is set as an example.
[0103] In detail, when the knowledge base term matching model uses the word vector data for prediction, it calculates the matching degree between the word vector data and each knowledge base term in the knowledge base based on its learned weights and parameters. Then, the knowledge base term matching model returns the top N knowledge base terms with the highest matching degree as the prediction result.
[0104] The data processing method for customer service provided in this embodiment, the knowledge base term matching model that has been trained to convergence includes a word segmentation unit and a word vector conversion unit; the knowledge base term matching model that has been trained to convergence is used to determine the target knowledge base term that meets the matching requirements with the text data, including: inputting the text data into the knowledge base term matching model that has been trained to convergence, and using the word segmentation unit to perform word segmentation processing on the text data; using the word vector conversion unit to convert the text data after word segmentation processing into corresponding word vector data; using the knowledge base term matching model that has been trained to convergence to predict the top N knowledge base terms with a high degree of matching with the word vector data, so as to obtain the target knowledge base term that meets the matching requirements, N is a positive integer. When predicting knowledge base entries that match text data, the knowledge base term matching model that has been trained to convergence first uses the word segmentation unit to quickly segment the text data into individual words or phrases, then uses the word vector conversion unit to convert the words or phrases into word vector data, and uses the word vector data to predict the knowledge base entries. In this way, the knowledge base term matching model can quickly and more accurately predict the top N knowledge base entries with a higher degree of match based on the text data, so as to quickly and efficiently assist agents in answering questions for target customers.
[0105] As an optional implementation, based on any of the above embodiments, the target knowledge base entry related information includes multiple target knowledge base entry links; the target knowledge base entry related information is displayed, including:
[0106] The first M target knowledge base term links with a high matching degree with the text data are displayed in a highlighted manner, where M is a positive integer.
[0107] Specifically, the target knowledge base entry related information is displayed in the form of a target knowledge base entry link, and the agent can trigger the target knowledge base entry link through an input device to jump to the corresponding knowledge base content. Furthermore, the first M target knowledge base entry links with a high degree of matching with the text data are highlighted, so that when the agent browses the displayed multiple target knowledge base entry links, he can quickly know which target knowledge base entry links have a high degree of matching with the text data.
[0108] It should be noted that the value of M is less than the value of the displayed target knowledge base term link. For example, in this embodiment, 5 target knowledge base term links are displayed as an example, wherein the value of the highlighted target knowledge base term link can be 1, 2, 3 or 4. It should also be noted that the number of the highlighted target knowledge base term links can be set and adjusted according to actual conditions.
[0109] Optionally, the first M target knowledge base entry links with a high degree of matching with the text data may be bolded or underlined, etc., as long as the purpose of reminding the agent can be achieved.
[0110] In the data processing method for customer service provided by this embodiment, the target knowledge base entry related information includes multiple target knowledge base entry links; the target knowledge base entry related information is displayed, including: the first M target knowledge base entry links with a high degree of matching with the text data are displayed in a highlighted manner, where M is a positive integer. As a result, when browsing the displayed multiple target knowledge base entry links, the agent can quickly know that the highlighted M target knowledge base entry links have a high degree of matching with the text data, so that the agent can quickly determine the target knowledge base entry link with the highest degree of matching with the text data, so as to quickly and efficiently provide answers to the target customers' questions.
[0111] Figure 3 A flow chart of a data processing method in customer service provided by another embodiment of the present application is as follows: Figure 3 As shown, the data processing method for customer service provided by this embodiment includes a process of training a knowledge base term matching model. Specifically, the data processing method for customer service provided by this embodiment also includes the following steps:
[0112] Step S201, obtaining historical customer service recordings, and converting the historical customer service recordings into corresponding text samples.
[0113] Specifically, the existing customer service recordings of agents are converted into text samples for subsequent model training.
[0114] It should be noted that the historical customer service recording is a customer service recording that has already occurred. Optionally, it can be stored locally. Optionally, the voice data includes the conversation voice of the customer and the seat staff.
[0115] It should also be noted that the method of converting historical customer service recordings into text samples can be achieved by using a speech-to-text conversion tool or by other technologies, which is not limited in this embodiment.
[0116] Step S202, performing word segmentation processing on the text sample and converting the text sample into a word vector sample using word vector conversion technology.
[0117] Specifically, after all historical customer service recordings are converted into text samples, first, the text samples are segmented. The word segmentation process is used to divide continuous text samples into meaningful phrase units. After all text samples are segmented into phrase units, the phrase units are converted into word vector samples using word vector conversion technology.
[0118] It should be noted that a word segmentation tool may be used to segment the text sample into meaningful phrase units, or other technologies may be used to achieve this, which is not limited in this embodiment.
[0119] It should be noted that a word vector conversion tool may be used to convert phrase units into word vector samples, or other technologies may be used to achieve this, which is not limited in this embodiment.
[0120] Step S203, obtaining the labeling result corresponding to the word vector sample, the labeling result includes: the first N knowledge base terms with the highest matching degree with the word vector sample and the scores of the N knowledge base terms.
[0121] Specifically, after obtaining the word vector sample, the word vector sample is manually annotated with the top N knowledge base terms with the highest matching degree with the word vector sample. The knowledge base terms may be located in a preset knowledge base term database. And a score is given according to the matching degree between the word vector sample and the N associated knowledge base terms. The higher the score, the higher the matching degree between the word vector sample and the knowledge base term.
[0122] Then when labeling, N knowledge base entries can be arranged in order from high to low scores.
[0123] Furthermore, when multiple target knowledge base entry links are displayed, they will be sorted according to the scores of the knowledge base entries. The target knowledge base entry link with a higher score will be ranked higher. This setting can facilitate agents to quickly browse and determine the target knowledge base entry link with the highest matching degree.
[0124] Optionally, in this embodiment, an expert annotation method is used to annotate word vector samples. Specifically, the expert annotation method is a method of classifying, interpreting or annotating data by relying on the knowledge and experience of experts in the field. These experts may be scholars, researchers, industry practitioners or individuals with specific skills. In this embodiment, word vector samples and knowledge base entries are annotated by multiple experts in the field, so that the experts' professional knowledge and experience can ensure the accuracy of the word vector sample annotation.
[0125] Optionally, in order to increase the labeling speed of word vector samples, you can also choose semi-automatic labeling method. This method combines manual labeling and machine labeling. First, the word vector samples are preliminarily labeled through machine learning algorithms, and then the labeling results are manually corrected. It can balance speed and accuracy and reduce costs.
[0126] Step S204: Generate training samples based on the word vector samples and the annotation results.
[0127] Step S205 , using training samples to train the initial knowledge base term matching model until convergence, so as to obtain a knowledge base term matching model that has been trained to convergence.
[0128] Specifically, after the word vector samples are labeled, training samples are obtained, and the initial knowledge base term matching model is trained using the training samples until convergence. After the knowledge base term matching model is trained to convergence, it is applied to customer service. The knowledge base term matching model that has been trained to convergence can process the input text data and predict N knowledge base terms that have a high degree of matching with the text data, so as to assist the agents to serve the target customers faster and better.
[0129] Further, in the present embodiment, the knowledge base term matching model that has been trained to convergence is a decision tree model that has been trained to convergence or a support vector machine model that has been trained to convergence. Specifically, the decision tree model and the support vector machine model are both supervised learning models that predict or classify new unknown data through the relationship between the characteristics of the training samples and the annotations. The decision tree model and the support vector machine model have commonalities in some aspects, but they also have significant differences in implementation methods, the ability to process complex data, and performance characteristics. Therefore, it is necessary to comprehensively consider the selection of a training model based on the specific application scenario and data characteristics.
[0130] Optionally, the training model may also be a Bayesian model or a K-means model, etc.
[0131] The data processing method in the customer service provided in this embodiment further includes: obtaining historical customer service recordings, and converting the historical customer service recordings into corresponding text samples; performing word segmentation on the text samples and converting the text samples into word vector samples by using word vector conversion technology; obtaining the annotation results corresponding to the word vector samples, where the annotation results include: the top N knowledge base entries with a relatively high matching degree with the word vector samples and the scores of the N knowledge base entries; generating training samples based on the word vector samples and the annotation results; training the initial knowledge base entry matching model with the training samples until convergence to obtain a trained knowledge base entry matching model that has converged. By converting a large number of historical customer service recordings into text samples, performing word segmentation and word vector conversion on the text samples, annotating the word vector samples, and using the annotation results as training samples to train the initial knowledge base entry matching model, the knowledge base entry matching model can quickly and accurately predict the knowledge base entries that match the text data in customer service, thereby assisting the seat staff to quickly and accurately provide question answers for target customers.
[0132] As an alternative implementation, based on any of the above embodiments, before converting the text samples into word vector samples by using word vector conversion technology, it further includes:
[0133] Performing noise reduction processing on the text samples after word segmentation according to a noise reduction strategy.
[0134] Specifically, in this embodiment, performing noise reduction processing according to a noise reduction strategy may be performing noise reduction processing on the text samples by using a stop word removal technique. Specifically, stop words refer to the words that are usually ignored or filtered out in text processing. These words are very common in language, such as auxiliary words, conjunctions, interjections, etc. They play a grammatical role in the sentence, but contribute little to understanding the actual content and meaning of the sentence. Therefore, removing such stop words can reduce the noise of the text samples.
[0135] Exemplarily, several examples are given below to better understand stop words:
[0136] Auxiliary words: such as "de", "le", "zai", etc. Conjunctions: such as "yiji", "buguo", etc. Pronouns: such as "tamen", etc. Prepositions: such as "duiyu", etc. Interjections: such as "a", "ya", etc.
[0137] It should be noted that in this embodiment, the stop word removal tool is not limited, as long as it can remove the stop words in the text samples.
[0138] The data processing method for customer service provided in this embodiment, before converting the text sample into the word vector sample using the word vector conversion technology, also includes: performing noise reduction processing on the text sample after word segmentation processing according to the noise reduction strategy. It can effectively reduce the noise of the text sample to ensure the accuracy of the subsequent knowledge base term matching model prediction.
[0139] As an optional implementation manner, based on any of the above embodiments, it also includes:
[0140] Get updated training samples;
[0141] The updated training samples are used to update the original knowledge base term matching model that has been trained to convergence.
[0142] Specifically, as customer service time goes by, customer questions will continue to arise, and accordingly, the knowledge base content and corresponding knowledge base entries will continue to increase, so the original knowledge base entry matching model cannot better assist the seat personnel. Therefore, by obtaining updated training samples to train and update the knowledge base entry matching model, it can better assist the seat personnel in serving the target customers.
[0143] The data processing method for customer service provided in this embodiment also includes: obtaining updated training samples; and using the updated training samples to update the original knowledge base term matching model that has been trained to convergence. By obtaining the updated training samples to train and update the knowledge base term matching model, the knowledge base term matching model can continue to learn and improve, so as to better assist the agent in serving the target customers.
[0144] As an optional implementation manner, based on any of the above embodiments, obtaining updated training samples includes:
[0145] Obtain the service satisfaction level reported by the customer after the service;
[0146] In response to the service satisfaction level being greater than or equal to a preset satisfaction level, obtaining the adopted knowledge base entry fed back by the user through an input device;
[0147] The word vector data and annotation results corresponding to this customer service are used as updated training samples, and the annotation results include the adopted knowledge base entries and scores.
[0148] Specifically, when the agent finishes a customer service, the call center sends a service satisfaction level survey to the customer, allowing the customer to select a service satisfaction level. After collecting the service satisfaction level from the customer, the call center determines the service satisfaction level. When the service satisfaction level is greater than or equal to the preset service satisfaction level, it indicates that the agent successfully answered the customer's question in this customer service. After that, the call center will obtain the knowledge base entry triggered by the agent through the input device. Finally, the call center combines the word vector data of this customer service with the annotation results as an updated training sample, and uses the training sample to further train or optimize the knowledge base entry matching model to improve the accuracy and satisfaction of future customer services.
[0149] Optionally, the service satisfaction level may include the following situations: dissatisfied, average, satisfied, and very satisfied. The customer may be reminded to select the service satisfaction level by sending a message to the customer. Further, only when the customer replies satisfied or very satisfied, it is determined that the agent has successfully answered the customer's question in this customer service.
[0150] Optionally, the service satisfaction level can also be in the form of a score; for example, the customer's score range is a positive integer from 1 to 10. When the score of the customer's reply is greater than or equal to 7, it is determined that the agent successfully answered the customer's question in this customer service. Of course, there are other options for the customer's score range, such as setting the score range to 1 to 100.
[0151] The data processing method in customer service provided by this embodiment obtains updated training samples, including: obtaining the service satisfaction level fed back by the customer after the current customer service; in response to the service satisfaction level being greater than or equal to the preset satisfaction level, obtaining the adopted knowledge base entries fed back by the user through the input device; using the word vector data and the annotation results corresponding to the current customer service as the updated training samples, and the annotation results include the adopted knowledge base entries and scores. By collecting the service satisfaction level after the customer service, the training samples are updated to train and optimize the knowledge base entry model to improve the accuracy and satisfaction of future customer services.
[0152] Figure 4 A structural diagram of a data processing device in a customer service provided by an embodiment of the present application, such as Figure 4 As shown, the data processing device in the customer service provided by this embodiment is located in the electronic device. The data processing device 30 in the customer service provided by this embodiment includes: an acquisition module 31, a determination module 32, and a display module 33.
[0153] The acquisition module 31 is used to acquire the voice data of the target customer to be served and convert the voice data into text data. The determination module 32 is used to determine the target knowledge base entry that meets the matching requirements with the text data by using the knowledge base entry matching model that has been trained to convergence; the display module 33 is used to display the relevant information of the target knowledge base entry; the display module 33 is also used to display the content corresponding to the target knowledge base entry in response to receiving the trigger operation of the user on the relevant information of the target knowledge base entry through the input device.
[0154] The data processing device in the customer service provided in this embodiment can execute Figure 2 The specific implementation principles and technical effects of the method embodiments shown are similar and will not be repeated here.
[0155] Optionally, the knowledge base term matching model that has been trained to convergence includes a word segmentation unit and a word vector conversion unit;
[0156] Accordingly, when the determination module 32 uses the knowledge base term matching model that has been trained to convergence to determine the target knowledge base term that meets the matching requirements with the text data, it is specifically used to: input the text data into the knowledge base term matching model that has been trained to convergence, and use the word segmentation unit to perform word segmentation on the text data; use the word vector conversion unit to convert the text data after word segmentation into corresponding word vector data; use the knowledge base term matching model that has been trained to convergence to predict the first N knowledge base terms with a higher degree of matching with the word vector data, so as to obtain the target knowledge base term that meets the matching requirements, where N is a positive integer.
[0157] Optionally, the target knowledge base entry related information includes multiple target knowledge base entry links;
[0158] Accordingly, when displaying information related to target knowledge base entries, the display module 33 is specifically used to: display the first M target knowledge base entry links with a high matching degree with the text data in a highlighted manner, where M is a positive integer.
[0159] Optionally, the data processing device 30 in the customer service provided in this embodiment further includes: a conversion module, a generation module and a training module.
[0160] Among them, the acquisition module 31 is also used to obtain historical customer service recordings and convert the historical customer service recordings into corresponding text samples. The conversion module is used to perform word segmentation on the text samples and convert the text samples into word vector samples using word vector conversion technology. The acquisition module 31 is also used to obtain the annotation results corresponding to the word vector samples, and the annotation results include: the top N knowledge base entries with high matching degrees with the word vector samples and the scores of the N knowledge base entries. The generation module is used to generate training samples based on the word vector samples and the annotation results. The training module is used to use the training samples to train the initial knowledge base entry matching model until convergence, so as to obtain a knowledge base entry matching model that has been trained to convergence.
[0161] Optionally, the data processing device 30 in the customer service provided in this embodiment further includes: a noise reduction module. The noise reduction module is used to perform noise reduction processing on the text sample after word segmentation processing according to the noise reduction strategy.
[0162] Optionally, the acquisition module is further used to acquire updated training samples. The training module is further used to update the original knowledge base term matching model that has been trained to convergence using the updated training samples.
[0163] Optionally, the acquisition module is further used to obtain the service satisfaction level fed back by the customer after the current customer service. The acquisition module is further used to obtain the adopted knowledge base entries fed back by the user through the input device in response to the service satisfaction level being greater than or equal to the preset satisfaction level. The acquisition module is further used to use the word vector data and the annotation results corresponding to the current customer service as updated training samples, and the annotation results include the adopted knowledge base entries and scores.
[0164] Optionally, the knowledge base term matching model that has been trained to convergence is a decision tree model that has been trained to convergence or a support vector machine model that has been trained to convergence.
[0165] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the electronic device 40 provided in this embodiment includes: a processor 41, a memory 42 and an output device 43 which are communicatively connected to the processor.
[0166] The memory 42 stores computer-executable instructions, and the output device 43 is used to display data; the processor 41 executes the computer-executable instructions stored in the memory 42 to implement the data processing method in customer service provided by any one of the above embodiments.
[0167] The program may include program code, and the program code includes computer-executable instructions. The memory 42 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
[0168] In this embodiment, the memory 42 and the output device 43 are connected to the processor 41 via a bus. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 The fact that only one straight line is used in the diagram does not mean that there is only one bus or only one type of bus.
[0169] An embodiment of the present application also provides a computer-readable storage medium, including a computer-readable storage medium storing computer execution instructions, which, when executed by a processor, are used to implement the data processing method in customer service provided by any of the above embodiments.
[0170] An embodiment of the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the data processing method in customer service provided by any one of the above embodiments.
[0171] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0172] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0173] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.
[0174] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.
[0175] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. If not specifically stated, the processor may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. If not specifically stated, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc.
[0176] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0177] In the above embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0178] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0179] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A data processing method in customer service, characterized in that: include: Acquire voice data of target customers to be served, and convert the voice data into text data; Using a knowledge base term matching model that has been trained to convergence to determine a target knowledge base term that meets the matching requirements with the text data; Displaying information related to the target knowledge base entry; In response to receiving a triggering operation of the user on the information related to the target knowledge base entry through an input device, the content corresponding to the target knowledge base entry is displayed.
2. The method according to claim 1, characterized in that The knowledge base term matching model that has been trained to convergence includes a word segmentation unit and a word vector conversion unit; The step of using the knowledge base term matching model that has been trained to convergence to determine the target knowledge base term that meets the matching requirements with the text data includes: Inputting the text data into the knowledge base term matching model that has been trained to convergence, and performing word segmentation processing on the text data using the word segmentation unit; The word vector conversion unit is used to convert the text data after word segmentation processing into corresponding word vector data; The knowledge base term matching model that has been trained to convergence is used to predict the first N knowledge base terms that have a high degree of matching with the word vector data to obtain a target knowledge base term that meets the matching requirements, where N is a positive integer.
3. The method according to claim 1, characterized in that: The target knowledge base entry related information includes a plurality of target knowledge base entry links; the displaying of the target knowledge base entry related information includes: The first M target knowledge base entry links with a high matching degree with the text data are displayed in a highlighted manner, where M is a positive integer.
4. The method according to any one of claims 1 to 3, characterized in that: Also includes: Obtaining historical customer service recordings, and converting the historical customer service recordings into corresponding text samples; Performing word segmentation processing on the text sample and converting the text sample into a word vector sample using a word vector conversion technology; Obtaining a labeling result corresponding to the word vector sample, the labeling result including: the first N knowledge base terms with a high matching degree with the word vector sample and the scores of the N knowledge base terms; Generate training samples based on the word vector samples and annotation results; The initial knowledge base term matching model is trained to convergence using the training samples to obtain the knowledge base term matching model that has been trained to convergence.
5. The method according to claim 4, characterized in that Before the word vector conversion technology is used to convert the text sample into a word vector sample, the method further includes: The text sample after word segmentation is subjected to noise reduction processing according to a noise reduction strategy.
6. The method according to claim 4, characterized in that Also includes: Get updated training samples; The updated training samples are used to update the original knowledge base term matching model that has been trained to convergence.
7. The method according to claim 6, characterized in that The obtaining of updated training samples comprises: Obtain the service satisfaction level reported by the customer after the service; In response to the service satisfaction level being greater than or equal to a preset satisfaction level, obtaining the adopted knowledge base entry fed back by the user through the input device; The word vector data and annotation results corresponding to the customer service are used as updated training samples, and the annotation results include the adopted knowledge base entries and scores.
8. The method according to any one of claims 1 to 3, characterized in that: The knowledge base term matching model that has been trained to convergence is a decision tree model that has been trained to convergence or a support vector machine model that has been trained to convergence.
9. A data processing device for customer service, characterized in that: include: An acquisition module, used for acquiring voice data of a target customer to be served, and converting the voice data into text data; A determination module, configured to use a knowledge base term matching model that has been trained to convergence to determine a target knowledge base term that meets a matching requirement with the text data; A display module, used to display information related to the target knowledge base entry; The display module is further configured to display the content corresponding to the target knowledge base entry in response to receiving a trigger operation of the user on the information related to the target knowledge base entry through an input device.
10. An electronic device, characterized in that: include: A processor, and a memory and an output device communicatively connected to the processor; The memory stores computer-executable instructions; the output device is used to display data; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 8 when executed by a processor.
12. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 8 when being executed by a processor.
Citation Information
Cited By
Automatic process data processing system
CN120805929A
A process data automation system
CN120805929B
