Customer service interaction method, device and equipment and readable storage medium

The service interaction model is generated through the integration of language models and knowledge graphs, which solves the problems of rigid reply content and insufficient relevance in the existing robot customer service interaction methods, achieves more accurate and personalized customer service interactions, and improves the quality of service interactions. .

CN118586492APending Publication Date: 2024-09-03INSPUR TIANYUAN COMM INFORMATION SYST CO LTD

Patent Information

Application Number
CN202410507359.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The reply content of the existing robot customer service interaction method is too rigid and has little relevance to the problem, resulting in low accuracy of customer service interaction.

Method used

The service interaction model is generated by integrating the language model and the knowledge graph. The language model and the knowledge graph are built based on the question and answer data set in the service field, and the customer request information is parsed to generate more accurate responses, and the display is adjusted according to the customer preference information.

Benefits of technology

It improves the accuracy and personalization of customer service interactions, enhances the relevance and readability of reply content, and enhances the customer service experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118586492A
    Figure CN118586492A
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and provides a customer service interaction method, device and equipment and a readable storage medium, and the method comprises the steps: obtaining request information corresponding to a customer service request, and determining a service field to which the request information belongs; determining a service interaction model generated by fusing a language model and a knowledge graph, wherein the language model and the knowledge graph are both constructed based on a question and answer data set of the service field; and inputting the request information into the service interaction model to obtain reply information corresponding to the customer service request, and outputting the reply information. According to the method, the request information of the customer service is input into the service interaction model obtained by fusing the language model and the knowledge graph, and the reply information corresponding to the customer service request output by the service interaction model is obtained. According to the method, the accuracy of customer service interaction is improved in a mode of fusing the language model and the knowledge graph.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a customer service interaction method, device, equipment and readable storage medium. Background Art

[0002] With the rapid development of computer science and technology, customer service is no longer limited to telephone and email. The development of the Internet has enabled a considerable part of customer service to be completed on the Internet, and there is already a phenomenon of robots replacing humans to complete some customer service.

[0003] However, the existing robot customer service interaction method still uses the traditional database system, that is, common questions in the industry are associated with the answer content and stored in the database. When a customer asks a question, the answer content associated with this question is extracted from the database. However, this customer service interaction method has the problem that the answer content is too rigid and it is easy to have little relevance between the answer content and the question, which reduces the accuracy of customer service interaction. Summary of the invention

[0004] The present invention provides a customer service interaction method, device, equipment and readable storage medium, which are used to solve the technical problem of low accuracy of existing non-manual customer service interaction.

[0005] The present invention provides a customer service interaction method, comprising:

[0006] Obtaining request information corresponding to the customer service request, and determining the service field to which the request information belongs;

[0007] Determine a service interaction model generated by fusing a language model and a knowledge graph, wherein both the language model and the knowledge graph are constructed based on a question-and-answer dataset in the service field;

[0008] The request information is input into the service interaction model, response information corresponding to the customer service request is obtained, and the response information is output.

[0009] According to a customer service interaction method provided by the present invention, the question and answer data set includes a reply data set; the customer service interaction method further includes:

[0010] Acquire historical service reply data, divide the historical service reply data, and obtain a reply data set for each service field, wherein the reply data set includes a plurality of historical reply entities;

[0011] Based on the first relationship between the multiple historical reply entities in each reply data set, a knowledge graph corresponding to each service field is constructed.

[0012] According to a customer service interaction method provided by the present invention, the question and answer data set also includes a request data set; the customer service interaction method also includes:

[0013] Acquire historical service request data, and determine a request data set for each of the service fields based on the historical service request data, wherein the request data set includes a plurality of historical request entities;

[0014] The language model is trained based on the second relationship between the plurality of the historical request entities and the plurality of the historical reply entities.

[0015] According to a customer service interaction method provided by the present invention, the step of inputting the request information into the service interaction model to obtain the reply information corresponding to the customer service request comprises:

[0016] In the case that the request information contains multiple target request entities, parsing the request information to obtain the semantics of the request information and context information of the request information;

[0017] Based on the first relationship, the second relationship, the semantics, and the context information, reply information corresponding to the customer service request is determined.

[0018] According to a customer service interaction method provided by the present invention, the method of inputting the request information into the service interaction model and obtaining the reply information corresponding to the customer service request comprises:

[0019] Acquire customer preference information and historical service question and answer data corresponding to the customer service request, wherein the historical service question and answer data includes the historical service request data and the historical service reply data;

