A customer service management method and system based on large language model
Through the customer service response management method based on the large language model, historical data and real-time feedback are used to establish a response reference language library, which solves the problem of low customer service response guidance efficiency in the existing technology, achieves efficient and accurate response services, and improves customer service quality.
Patent Information
- Application Number
- CN202410318523.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-20
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-03-20
AI Technical Summary
The existing technology lacks efficient and reasonable big data processing methods to provide accurate and timely customer service response guidance, resulting in customer service work being difficult and quality limited.
Through the customer service response management method based on the large language model, historical customer service response data is obtained for language analysis, a customer service response reference language library is established, and matching and updating are carried out according to real-time needs. The model database is adjusted based on customer feedback to provide timely and accurate response guidance. .
It reduces the difficulty of customer service work, improves the quality and accuracy of response services, and ensures that customer needs are met.
Smart Images

Figure CN118520076B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a customer service management method and system based on a large language model. Background Art
[0002] The main task of manual customer service in platform services is to provide customers with personalized and targeted service dialogues to meet their needs. Currently, most customer service work is still done manually on-site, which requires high requirements for manual customer service, and requires professional knowledge reserves and certain answering service knowledge and skills. This undoubtedly increases the difficulty of customer service work and also affects the quality of customer service to a certain extent.
[0003] With the development of society and the progress of science and technology, big data technology has become an important technical innovation item for many similar customer service work. With the support of big data, it can provide real-time and accurate guidance for the online customer service work of manual customer service. While reducing the difficulty of manual customer service work, it can also greatly improve the quality of customer service work and ensure that most customer service conversations can meet customer needs. However, there is no efficient and reasonable big data processing method for how to provide accurate and timely customer service response guidance.
[0004] Therefore, it is an urgent problem to be solved to design a customer service response management method and system based on a large language model, to accurately and in real time guide customer service responses based on historical data, to effectively ensure the quality of customer service work and reduce the difficulty of customer service work. Summary of the invention
[0005] The purpose of the present invention is to provide a customer service response management method based on a large language model. By performing language-based response analysis based on historical customer service response data and establishing a reasonable and accurate customer service response reference language library, timely and accurate response channels can be provided for subsequent real-time customer service needs to help manual customer service meet customer needs. At the same time, considering the impact of individual characteristics and data volume on the results under big data analysis, the model database is adjusted through customer feedback. On the one hand, the customer service response reference language library is continuously supplemented, and on the other hand, the response data can be reasonably updated in a timely manner to improve the accuracy of the data and ensure the quality of the response service.
[0006] The present invention also aims to provide a customer service response management system based on a large language model, which obtains basic data for establishing a response reference language library through a customer service response management data acquisition unit, and also obtains real-time customer information to provide target data for model library data extraction. The response analysis unit can realize the entire data model processing process from the establishment of the response reference language library to the update of manual feedback information, and provide guidance data efficiently and accurately. The response database provides storage space for the analysis results, which is convenient for calling data for processing during subsequent real-time analysis. The entire system provides a material basis for accurately and timely guiding customer service responses.
[0007] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0008] In a first aspect, the present invention provides a customer service response management method based on a large language model, comprising obtaining historical customer service response data, and performing language-based response analysis to form a customer service response reference language library; obtaining real-time customer service demand information, and performing response matching according to the customer service response reference language library to form first response matching information; obtaining real-time customer service feedback information, and if the real-time customer service feedback information is determined to be an invalid answer, outputting the real-time customer service demand information and obtaining manual feedback information; if the manual feedback information is non-routine information, performing language-based response analysis on the manual feedback information to form manual response information and store it in the customer service response reference language library.
[0009] In the present invention, the method establishes a reasonable and accurate customer service response reference language library by performing language-based response analysis based on historical customer service response data, which can provide timely and accurate response channels for subsequent real-time customer service needs and help manual customer service meet customer needs. At the same time, considering the impact of individual characteristics and data volume on the results under big data analysis, the model database is adjusted through customer feedback. On the one hand, the customer service response reference language library is continuously supplemented, and on the other hand, the response data can be reasonably updated in a timely manner to improve the accuracy of the data and ensure the quality of the response service.
[0010] As a possible implementation method, historical customer service response data is obtained, and language-based response analysis is performed to form a customer service response reference language library, including: obtaining historical customer service response data, dividing each historical customer service response record into customer demand and customer service response content, forming customer demand information and customer service response information respectively; performing part-of-speech-based extraction of customer demand information to form customer effective part-of-speech information; performing semantics-based extraction of customer service response information to form customer service effective semantic information; combining all corresponding customer effective part-of-speech information and customer service effective semantic information, performing hierarchical and similar merging to form graded reference language information of different response levels; and combining all graded reference language information of different response levels to form a customer service response reference language library.
[0011] In the present invention, the language-based response analysis mainly extracts the main information from the historical customer service response data for reasonable corresponding matching, so as to provide fast data description and accurate response data guidance for subsequent real-time response analysis. Here, in view of the characteristics of the customer service response data, the response data is divided into customer demand information and customer service response information corresponding to the customer demand information. The extraction of parts of speech of customer demand information is mainly to obtain customer needs and eliminate the impression caused by redundant language vocabulary on the target demand judgment. Usually, the effective parts of speech are mainly nouns, adjectives, adverbials and other parts of speech containing substantial meanings, rather than conjunctions, interjections and other parts of speech that do not carry substantial demand information. It can be understood that based on language analysis, since the language has the same semantics with different parts of speech, it is necessary to reasonably merge these demand information after extracting the effective information, so as to ensure that subsequent customers can judge that the same semantics are expressed using different language expressions.
[0012] As a possible implementation method, all corresponding customer effective part-of-speech information and customer service effective semantic information are combined to perform hierarchical and similar merging to form hierarchical reference language information of different response levels, including: based on the customer effective part-of-speech information, a first-level similar merging based on synonymy overlap based on part-of-speech combinations is performed, and the corresponding customer service effective semantic information is matched to form different first-level reference language information; based on the customer effective part-of-speech information, a second-level similar merging based on synonymy overlap is performed on a single part of speech, and the corresponding customer service effective semantic information is matched to form different second-level reference language information; all first-level reference language information and all second-level reference language information are combined to form hierarchical reference language information.
[0013] In the present invention, since the established customer service response reference language library is mainly used to provide guidance for manual customer service, when performing similar mergers, it is possible to consider providing relatively broad response data. Here, based on the customer's effective part-of-speech information, two types of response reference information are established, which are used as response reference information of different levels. For the first-level reference language information, the main consideration is to match the customer's effective part-of-speech information as a whole. After all, the most accurate understanding of semantics is to understand it from the overall perspective of the discourse. Therefore, the overall information formed by the combination of words under each part of speech in the customer's effective part-of-speech information is used as the basis for matching to perform reasonable matching, forming the first-level reference language information with a high degree of matching. For the second-level reference language information, on the one hand, it is an expansion of the guided response information, and on the other hand, it is also considered that the present invention is analyzed by part of speech, and there will be certain errors under big data, so it is refined to provide corresponding response data for words of each part of speech to make up for the deviation of the data matched under the word combination, further improving the accuracy of the given response guidance data.
[0014] As a possible implementation method, based on the customer's effective part-of-speech information, a first-level similar merger based on the degree of synonymy overlap is performed based on the part-of-speech combination, and the corresponding customer service effective semantic information is matched to form different first-level reference language information, including: performing similar mergers on each effective part-of-speech combination in the customer's effective part-of-speech information in the following manner to form the first-level reference language information of each effective part-of-speech combination: determining the effective part-of-speech combination to be similarly merged as the target effective part-of-speech combination; based on the target effective part-of-speech combination, arranging the effective part-of-speech combinations that have a degree of synonymy overlap with the target effective part-of-speech combination from high to low according to the degree of overlap as one-way replacement objects of the target effective part-of-speech combination, and matching the corresponding customer service effective semantic information with the one-way replacement object; wherein the degree of synonymy overlap of the part of speech includes the same words and synonyms of the words in the target effective part-of-speech combination under each part of speech.
[0015] In the present invention, the establishment of the first-level reference language information is based on the word combination in the effective part-of-speech combination as a benchmark, and the other effective part-of-speech combinations with more overlapping words are regarded as one-way replacement objects that match the target effective part-of-speech combination more. It should be noted here that for the one-way replacement object, only the target effective part-of-speech combination can be replaced with the corresponding other matching effective part-of-speech combinations, and for other effective part-of-speech combinations under the target effective part-of-speech combination, the target effective part-of-speech combination cannot be regarded as an equivalent object. After all, on the one hand, each effective part-of-speech combination has its own corresponding first-level reference language information, and on the other hand, even if it is the effective part-of-speech combination that matches the target effective part-of-speech combination the most, its other effective part-of-speech combinations that match the most are not necessarily the target effective part-of-speech combination, so they cannot be replaced with each other equivalently. This can ensure that each effective part-of-speech combination is reasonably matched, and can also improve the accuracy of data matching, providing accurate data guidance for customer service responses.
[0016] As a possible implementation method, based on the effective part-of-speech information of the customer, the second-level similar merger based on the synonymous overlap of a single part-of-speech is performed, and the corresponding effective semantic information of the customer service is matched to form different second-level reference language information, including: filtering out common words for each effective part-of-speech information of the customer to form characteristic part-of-speech information; setting a matching quantity threshold m, determining the characteristic part-of-speech information to be similarly merged as the target characteristic part-of-speech information, and performing the following similar merger on each target characteristic part-of-speech information to form the second-level reference language information: based on the effective part-of-speech information of the customer, determining each target characteristic part-of-speech information Synonymous overlapping words of words under each part of speech in the target feature part of speech information are selected, and the number of occurrences of the synonymous overlapping words is counted. The synonymous overlapping words are arranged in descending order according to the number of occurrences, and the first m synonymous overlapping words are selected as equivalent replacement objects of the words of the corresponding part of speech under the target feature part of speech information, and the customer service effective semantic information with the largest number of occurrences is matched with the equivalent replacement object on each equivalent replacement object; wherein, the synonymous overlapping words include words under the part of speech in other feature part of speech information that are the same as the words under the part of speech in the target feature part of speech information and words under the part of speech in other feature part of speech information that are synonymous with the words under the part of speech in the target feature part of speech information.
[0017] In the present invention, for the second-level reference language information, the main thing is to perform synonymous equivalent matching on the words in the effective part-of-speech information. Here, it is necessary to first extract features from the effective part-of-speech information to ensure that the data matching has more obvious customization and pertinence. For example, in the effective part-of-speech information, there will be general words such as method and start, and the customized information is relatively weak. After removing these general words, more direct and effective feature information can be obtained. Of course, for a single word, the amount obtained may be more, so in order to avoid the output data volume being too large and unable to guide the customer service response, setting a matching quantity threshold can be reasonably controlled. In addition, it should be noted that for a single word synonym matching, there are multiple synonyms for a single word, and each synonym may also correspond to multiple different effective part-of-speech information. Here, the same synonym is firstly counted based on the effective part-of-speech information, and different synonyms are sorted according to the number of this statistics to determine the size of the matching. Of course, when there are multiple valid part-of-speech information corresponding to the same synonym, the customer service valid semantic information corresponding to the valid part-of-speech information with the most recent acquisition time can be used as the response information corresponding to this synonym, or an in-depth semantic analysis can be performed on these multiple valid part-of-speech information as a whole to provide reasonable response information to improve the accuracy of data analysis. In addition, it should be noted that the second-level reference language information is determined by synonym matching based on a single word, and there may be repeated valid part-of-speech information matched in the first-level reference language information, which does not affect the provision of the second-level reference language information. On the one hand, repeated valid part-of-speech information can indirectly prove that the valid part-of-speech information is more usable, that is, it has a higher matching rate. On the other hand, the second-level reference language information can be expanded by adjusting the matching quantity threshold.
[0018] As a possible implementation method, real-time customer service demand information is obtained, and the answer matching is performed according to the customer service answer reference language library to form the first answer matching information, including: obtaining the real-time customer service demand information, extracting the part of speech of the real-time customer service demand information, and forming the real-time customer effective part of speech information; according to the real-time customer effective part of speech information, obtaining the first-level reference language information in the customer service answer reference language library that matches the real-time customer effective part of speech information in the following manner: if the customer effective part of speech information exists in the customer service answer reference language library and is the same as the real-time customer effective part of speech information, then the first-level reference language information corresponding to the customer effective part of speech information in the customer service answer reference language library is output to form the first answer reference information; if the customer does not exist in the customer service answer reference language library, If the effective part-of-speech information of the customer is the same as the effective part-of-speech information of the real-time customer, and there is a synonym replacement between the effective part-of-speech information of the customer and the effective part-of-speech information of the real-time customer, then the first-level reference language information corresponding to the effective part-of-speech information of the customer with the highest number of synonym replacements is output to form the first response reference information; if in the customer service response reference language library there is neither the effective part-of-speech information of the customer that is the same as the effective part-of-speech information of the real-time customer, nor the effective part-of-speech information of the customer that is the same as the effective part-of-speech information of the real-time customer, then: the characteristic part-of-speech information of the real-time customer is extracted, and according to the characteristic part-of-speech information, the second-level reference language information corresponding to the synonyms of the words under the same part of speech is obtained in the customer service response reference language library and output to form the second response reference information.
[0019] In the present invention, after establishing a customer service response reference language library, the real-time customer effective part-of-speech information obtained must reasonably extract the data in the reference language library for matching, so as to provide timely and accurate data guidance for customer service work. Here, the matching of real-time customer service demand information is sequential. After the real-time customer service demand information is converted into real-time customer effective part-of-speech information, the first-level reference language information is matched in the reference language library according to the combination of words in the real-time customer effective part-of-speech information, because the accuracy of the matching data obtained by the word combination is higher. At the same time, when matching the first-level reference language information, the first consideration is the matching of the same words, and then the matching of the same synonyms. For the matching of the second-level reference language information, it is only performed when the first-level reference language information has not confirmed the effective part-of-speech information that can be matched. Of course, the matching of the second-level reference language information can also be performed when the first-level reference language information can be confirmed. After all, there is a certain deviation between big data analysis and the needs of individual customers. The second-level reference language information can make up for this deviation to a certain extent and improve the accuracy of the analysis output data.
[0020] As a possible implementation method, second-level reference language information corresponding to synonyms of words under the same part of speech is obtained in the customer service response reference language library according to the characteristic part of speech information for output, and the synonym selection order of words under the same part of speech includes: first, selecting the second-level reference language information corresponding to the words that are the same as the words under the same part of speech in the characteristic part of speech information; when the words that are the same as the words under the same part of speech in the characteristic part of speech information cannot be obtained, obtaining the second-level reference language information corresponding to the words that are synonymous with the words under the same part of speech in the characteristic part of speech information.
[0021] In the present invention, the word matching when obtaining the second-level reference language information is also to match the same words first and then the synonyms. The synonyms can also be sequentially extracted and the matching degree determined according to the number of each synonym in the language library. Of course, the matching degree can also be determined based on the time when the synonyms were obtained. After all, the closer the time is, the more it matches the customer's needs. After all, generally speaking, the customer's needs have a certain consistency in a certain period of time.
[0022] As a possible implementation method, if the manual feedback information is non-routine information, a language-based response analysis is performed on the manual feedback information to form manual response information and store it in a customer service response reference language library, including: obtaining manual feedback information and matching the manual feedback information as real-time customer service demand information; extracting parts of speech from the real-time customer service demand information to form real-time customer effective part of speech information; based on the customer effective part of speech information and the customer service effective semantic information, performing hierarchical and similar merging of the first-level reference language information and the second-level reference language information for the real-time customer effective part of speech information and the corresponding manual feedback information, and adding them to the customer service response reference language library.
[0023] In the present invention, manual feedback information is mainly data information generated by manual response when there is no matching real-time valid part-of-speech information in the reference language library. Manual feedback information can be used as a supplement to the customer service response content. Adding it to the reference language library can expand the data volume and provide sufficient basic data for subsequent analysis, thereby increasing the accuracy and timeliness of data analysis.
[0024] As a possible implementation method, based on the customer effective part-of-speech information and the customer service effective semantic information, the first-level reference language information and the second-level reference language information of the real-time customer effective part-of-speech information and the corresponding manual feedback information are hierarchically and similarly merged, and added to the customer service response reference language library, including: establishing the first-level reference language information and the second-level reference language information corresponding to the real-time customer effective part-of-speech information according to the real-time customer effective part-of-speech information and the manual feedback information; traversing and updating the first-level reference language information and the second-level reference language information corresponding to all the customer effective part-of-speech information in the customer service response reference language library according to the real-time customer effective part-of-speech information and the manual feedback information; and adding the first-level reference language information and the second-level reference language information corresponding to the real-time customer effective part-of-speech information to the customer service response reference language library.
[0025] In the present invention, for the processing method of adding manual feedback information to the reference language library, on the one hand, it is necessary to establish corresponding first-level reference language information and second-level reference language information for the manual feedback information, and on the other hand, considering that the newly added manual feedback information will also have an impact on the data class that has been established in the original reference language library, it is necessary to update the original data class to improve the accuracy of the data.
[0026] In a second aspect, the present invention provides a customer service response management system based on a large language model, which is applied to a customer service response management method based on a large language model as described in the first aspect, and includes a customer service answer management data collection unit, which is used to obtain historical customer answer data, real-time customer service demand information, real-time customer service feedback information, and manual feedback information; an answer analysis unit, which is used to obtain historical customer answer data collected by the customer service answer management data collection unit for answer analysis, to form a customer answer reference language library, to obtain real-time customer service demand information for answer matching, to form first answer matching information, to obtain real-time customer service feedback information, to analyze and judge invalid answers, and to obtain manual feedback information for answer analysis; and an answer database, which is used to store the customer answer reference language library.
[0027] In the present invention, the system obtains basic data for establishing a reference language library for responses through a customer service response management data acquisition unit, and also obtains real-time customer information to provide target data for extracting model library data. The response analysis unit can realize the entire data model processing process from the establishment of a reference language library for responses to the update of manual feedback information, and provide guidance data efficiently and accurately. The response database provides storage space for the analysis results, which facilitates the subsequent calling of data for processing during real-time analysis. The entire system provides a material basis for accurately and timely guiding customer service responses.
[0028] In a third aspect, the present invention provides an electronic device, the electronic device comprising:
[0029] processor;
[0030] A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are loaded and executed by the processor, the steps of the customer service management method based on a large language model are implemented.
[0031] In a fourth aspect, the present invention provides a computer-readable storage medium having program code stored therein, wherein the program code can be called by a processor to execute the steps of the customer service management method based on a large language model as described above.
[0032] The beneficial effects brought about by the technical solution provided by the present invention include at least:
[0033] The method of the present invention establishes a reasonable and accurate customer service response reference language library by performing language-based response analysis based on historical customer service response data, which can provide timely and accurate response channels for subsequent real-time customer service needs and help manual customer service meet customer needs. At the same time, considering the impact of individual characteristics and data volume on the results under big data analysis, the model database is adjusted through customer feedback. On the one hand, the customer service response reference language library is continuously supplemented, and on the other hand, the response data can be reasonably updated in a timely manner to improve the accuracy of the data and ensure the quality of the response service.
[0034] The system of the present invention obtains basic data for establishing a reference language library for responses through a customer service response management data acquisition unit, and also obtains real-time customer information to provide target data for extracting model library data. The response analysis unit can realize the entire data model processing process from the establishment of a reference language library for responses to the update of manual feedback information, and provide guidance data efficiently and accurately. The response database provides storage space for the analysis results, which is convenient for calling data for processing during subsequent real-time analysis. The entire system provides a material basis for accurately and timely guiding customer service responses. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments of the present invention are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0036] Figure 1 A step diagram of a customer service management method based on a large language model provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0037] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0038] The main task of manual customer service in platform services is to provide customers with personalized and targeted service dialogues to meet their needs. Currently, most customer service work is still done manually on-site, which requires high requirements for manual customer service, and requires professional knowledge reserves and certain answering service knowledge and skills. This undoubtedly increases the difficulty of customer service work and also affects the quality of customer service to a certain extent.
[0039] With the development of society and the progress of science and technology, big data technology has become an important technical innovation item for many similar customer service work. With the support of big data, it can provide real-time and accurate guidance for the online customer service work of manual customer service. While reducing the difficulty of manual customer service work, it can also greatly improve the quality of customer service work and ensure that most customer service conversations can meet customer needs. However, there is no efficient and reasonable big data processing method for how to provide accurate and timely customer service response guidance.
[0040] refer to Figure 1 The embodiment of the present invention provides a customer service response management method based on a large language model. The method establishes a reasonable and accurate customer service response reference language library by performing language-based response analysis based on historical customer service response data, which can provide timely and accurate response channels for subsequent real-time customer service needs and help manual customer service meet customer needs. At the same time, considering the impact of individual characteristics and data volume on the results under big data analysis, the model database is adjusted through customer feedback. On the one hand, the customer service response reference language library is continuously supplemented, and on the other hand, the response data can be reasonably updated in a timely manner to improve the accuracy of the data and ensure the quality of the response service.
[0041] The customer service response management method based on the large language model specifically includes the following steps:
[0042] S1: Obtain historical customer service response data and conduct language-based response analysis to form a customer service response reference language library.
[0043] Obtain historical customer service response data, and perform language-based response analysis to form a customer service response reference language library, including: obtaining historical customer service response data, dividing each historical customer service response record into customer demand and customer service response content, forming customer demand information and customer service response information respectively; performing part-of-speech-based extraction of customer demand information to form customer effective part-of-speech information; performing semantics-based extraction of customer service response information to form customer service effective semantic information; combining all corresponding customer effective part-of-speech information and customer service effective semantic information, performing hierarchical and similar merging to form graded reference language information for different response levels; and combining all graded reference language information for different response levels to form a customer service response reference language library.
[0044] The language-based response analysis mainly extracts the main information from the historical customer service response data for reasonable corresponding matching, so as to provide fast data description and accurate response data guidance for subsequent real-time response analysis. Here, according to the characteristics of customer service response data, the response data is divided into customer demand information and customer service response information corresponding to customer demand information. The extraction of parts of speech of customer demand information is mainly to obtain customer needs and eliminate the impression caused by redundant language vocabulary on the target demand judgment. Usually, the effective parts of speech are mainly nouns, adjectives, adverbials and other parts of speech containing substantial meanings, rather than conjunctions, interjections and other parts of speech that do not carry substantial demand information. It can be understood that based on language analysis, since the same semantics exist in different parts of speech in the language, it is necessary to reasonably merge these demand information after extracting effective information, so as to ensure that subsequent customers can judge that the same semantics are expressed by using different language expressions.
[0045] Combine all corresponding customer effective part-of-speech information and customer service effective semantic information to perform hierarchical and similar merging to form hierarchical reference language information of different response levels, including: based on the customer effective part-of-speech information, perform first-level similar merging based on synonymy overlap based on part-of-speech combinations, and match the corresponding customer service effective semantic information to form different first-level reference language information; based on the customer effective part-of-speech information, perform second-level similar merging based on synonymy overlap of a single part of speech, and match the corresponding customer service effective semantic information to form different second-level reference language information; combine all first-level reference language information and all second-level reference language information to form hierarchical reference language information.
[0046] Since the established customer service response reference language library is mainly used to provide guidance for manual customer service, when performing similar mergers, it is possible to consider providing relatively broad response data. Here, based on the customer's effective part-of-speech information, two types of response reference information are established, which are used as response reference information of different levels. For the first-level reference language information, the main consideration is to match the customer's effective part-of-speech information as a whole. After all, the most accurate understanding of semantics is to understand it from the overall perspective of the discourse. Therefore, the overall information formed by the combination of words under each part of speech in the customer's effective part-of-speech information is used as the basis for matching to perform reasonable matching and form the first-level reference language information with a high degree of matching. For the second-level reference language information, on the one hand, it is an expansion of the guided response information, and on the other hand, it is also considered that the present invention is analyzed by part of speech, and there will be certain errors under big data, so it is refined to provide corresponding response data for words of each part of speech to make up for the deviation of the data matched under the word combination, further improving the accuracy of the given response guidance data.
[0047] Based on the effective part-of-speech information of the customer, a first-level similar merger based on the degree of synonymy overlap is performed based on the part-of-speech combination, and the corresponding effective customer service semantic information is matched to form different first-level reference language information, including: performing similar mergers on each effective part-of-speech combination in the effective part-of-speech information of the customer in the following manner to form the first-level reference language information of each effective part-of-speech combination: determining the effective part-of-speech combination to be similarly merged as the target effective part-of-speech combination; based on the target effective part-of-speech combination, arranging the effective part-of-speech combinations that have a degree of synonymy overlap with the target effective part-of-speech combination from high to low according to the degree of overlap as one-way replacement objects of the target effective part-of-speech combination, and matching the corresponding effective customer service semantic information with the one-way replacement object; wherein, the degree of synonymy overlap of the part of speech includes the same words and synonyms of the words in the target effective part-of-speech combination under each part of speech.
[0048] The establishment of the first-level reference language information is based on the word combination in the effective part-of-speech combination as the benchmark, and the other effective part-of-speech combinations with more overlapping words are regarded as one-way replacement objects that match the target effective part-of-speech combination more. It should be noted here that for the one-way replacement object, only the target effective part-of-speech combination can be replaced with the corresponding other matching effective part-of-speech combinations, and the target effective part-of-speech combination cannot be regarded as an equivalent object for other effective part-of-speech combinations under the target effective part-of-speech combination. After all, on the one hand, each effective part-of-speech combination has its own corresponding first-level reference language information, and on the other hand, even if the effective part-of-speech combination is the most matching effective part-of-speech combination, its other most matching effective part-of-speech combination may not necessarily be the target effective part-of-speech combination, so they cannot be replaced with each other equivalently. This can ensure the reasonable matching of each effective part-of-speech combination, and can also improve the accuracy of data matching, providing accurate data guidance for customer service responses.
[0049] Based on the effective part-of-speech information of the customer, the second-level similar merger based on the synonymous overlap of a single part-of-speech is carried out, and the corresponding effective semantic information of the customer service is matched to form different second-level reference language information, including: filtering out common words for each effective part-of-speech information of the customer to form characteristic part-of-speech information; setting a matching quantity threshold m, determining the characteristic part-of-speech information for similar merger as the target characteristic part-of-speech information, and carrying out similar merger of each target characteristic part-of-speech information in the following manner to form the second-level reference language information: based on the effective part-of-speech information of the customer, determining the following words under each part of speech in each target characteristic part-of-speech information; Synonymous words of words, and count the number of occurrences of synonymous words, arrange the synonymous words in descending order according to the number of occurrences, and select the first m synonymous words as equivalent replacement objects of the words of the corresponding part of speech under the target feature part of speech information, and match the customer service effective semantic information with the largest number of occurrences with the equivalent replacement object on each equivalent replacement object; among them, synonymous words include words under the part of speech in other feature part of speech information that are the same as the words under the part of speech in the target feature part of speech information, and words under the part of speech in other feature part of speech information that are synonymous with the words under the part of speech in the target feature part of speech information.
[0050] For the second-level reference language information, the main thing is to perform synonymous equivalent matching on the words in the valid part-of-speech information. Here, it is necessary to first extract features from the valid part-of-speech information to ensure that the data matching is more obviously customized and targeted. For example, in the valid part-of-speech information, there will be general words such as method and start, and the customized information is relatively weak. After removing these general words, more direct and effective feature information can be obtained. Of course, for a single word, the amount of synonym matching may be more, so in order to avoid the output data volume being too large and unable to guide the customer service response, setting a matching quantity threshold can be reasonably controlled. In addition, it should be noted that for a single word synonym matching, there are multiple synonyms for a single word, and each synonym may also correspond to multiple different valid part-of-speech information. Here, the same synonyms are first counted based on the valid part-of-speech information, and different synonyms are sorted according to this statistical quantity to determine the size of the match. Of course, when there are multiple valid part-of-speech information corresponding to the same synonym, the customer service valid semantic information corresponding to the valid part-of-speech information with the most recent acquisition time can be used as the response information corresponding to this synonym, or an in-depth semantic analysis can be performed on these multiple valid part-of-speech information as a whole to provide reasonable response information to improve the accuracy of data analysis. In addition, it should be noted that the second-level reference language information is determined by synonym matching based on a single word, and there may be repeated valid part-of-speech information matched in the first-level reference language information, which does not affect the provision of the second-level reference language information. On the one hand, repeated valid part-of-speech information can indirectly prove that the valid part-of-speech information is more usable, that is, it has a higher matching rate. On the other hand, the second-level reference language information can be expanded by adjusting the matching quantity threshold.
[0051] S2: Acquire real-time customer service demand information, and perform answer matching according to the customer service answer reference language library to form first answer matching information.
[0052] Acquire real-time customer service demand information, and perform answer matching according to a customer service answer reference language library to form first answer matching information, including: acquire real-time customer service demand information, extract the part of speech of the real-time customer service demand information, and form real-time customer effective part of speech information; acquire first-level reference language information in the customer service answer reference language library that matches the real-time customer effective part of speech information according to the real-time customer effective part of speech information in the following manner: if the customer effective part of speech information exists in the customer service answer reference language library and is the same as the real-time customer effective part of speech information, then output the first-level reference language information corresponding to the customer effective part of speech information in the customer service answer reference language library to form the first answer reference information; if the customer effective part of speech information does not exist in the customer service answer reference language library .... If the real-time customer effective part-of-speech information is the same as the real-time customer effective part-of-speech information, and there is customer effective part-of-speech information that has synonymous replacement with the real-time customer effective part-of-speech information, then the first-level reference language information corresponding to the customer effective part-of-speech information with the highest number of synonymous replacements is output to form the first response reference information; if in the customer service response reference language library there is neither customer effective part-of-speech information that is the same as the real-time customer effective part-of-speech information, nor customer effective part-of-speech information that has synonymous replacement with the real-time customer effective part-of-speech information, then: extract characteristic part-of-speech information from the real-time customer effective part-of-speech information, and obtain the second-level reference language information corresponding to the synonyms of the words under the same part of speech in the customer service response reference language library based on the characteristic part-of-speech information, and output it to form the second response reference information.
[0053] After establishing the customer service response reference language library, the real-time customer effective part-of-speech information obtained must be reasonably extracted from the data in the reference language library for matching, so as to provide timely and accurate data guidance for customer service work. Here, the matching of real-time customer service demand information is sequential. After converting the real-time customer service demand information into real-time customer effective part-of-speech information, the first-level reference language information is matched in the reference language library according to the combination of words in the real-time customer effective part-of-speech information, because the accuracy of the matching data obtained by the word combination is higher. At the same time, when matching the first-level reference language information, the first consideration is the matching of the same words, and then the matching of the same synonyms. For the matching of the second-level reference language information, it is only carried out when the first-level reference language information has not confirmed the effective part-of-speech information that can be matched. Of course, the matching of the second-level reference language information can also be carried out when the first-level reference language information can be confirmed. After all, there is a certain deviation between big data analysis and the needs of individual customers. The second-level reference language information can make up for this deviation to a certain extent and improve the accuracy of the analysis output data.
[0054] In the process of obtaining second-level reference language information corresponding to synonyms of words under the same part of speech in the customer service response reference language library according to the characteristic part of speech information for output, the order of selecting synonyms of words under the same part of speech includes: first selecting second-level reference language information corresponding to words that are identical to words under the same part of speech in the characteristic part of speech information; when words that are identical to words under the same part of speech in the characteristic part of speech information cannot be obtained, obtaining second-level reference language information corresponding to words that are synonymous with words under the same part of speech in the characteristic part of speech information.
[0055] When the second-level reference language information is obtained, the word matching is also performed by first matching the same words and then matching the synonyms. The matching of synonyms can also be sequentially extracted and the matching degree determined according to the number of each synonym in the language library. Of course, the matching degree can also be determined based on the time when the synonyms were obtained. After all, the closer the time is, the more it matches the customer's needs. After all, generally speaking, the customer's needs have a certain consistency in a certain period of time.
[0056] S3: Obtain real-time customer service feedback information. If the real-time customer service feedback information is determined to be an invalid answer, output real-time customer service demand information and obtain manual feedback information.
[0057] The real-time feedback information, as a response to the first answer matching information, can determine the accuracy of the first answer matching information analysis. As for whether the real-time customer service feedback information is valid, a valid or invalid word library can be established for matching and determination.
[0058] S4: If the manual feedback information is non-routine information, a language-based response analysis is performed on the manual feedback information to form manual response information and store it in a customer service response reference language library.
[0059] If the manual feedback information is non-routine information, a language-based response analysis is performed on the manual feedback information to form manual response information and store it in a customer service response reference language library, including: obtaining manual feedback information and matching the manual feedback information as real-time customer service demand information; extracting parts of speech from the real-time customer service demand information to form real-time customer effective part of speech information; based on the customer effective part of speech information and the customer service effective semantic information, performing hierarchical and similar merging of the first-level reference language information and the second-level reference language information for the real-time customer effective part of speech information and the corresponding manual feedback information, and adding them to the customer service response reference language library.
[0060] Manual feedback information is mainly data information generated by manual responses when there is no matching real-time valid part-of-speech information in the reference language library. Manual feedback information can be used as a supplement to customer service response content. Adding it to the reference language library can expand the data volume and provide sufficient basic data for subsequent analysis, increasing the accuracy and timeliness of data analysis.
[0061] Based on the effective part-of-speech information of the customer and the effective semantic information of the customer service, the first-level reference language information and the second-level reference language information of the real-time effective part-of-speech information of the customer and the corresponding manual feedback information are hierarchically and similarly merged, and added to the customer service response reference language library, including: establishing the first-level reference language information and the second-level reference language information corresponding to the real-time effective part-of-speech information of the customer according to the real-time effective part-of-speech information of the customer and the manual feedback information; traversing and updating the first-level reference language information and the second-level reference language information corresponding to all the effective part-of-speech information of the customer in the customer service response reference language library according to the real-time effective part-of-speech information of the customer and the manual feedback information; and adding the first-level reference language information and the second-level reference language information corresponding to the real-time effective part-of-speech information of the customer to the customer service response reference language library.
[0062] Regarding the method of adding manual feedback information to the reference language library, on the one hand, it is necessary to establish corresponding first-level reference language information and second-level reference language information for the manual feedback information; on the other hand, considering that the newly added manual feedback information will also have an impact on the data classes that have been established in the original reference language library, it is necessary to update the original data classes to improve the accuracy of the data.
[0063] The present invention also provides a customer service response management system based on a large language model. The system adopts the customer service response management method based on a large language model provided by the present invention, including a customer service answer management data collection unit, which is used to obtain historical customer answer data, real-time customer service demand information, real-time customer service feedback information and manual feedback information; an answer analysis unit, which is used to obtain the historical customer answer data collected by the customer service answer management data collection unit for answer analysis, to form a customer answer reference language library, to obtain real-time customer service demand information for answer matching, to form first answer matching information, to obtain real-time customer service feedback information, to analyze and judge invalid answers, and to obtain manual feedback information for answer analysis; and an answer database, which is used to store the customer answer reference language library.
[0064] The system uses the customer service response management data acquisition unit to obtain basic data for establishing a response reference language library, and also obtains real-time customer information to provide target data for model library data extraction. The response analysis unit can realize the entire data model processing process from the establishment of the response reference language library to the update of manual feedback information, and provide guidance data efficiently and accurately. The response database provides storage space for the analysis results, which is convenient for calling data for processing during subsequent real-time analysis. The entire system provides a material basis for accurately and timely guiding customer service responses.
[0065] In summary, the customer service response management method and device based on a large language model provided by the embodiments of the present invention have the following beneficial effects:
[0066] This method conducts language-based response analysis based on historical customer service response data, establishes a reasonable and accurate customer service response reference language library, and can provide timely and accurate responses for subsequent real-time customer service needs to help manual customer service meet customer needs. At the same time, considering the impact of individual characteristics and data volume on the results under big data analysis, the model database is adjusted through customer feedback. On the one hand, the customer service response reference language library is continuously supplemented, and on the other hand, the response data can be reasonably updated in a timely manner to improve the accuracy of the data and ensure the quality of the response service.
[0067] The system uses the customer service response management data acquisition unit to obtain basic data for establishing a response reference language library, and also obtains real-time customer information to provide target data for model library data extraction. The response analysis unit can realize the entire data model processing process from the establishment of the response reference language library to the update of manual feedback information, and provide guidance data efficiently and accurately. The response database provides storage space for the analysis results, which is convenient for calling data for processing during subsequent real-time analysis. The entire system provides a material basis for accurately and timely guiding customer service responses.
[0068] In an exemplary embodiment, the present invention further provides an electronic device, the electronic device comprising:
[0069] processor;
[0070] A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are loaded and executed by the processor, the steps of the customer service management method based on a large language model are implemented.
[0071] In an exemplary embodiment, the present invention further provides a computer-readable storage medium, wherein at least one instruction is stored in the computer-readable storage medium, and the at least one instruction is loaded and executed by a processor to implement the steps of the customer service management method based on a large language model as described above. For example, the computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0072] In the present invention, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0073] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0074] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0075] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0076] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0077] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0078] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0079] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
[0080] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are 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.
[0081] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A customer service management method based on a large language model, characterized in that: include: Obtain historical customer service response data and conduct language-based response analysis to form a customer service response reference language library; including: Acquire the historical customer service response data, divide each historical customer service response record into customer demand and customer service response content, and form customer demand information and customer service response information respectively; perform part-of-speech extraction on the customer demand information to form customer effective part-of-speech information; perform semantic extraction on the customer service response information to form customer service effective semantic information; combine all corresponding customer effective part-of-speech information and customer service effective semantic information, perform hierarchical and similar merging, and form graded reference language information of different response levels; gather all graded reference language information of different response levels to form the customer service response reference language library; The combining of all corresponding valid part-of-speech information of the customer and valid semantic information of the customer service to perform hierarchical and similar merging to form hierarchical reference language information of different response levels includes: Based on the effective part-of-speech information of the customer, a first-level similar merger based on the degree of synonymy overlap is performed based on the combination of parts of speech, and the corresponding effective semantic information of the customer service is matched to form different first-level reference language information; based on the effective part-of-speech information of the customer, a second-level similar merger based on the degree of synonymy overlap is performed based on a single part of speech, and the corresponding effective semantic information of the customer service is matched to form different second-level reference language information; all the first-level reference language information and all the second-level reference language information are combined to form the level reference language information; Acquire real-time customer service demand information, and perform answer matching according to the customer service answer reference language library to form first answer matching information; Acquire real-time customer service feedback information, and if the real-time customer service feedback information is determined to be an invalid answer, output the real-time customer service demand information and acquire manual feedback information; If the manual feedback information is non-routine information, a language-based response analysis is performed on the manual feedback information to form manual response information and store it in the customer service response reference language library.
2. The customer service management method based on a large language model according to claim 1, characterized in that: Based on the customer's effective part-of-speech information, the first-level same-type merging based on synonymous overlap is performed based on part-of-speech combinations, and the corresponding customer service effective semantic information is matched to form different first-level reference language information, including: Each valid part-of-speech combination in the client's valid part-of-speech information is merged in the following manner to form the first-level reference language information of each valid part-of-speech combination: Determine the valid part-of-speech combination for similar merging as the target valid part-of-speech combination; Taking the target effective part-of-speech combination as a benchmark, the effective part-of-speech combinations having a synonymous overlap with the target effective part-of-speech combination are arranged from high to low according to the overlap, as one-way replacement objects of the target effective part-of-speech combination, and the corresponding customer service effective semantic information is matched with the one-way replacement object; The part-of-speech synonym overlap degree includes the same words and synonyms of the words in the target valid part-of-speech combination under each part-of-speech.
3. The customer service management method based on a large language model according to claim 2, characterized in that: The second-level same-type merging based on the customer's effective part-of-speech information and the degree of synonymous overlap based on a single part-of-speech, and matching the corresponding customer service effective semantic information to form different second-level reference language information, includes: Screening out common words from each of the customer's valid part-of-speech information to form characteristic part-of-speech information; A matching quantity threshold m is set, the characteristic part-of-speech information to be merged in the same category is determined as the target characteristic part-of-speech information, and each target characteristic part-of-speech information is merged in the following manner to form the second-level reference language information: Based on the customer effective part-of-speech information, determine the synonymous overlapping words of each word under each part of speech in each target feature part-of-speech information, and count the number of occurrences of the synonymous overlapping words, arrange the synonymous overlapping words in descending order according to the number of occurrences, and select the first m synonymous overlapping words as equivalent replacement objects of the words of the corresponding part of speech under the target feature part-of-speech information, and match the customer service effective semantic information with the largest number of occurrences with the equivalent replacement object on each equivalent replacement object; Among them, synonymous overlapping words include words under the same part of speech as the words under the part of speech in the target characteristic part of speech information and words under the same part of speech in other characteristic part of speech information that are synonymous with the words under the part of speech in the target characteristic part of speech information.
4. The customer service management method based on a large language model according to claim 3 is characterized in that: The acquiring of real-time customer service demand information and performing answer matching according to the customer service answer reference language library to form first answer matching information includes: Acquire the real-time customer service demand information, extract the part of speech of the real-time customer service demand information, and form real-time customer effective part of speech information; According to the real-time customer effective part-of-speech information, the first-level reference language information matching the real-time customer effective part-of-speech information in the customer service response reference language library is obtained in the following manner: If the customer effective part-of-speech information in the customer service response reference language library is the same as the real-time customer effective part-of-speech information, then the first-level reference language information corresponding to the customer effective part-of-speech information in the customer service response reference language library is output to form the first response reference information; If the customer effective part-of-speech information does not exist in the customer service response reference language library and is identical to the real-time customer effective part-of-speech information, but the customer effective part-of-speech information and the real-time customer effective part-of-speech information have synonymous substitutions, then the first-level reference language information corresponding to the customer effective part-of-speech information with the highest number of synonymous substitutions is output to form the first response reference information; If the customer service response reference language library does not contain the same customer effective part-of-speech information as the real-time customer effective part-of-speech information, and does not contain the customer effective part-of-speech information as the real-time customer effective part-of-speech information, then: Extract characteristic part-of-speech information from the real-time customer effective part-of-speech information, and obtain the second-level reference language information corresponding to the synonyms of the words under the same part-of-speech in the customer service response reference language library according to the characteristic part-of-speech information, and output it to form second response reference information.
5. The customer service management method based on a large language model according to claim 4, characterized in that: In the step of obtaining the second-level reference language information corresponding to the synonyms of the words under the same part of speech in the customer service response reference language library according to the characteristic part of speech information and outputting the information, the order of selecting the synonyms of the words under the same part of speech includes: Firstly, the second level reference language information corresponding to the words having the same part of speech as the words in the characteristic part of speech information is selected; When the same word as the word with the same part of speech in the characteristic part of speech information cannot be obtained, the second level reference language information corresponding to the word with the same part of speech in the characteristic part of speech information is obtained.
6. The customer service management method based on a large language model according to claim 5, characterized in that: If the manual feedback information is non-routine information, performing language-based response analysis on the manual feedback information to form manual response information and store it in the customer service response reference language library, including: Acquire the manual feedback information, and match the manual feedback information as the real-time customer service demand information; Extracting parts of speech from the real-time customer service demand information to form real-time customer effective part of speech information; Based on the customer effective part-of-speech information and the customer service effective semantic information, the first-level reference language information and the second-level reference language information are hierarchically and similarly merged for the real-time customer effective part-of-speech information and the corresponding manual feedback information, and added to the customer service response reference language library.
7. The customer service management method based on a large language model according to claim 6, characterized in that: The step of performing hierarchical and similar merging of the first-level reference language information and the second-level reference language information on the real-time customer effective part-of-speech information and the corresponding manual feedback information based on the customer effective part-of-speech information and the customer service effective semantic information, and adding the information to the customer service response reference language library, includes: Establishing the first level reference language information and the second level reference language information corresponding to the real-time customer effective part-of-speech information according to the real-time customer effective part-of-speech information and the manual feedback information; Traversing and updating the first-level reference language information and the second-level reference language information corresponding to all customer effective part-of-speech information in the customer service response reference language library according to the real-time customer effective part-of-speech information and the manual feedback information; The first level reference language information and the second level reference language information corresponding to the real-time customer effective part-of-speech information are added to the customer service response reference language library.
8. A customer service management system based on a large language model, used to implement the customer service management method based on a large language model as claimed in any one of claims 1 to 7, characterized in that: include: Customer service response management data collection unit, used to obtain historical customer response data, real-time customer service demand information, real-time customer service feedback information and manual feedback information; An answer analysis unit is used to obtain the historical customer answer data collected by the customer service answer management data collection unit for answer analysis, to form a customer answer reference language library, to obtain real-time customer service demand information for answer matching, to form first answer matching information, to obtain real-time customer service feedback information, to analyze and judge invalid answers, and to obtain manual feedback information for answer analysis; The answer database is used to store the customer answer reference language library.