[0020] Based on the customer preference information and the historical service question and answer data, display adjustment is performed on the reply information;

[0021] The output shows the adjusted reply information.

[0022] According to a customer service interaction method provided by the present invention, the method of displaying and adjusting the reply information based on the customer preference information and the historical service question and answer data comprises:

[0023] Determining an input mode of the request information;

[0024] Determining an output mode for displaying the adjusted reply information, the output mode corresponding to the input mode;

[0025] Based on the display adjustment and the input modality, the reply information is output.

[0026] According to a customer service interaction method provided by the present invention, the method of inputting the request information into the service interaction model and obtaining the reply information corresponding to the customer service request comprises:

[0027] receiving feedback information sent based on the reply information;

[0028] The feedback information is analyzed, and the service interaction model is improved according to the analysis result.

[0029] The present invention also provides a customer service interaction device, comprising:

[0030] A service domain determination module, used to obtain request information corresponding to a customer service request and determine the service domain to which the request information belongs;

[0031] A language model and knowledge graph fusion module, used to determine a service interaction model generated by the fusion of a language model and a knowledge graph, wherein both the language model and the knowledge graph are constructed based on a question-and-answer dataset in the service field;

[0032] The request reply module is used to input the request information into the service interaction model, obtain the reply information corresponding to the customer service request, and output the reply information.

[0033] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any one of the customer service interaction methods described above is implemented.

[0034] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any of the customer service interaction methods described above is implemented.

[0035] The customer service interaction method, device, equipment and readable storage medium provided by the present invention determine the service field to which the request information corresponding to the acquired customer service request belongs, and then determine the question and answer data set of the service field, as well as the service interaction model generated by the fusion of the language model and the knowledge graph. Both the language model and the knowledge graph are constructed by the question and answer data set of the service field. Finally, the customer service request information is input into the fused service interaction model to obtain the reply information corresponding to the customer service request output by the service interaction model. This application improves the accuracy of customer service interaction by fusing the language model and the knowledge graph. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 It is one of the flow charts of the customer service interaction method provided by the present invention;

[0038] Figure 2 This is the second flow chart of the customer service interaction method provided by the present invention;

[0039] Figure 3 This is the third flow chart of the customer service interaction method provided by the present invention;

[0040] Figure 4 This is the fourth flow chart of the customer service interaction method provided by the present invention;

[0041] Figure 5 This is the fifth flow chart of the customer service interaction method provided by the present invention;

[0042] Figure 6 It is a structural schematic diagram of the customer service interaction device provided by the present invention;

[0043] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] Please refer to Figure 1 The present invention provides a customer service interaction method, comprising:

[0046] Step 100, obtaining request information corresponding to the customer service request, and determining the service field to which the request information belongs;

[0047] Specifically, the customer service interaction method provided by the present invention can be applied to customer service in various scenarios, for example, customer service in the communications industry (mainly involving the activation and operation and maintenance services of communications services) and customer service in e-commerce (mainly involving the sale of goods and after-sales services); it also includes but is not limited to customer service in industries such as banking, catering, and entertainment.

[0048] Before automatically generating the answer content of the customer's question through the computer (robot), it is necessary to obtain the question raised by the customer first. The form (i.e., modality) of the questions generally raised by customers is diverse, such as text, voice, and pictures. Therefore, the request information corresponding to the customer service request obtained by this application is also multimodal. Generally, it is text information, but it can also be voice information and image information.

[0049] After obtaining the request information corresponding to the customer service request, determine the service field to which the customer's request belongs. It can be seen that the service field is the division of customer service requests. For example, for customer service in the communications industry, the service fields may include service cancellation, business consultation, and business maintenance. Different service fields correspond to different domain knowledge. For example, the domain knowledge corresponding to the service cancellation field includes business entities, date entities, and verification entities, etc., and also includes the attribute relationship between the entities in the service cancellation field. For example, the attribute relationship between the business entity and the date entity includes activation and change, etc.

[0050] Step 200, determining a service interaction model generated by fusing a language model with a knowledge graph, wherein both the language model and the knowledge graph are constructed based on a question-and-answer dataset in the service field;

[0051] Specifically, before generating the reply content to the questions raised by the customers, the historical service Q&A data is divided into fields to obtain a Q&A data set for each service field, and the Q&A data set for each field includes historical service request data and historical service reply data. Among them, historical service request data refers to the questions entered by the customers in the historical Q&A data related to the customers; historical service reply data refers to the reply content of the questions entered by the customers in the historical reply data related to the customers. In order to be able to respond to the questions raised by customers in a more personalized way, the historical service Q&A data proposed in this application is bound to the customers, that is, the request information proposed in this application and the historical service Q&A data are both assumed to belong to the same customer by default; in this way, the reply content that is more in line with the customer's personality habits can be output.

[0052] Based on the question-and-answer data set for each service field divided by historical service question-and-answer data, the language model and knowledge graph corresponding to each service field are constructed. It can be seen that the language model can initially obtain the reply entity corresponding to the request information; and the knowledge graph can connect the reply entities (obtained by the language model) through attribute relationships. Connecting the reply entities obtained by the language model can obtain more coherent reply information, thereby initially obtaining the reply information corresponding to the request information of the customer service request.

[0053] Step 300: input the request information into the service interaction model, obtain reply information corresponding to the customer service request, and output the reply information.

[0054] The question-and-answer data set for each service field obtained by dividing the historical service question-and-answer data is used to construct the language model and knowledge graph corresponding to each service field, and the language model and knowledge graph corresponding to the same service field are integrated to generate the service interaction model corresponding to the service field. The request information belonging to the service field is input into the service interaction model corresponding to the service field, and the reply information (corresponding to the customer service request) output by the service interaction model corresponding to the service field can be obtained.

[0055] It can be seen that if the request information input by the customer during an interaction belongs to multiple service areas, different service interaction models are called when responding to the request information of different service areas. It can be understood that each service area corresponds to one or more service interaction models, and all service interaction models can be stored in the same algorithm pool, or stored in multiple algorithm pools according to the distributed storage method.

[0056] This embodiment determines the service field to which the request information corresponding to the obtained customer service request belongs, and then determines the question and answer dataset of the service field, as well as the service interaction model generated by the fusion of the language model and the knowledge graph. Both the language model and the knowledge graph are constructed through the question and answer dataset of the service field. Finally, the customer service request information is input into the fused service interaction model to obtain the reply information corresponding to the customer service request output by the service interaction model. This application improves the accuracy of customer service interaction by fusing the language model and the knowledge graph.

[0057] Please refer to Figure 2 In one embodiment, the customer service interaction method provided in the embodiment of the present application may further include:

[0058] Step 10, obtaining historical service reply data, dividing the historical service reply data, and obtaining a reply data set for each service field, wherein the reply data set includes a plurality of historical reply entities;

[0059] Step 20: construct a knowledge graph corresponding to each of the service fields based on the first relationships between the multiple historical reply entities in each of the reply data sets.

[0060] Specifically, the knowledge graph corresponding to each service field can be constructed based on the historical service answer data in the historical service question and answer data. Specifically, it includes:

[0061] 1. Extract historical service reply data from historical service question and answer data, and then divide the historical service reply data. The basis for division is to extract historical reply entities, that is, extract (historical reply) entities in the historical service reply data to obtain multiple historical reply entities; 2. Put multiple historical reply entities in the same service field into the same data set to obtain reply data sets for multiple service fields, and each reply data set contains multiple historical reply entities in the service field; 3. Determine the attribute relationship between each historical reply entity in the same service field (that is, the first relationship in this embodiment), and construct a knowledge graph corresponding to each service field based on the first relationship.

[0062] The purpose of constructing the knowledge graph corresponding to each service field is to obtain the preliminary response information of the request information based on the language model corresponding to each service field, and then obtain the preliminary response information of the request information based on the attribute relationship between the (historical) response entities corresponding to the request information.

[0063] This embodiment divides the historical service reply data into a reply data set containing multiple historical reply entities, and constructs a knowledge graph corresponding to each service field based on the relationship between the multiple historical reply entities, providing a data basis for integrating the service interaction model.

[0064] In one embodiment, the customer service interaction method provided in the embodiment of the present application may also include:

[0065] Step 30, obtaining historical service request data, and determining a request data set for each of the service fields based on the historical service request data, wherein the request data set includes a plurality of historical request entities;

[0066] Step 40: Based on the second relationship between the plurality of the historical request entities and the plurality of the historical reply entities, the language model is trained.

[0067] Specifically, based on the historical service request data and historical service reply data in the historical service question and answer data, a language model corresponding to each service field can be constructed. Specifically, it includes:

[0068] 1. Extract historical service request data from historical service request data, and then divide the historical service request data. The basis for division is to extract historical request entities, that is, to extract historical request entities from historical service request data to obtain multiple historical request entities; 2. Put multiple historical request entities in the same service field into the same data set to obtain request data sets for multiple service fields, and each request data set contains multiple historical request entities in the service field; 3. Determine the relationship between each historical reply entity and each historical request entity in the same service field (that is, the second relationship in this embodiment), and construct a language model corresponding to each service field based on the second relationship.

[0069] Among them, the purpose of constructing the language model corresponding to each service field is: based on the language model corresponding to each service field, the reply entity corresponding to the request information can be preliminarily obtained, and then based on the knowledge graph determined by the second relationship, the attribute relationship between the reply entities corresponding to the request information can be obtained, and finally the preliminary reply information corresponding to the request information can be obtained.

[0070] This embodiment divides the historical service request data into a request data set containing multiple historical request entities, and constructs a language model corresponding to each service field based on the relationship between multiple historical request entities, thereby providing a data basis for integrating the service interaction model.

[0071] Please refer to Figure 3 In one embodiment, the customer service interaction method provided in the embodiment of the present application may further include:

[0072] Step 310: if there are multiple target request entities included in the request information, parse the request information to obtain the semantics of the request information and context information of the request information;

[0073] Step 320: Determine reply information corresponding to the customer service request based on the first relationship, the second relationship, the semantics, and the context information.

[0074] The specific process of inputting request information into the service interaction model and obtaining the response information corresponding to the customer service request is as follows:

[0075] 1. Extract the request entity contained in the request information, that is, the target request entity in this embodiment;

[0076] 2. When the target request entity contains only one, it can be basically determined that the request information entered by the customer is incorrect. Because a complete request information contains at least two or more target request entities, for example, the request information corresponding to the service cancellation field "When was my call service activated?" This request information contains two request entities: the business entity "call service" and the date entity "activation time". If the request information contains only one request entity, for example, the request information corresponding to the service cancellation field "When was it activated?" This request information only contains one request entity: the date entity "activation time". A request information containing only one request entity cannot be answered;

[0077] 3. When there are multiple target request entities, parse the request information to obtain semantic information and context information of the request information;

[0078] 4. After obtaining the preliminary reply information corresponding to the request information based on the first relationship and the second relationship, further perform natural language processing on the preliminary reply information according to the semantic information and context information of the request information to obtain reply information that is more in line with human reply thinking.

[0079] This embodiment processes the request information through the first relationship between historical reply entities, the second relationship between the historical reply entity and the historical request entity, and the semantic information and context information of the request information to obtain the reply information.

[0080] Please refer to Figure 4 In one embodiment, the customer service interaction method provided in the embodiment of the present application may further include:

[0081] Step 400, obtaining customer preference information and historical service question and answer data corresponding to the customer service request, wherein the historical service question and answer data includes the historical service request data and the historical service reply data;

[0082] Step 500, based on the customer preference information and the historical service question and answer data, display adjustment is performed on the answer information;

[0083] Step 600: output and display the adjusted reply information.

[0084] Specifically, after obtaining the reply information corresponding to the customer service request, this application also provides a reply information adjustment scheme. Specifically including:

[0085] 1. Obtain the customer preference information and historical service Q&A data corresponding to the customer service request. The customer preference information here refers to the Q&A preferences of the customer who made the customer service request, which includes the modality preference of the input request and the preference of the answer display mode, etc. The historical service Q&A data includes the historical service request data input by the customer, and the historical service answer data of the historical service request data, including the input habits of the historical service request data input by the customer, for example, the historical service request data input by the customer in the text mode is accustomed to using inverted sentences;

[0086] 2. Adjust the display of the reply information output by the service interaction model by using the acquired customer preference information and historical service question and answer data. The display adjustment includes adjusting the display mode of the output reply information to the display mode preferred by the customer.

[0087] 3. After the display adjustment is completed, the adjusted reply information is output.

[0088] This embodiment makes the reply information more in line with the customer's usage habits and makes the application more personalized by adjusting the display of the reply information.

[0089] Please refer to Figure 5 In one embodiment, the customer service interaction method provided in the embodiment of the present application may further include:

[0090] Step 700, determining the input mode of the request information;

[0091] Step 800, determining an output mode for displaying the adjusted reply information, wherein the output mode corresponds to the input mode;

[0092] Step 900: output the response information based on the display adjustment and the input mode.

[0093] Specifically, after the response information corresponding to the customer service request is displayed and adjusted, the output mode of the response information after the display adjustment can be further adjusted. Specifically, it includes:

[0094] 1. Determine the input mode of the request information input by the customer. For example, the input mode of the request information input by the customer is text information;

[0095] 2. Determine the output mode of the adjusted reply information, where the output mode corresponds to the input mode of the request information. This correspondence can be the same or determined based on the reply information. For example, if the input mode of the request information is text information, the output mode of the reply information can also be text information; or if the input mode of the request information is text information, and the request information example is "How to activate broadband service", the output mode of the reply information can also be picture information, and the picture information contains the detailed process of broadband service activation, which increases the readability of the reply information;

[0096] 3. After the display adjustment is completed, the response information of the output mode (corresponding to the input mode) is output.

[0097] This embodiment makes the reply information more in line with the customer's usage habits and improves the readability of the reply information by adjusting the display and output mode of the reply information.

[0098] In one embodiment, the customer service interaction method provided in the embodiment of the present application may also include:

[0099] Step 1000, receiving feedback information sent based on the reply information;

[0100] Step 1100: Analyze the feedback information and improve the service interaction model according to the analysis result.

[0101] Specifically, the present application also provides a feedback scheme for reply information, that is, after outputting the reply information corresponding to the request information, it is also possible to receive feedback from the customer on the reply information (i.e., feedback information in this embodiment). After collecting the customer's feedback information, the feedback information is analyzed, and the service interaction model is improved based on the analysis results, so as to continuously improve the service interaction model and improve the accuracy of the reply information output by the service interaction model.

[0102] This embodiment analyzes the customer feedback information corresponding to the reply information, improves the service interaction model based on the analysis result, and improves the accuracy of the reply information output by the service interaction model.

[0103] The customer service interaction device provided by the present invention is described below. The customer service interaction device described below and the customer service interaction method described above can be referenced to each other.

[0104] Please refer to Figure 6 The present invention also provides a customer service interaction device, comprising:

[0105] A service domain determination module 601 is used to obtain request information corresponding to a customer service request and determine the service domain to which the request information belongs;

[0106] A language model and knowledge graph fusion module 602 is used to determine a service interaction model generated by fusing a language model and a knowledge graph, wherein both the language model and the knowledge graph are constructed based on a question-answering dataset in the service field;

[0107] The request reply module 603 is used to input the request information into the service interaction model, obtain reply information corresponding to the customer service request, and output the reply information.

[0108] Optionally, the question and answer data set includes a reply data set; and the customer service interaction device further includes:

[0109] A historical service reply data partitioning module, used to obtain historical service reply data, partition the historical service reply data, and obtain a reply data set for each service field, wherein the reply data set includes a plurality of historical reply entities;

[0110] A knowledge graph construction module is used to construct a knowledge graph corresponding to each of the service fields based on the first relationship between the multiple historical reply entities in each of the reply data sets.

[0111] Optionally, the question-and-answer data set further includes a request data set; and the customer service interaction device further includes:

[0112] A historical service request data partitioning module, used to obtain historical service request data, and determine a request data set for each service field based on the historical service request data, wherein the request data set includes a plurality of historical request entities;

[0113] The language model training module is used to train the language model based on the second relationship between the multiple historical request entities and the multiple historical reply entities.

[0114] Optionally, the request reply module includes:

[0115] A request information parsing unit, configured to parse the request information to obtain semantics of the request information and context information of the request information when there are multiple target request entities included in the request information;

[0116] A reply information determination unit is used to determine the reply information corresponding to the customer service request based on the first relationship, the second relationship, the semantics and the context information.

[0117] Optionally, the customer service interaction device further comprises:

[0118] A customer preference information acquisition module, used to acquire the customer preference information and historical service question and answer data corresponding to the customer service request, wherein the historical service question and answer data includes the historical service request data and the historical service reply data;

[0119] A reply information display adjustment module, used for adjusting the display of the reply information based on the customer preference information and the historical service question and answer data;

[0120] The adjusted reply information output module is used to output and display the adjusted reply information.

[0121] Optionally, the customer service interaction device further comprises:

[0122] An input mode determination module, used to determine the input mode of the request information;

[0123] An output mode determination module, used to determine an output mode for displaying the adjusted reply information, wherein the output mode corresponds to the input mode;

[0124] A reply information output module is used to output the reply information based on the display adjustment and the input mode.

[0125] Optionally, the customer service interaction device further comprises:

[0126] A feedback information receiving module, used for receiving feedback information sent based on the reply information;

[0127] The feedback information analysis module is used to analyze the feedback information and improve the service interaction model according to the analysis results.

[0128] Figure 7 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 7 As shown, the electronic device may include: a processor 710, a communications interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communications interface 720 and the memory 730 communicate with each other via the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute the customer service interaction method.

[0129] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, 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, and the computer software product is stored in a storage medium, including a number of 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 method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0130] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the customer service interaction method provided by the above-mentioned methods.

[0131] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0132] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A customer service interaction method, characterized in that: include: Obtaining request information corresponding to the customer service request, and determining the service field to which the request information belongs; Determine a service interaction model generated by fusing a language model and a knowledge graph, wherein both the language model and the knowledge graph are constructed based on a question-and-answer dataset in the service field; The request information is input into the service interaction model, response information corresponding to the customer service request is obtained, and the response information is output.

2. The customer service interaction method according to claim 1, characterized in that: The question-and-answer data set includes a response data set; and the customer service interaction method further includes: Acquire historical service reply data, divide the historical service reply data, and obtain a reply data set for each service field, wherein the reply data set includes a plurality of historical reply entities; Based on the first relationship between the multiple historical reply entities in each reply data set, a knowledge graph corresponding to each service field is constructed.

3. The customer service interaction method according to claim 2, characterized in that: The question-and-answer dataset also includes a request dataset; and the customer service interaction method further includes: Acquire historical service request data, and determine a request data set for each of the service fields based on the historical service request data, wherein the request data set includes a plurality of historical request entities; The language model is trained based on the second relationship between the plurality of the historical request entities and the plurality of the historical reply entities.

4. The customer service interaction method according to claim 3, characterized in that: The step of inputting the request information into the service interaction model to obtain reply information corresponding to the customer service request includes: In the case that the request information contains multiple target request entities, parsing the request information to obtain the semantics of the request information and context information of the request information; Based on the first relationship, the second relationship, the semantics, and the context information, reply information corresponding to the customer service request is determined.

5. The customer service interaction method according to claim 3, characterized in that: After inputting the request information into the service interaction model and obtaining the reply information corresponding to the customer service request, the method further includes: Acquire customer preference information and historical service question and answer data corresponding to the customer service request, wherein the historical service question and answer data includes the historical service request data and the historical service reply data; Based on the customer preference information and the historical service question and answer data, display adjustment is performed on the reply information; The output shows the adjusted reply information.

6. The customer service interaction method according to claim 5, characterized in that: The display adjustment of the reply information based on the customer preference information and the historical service question and answer data comprises: Determining an input mode of the request information; Determining an output mode for displaying the adjusted reply information, the output mode corresponding to the input mode; Based on the display adjustment and the input modality, the reply information is output.

7. The customer service interaction method according to claim 1, characterized in that: After inputting the request information into the service interaction model and obtaining the reply information corresponding to the customer service request, the method further includes: receiving feedback information sent based on the reply information; The feedback information is analyzed, and the service interaction model is improved according to the analysis result.

8. A customer service interactive device, characterized in that: include: A service domain determination module, used to obtain request information corresponding to a customer service request and determine the service domain to which the request information belongs; A language model and knowledge graph fusion module, used to determine a service interaction model generated by the fusion of a language model and a knowledge graph, wherein both the language model and the knowledge graph are constructed based on a question-and-answer dataset in the service field; The request reply module is used to input the request information into the service interaction model, obtain the reply information corresponding to the customer service request, and output the reply information.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the customer service interaction method as described in any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the customer service interaction method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Question and answer method and system based on military domain knowledge graph

    CN116414961A

  • Government affair service field multi-strategy fusion dialogue method based on knowledge graph

    CN116628172A

  • Extensible large language model calling method and device based on graph database knowledge enhancement

    CN117235220A

  • Medical hospital guide method based on knowledge graph

    CN117393120A

  • Intelligent dialogue management system and method based on AI

    CN117591657A

Cited By

  • Customer service reply method and device based on knowledge graph, electronic equipment and medium

    CN119807440A

  • Router with intelligent service function and intelligent service system

    TWI937898B