Customer service working system based on large language model and working method thereof

The large language model and generative artificial intelligence system are used to calculate the vector value of user questions, find and generate accurate reply content, and combine with manual customer service to update knowledge, which solves the shortcomings of intelligent customer service systems in understanding user problems and providing personalized services. Improved service quality and efficiency.

CN118568197APending Publication Date: 2024-08-30MACAU UNIV OF SCI & TECH

Patent Information

Application Number
CN202410648592.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing intelligent customer service systems have deficiencies in accurately understanding user questions, providing in-depth answers, improving user experience, self-learning and personalized services, and lack interactivity and dynamic knowledge update capabilities.

Method used

Adopt a customer service work system based on a large language model, calculate the vector value of user questions through a generative artificial intelligence system, find the closest knowledge from the vector knowledge base, generate easy-to-understand reply content, and combine with manual customer service for dynamic knowledge updates .

Benefits of technology

It improves the response accuracy and user experience of intelligent customer service, provides personalized services, enhances the system's self-learning and knowledge updating capabilities, reduces the workload of manual customer service, and improves overall service quality and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568197A
    Figure CN118568197A
Patent Text Reader

Abstract

The invention provides a customer service working system based on a large language model and a working method thereof, and the system comprises a user operation system which is used for receiving a question input by a user and feeding back target reply content to the user; moreover, the customer service system is used for constructing a dialogue interface and preprocessing dialogue data, the customer service system is further provided with a customer service system database, and a question list and a dialogue list are stored in the customer service system database. The knowledge base system comprises an original knowledge base and a vector knowledge base, original knowledge information is stored in the original knowledge base, and vector values of the original knowledge information are stored in the vector knowledge base; the generative artificial intelligence system is used for performing vector calculation on consultation questions of the user and the original knowledge information and generating corresponding vector values; wherein after the customer service working system receives a question input by a user, the generative artificial intelligence system calculates a question vector value of the question, searches a vector database for one or more pieces of target knowledge closest to the question vector value, and generates target reply content based on the target knowledge. The invention further provides a working method of the system. According to the invention, the accuracy of the fed-back reply content can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of customer service based on artificial intelligence, and in particular to a customer service work system based on a large language model and a working method of the system. Background Art

[0002] With the development of artificial intelligence technology, intelligent customer service technology based on large-scale voice has been widely used in various industry consultation and question-and-answer scenarios. Intelligent customer service technology covers a variety of technical means such as large-scale knowledge processing, natural language understanding, knowledge management, automatic question-and-answer systems, and reasoning technology, so it is widely used in various industries. Intelligent customer service can provide a technical means of natural language communication between enterprises and massive users, and it is highly adaptable. Therefore, more and more companies use intelligent customer service to replace manual customer service to provide users with efficient and high-quality services.

[0003] However, compared with the traditional manual customer service system, the existing intelligent customer service system has the following technical problems: First, the ability to accurately understand user questions is insufficient. Existing intelligent customer service systems mainly rely on pre-defined rules and processes to operate. Therefore, for some complex or unpredefined questions, existing intelligent customer service systems are often unable to accurately understand and answer them.

[0004] Second, the answers are lacking in depth. Most of the answers given by existing intelligent customer service systems rely on existing answers in the database. Therefore, if there is a lack of relevant answers in the database, it is impossible to give a satisfactory answer. In addition, most existing intelligent customer service systems can only provide single or superficial answers, lacking insight and insight.

[0005] Third, the user experience is insufficient. Existing intelligent customer service systems often fail to provide a good user experience because they usually lack interactivity and cannot adjust responses based on user feedback.

[0006] Fourth, lack of self-learning ability: the existing intelligent customer service system is learning and improving from user feedback, and is particularly unable to self-optimize.

[0007] Fifth, lack of personalized services. Existing intelligent customer service systems can generally only provide general services and cannot meet personalized needs.

[0008] To this end, an existing intelligent customer service system, when processing user inquiries, first receives the user's inquiry information, and uses artificial intelligence to perform language analysis and processing on the user's inquiry information; extracts feature information from the processed inquiry information; matches the feature information with the answer information in the knowledge database, and if there is a match, pushes the matched answer information to the user; if there is no match, turns to manual processing, and at the same time, the manually processed answer information is matched with the current feature information and updated to the knowledge database; can accurately identify the user's question intention based on the user's inquiry information, and make accurate answer push, and, when the customer service system cannot automatically answer, turns to manual answer, and can timely update the information in the knowledge database after the manual answer.

[0009] However, the existing method only extracts features based on the questions raised by users, and searches for corresponding answers from the knowledge database based on the features. Since different users have different expressions for the same question, searching for relevant knowledge based on feature extraction will lead to inaccurate answers. In addition, after finding relevant knowledge, the existing method directly outputs the found knowledge as the answer, but this kind of answer is often a relatively rigid reply, which is stiff and difficult for users to read and understand. Summary of the invention

[0010] The first object of the present invention is to provide a customer service system based on a large language model that can accurately obtain answers to user consultation questions.

[0011] The second object of the present invention is to provide a working method of a customer service working system based on a large language model that can provide more accurate responses to user consultation questions.

[0012] To achieve the first purpose of the present invention, the customer service work system based on a large language model provided by the present invention includes a user operating system, which is used to receive questions input by users and feedback target reply content to users; and the customer service work system also includes: a customer service system, which is used to build a dialogue interface and pre-process dialogue data, and the customer service system is also provided with a customer service system database, which stores a question list and a dialogue list; a knowledge base system, including an original knowledge base and a vector knowledge base, the original knowledge base stores original knowledge information, and the vector knowledge base stores vector values ​​of the original knowledge information; a generative artificial intelligence system, which is used to perform vector calculations on the user's consulting questions and original knowledge information and generate corresponding vector values; wherein, after the customer service work system receives the question input by the user, the generative artificial intelligence system calculates the question vector value of the question, and searches the vector database for one or more target knowledge closest to the question vector value, and generates target reply content based on the target knowledge.

[0013] It can be seen from the above scheme that after the customer service system receives the question input by the user, the generative artificial intelligence system first calculates the question vector value of the question, and searches for the target knowledge based on the question vector value. Therefore, the search for the target knowledge is based on the vector value of the target knowledge and the question vector value, rather than based on the characteristics of the question. In this way, for different users with different expressions, the vector value based on the question can more accurately identify the user's question and can more accurately obtain the corresponding target knowledge, so that the intelligent customer service system's response is more accurate and improves the user experience.

[0014] A preferred solution is that the generative artificial intelligence system searches for two or more target knowledge closest to the question vector value from the vector database; the generative artificial intelligence system performs artificial intelligence learning based on the multiple target knowledge, and generates target response content based on the artificial intelligence learning.

[0015] It can be seen from this that the intelligent customer service system does not simply feed back the found target knowledge directly to the user, but rather processes the multiple target knowledge found through artificial intelligence learning, and generates target reply content from it, making the target reply content more understandable and conducive to users' understanding of the reply.

[0016] A further solution is that the generative artificial intelligence system searches for target knowledge from the vector database that is closest to a preset quantity of the problem vector value.

[0017] It can be seen that the generative artificial intelligence system can acquire a certain amount of target knowledge and perform artificial intelligence learning processing, can integrate multiple target knowledge and generate the final target reply content, can improve the readability of the target reply content, and make the target reply content more humane and easy to understand.

[0018] An optional solution is that the generative artificial intelligence system searches the vector database for multiple target knowledge whose similarity with the problem vector value meets a preset threshold.

[0019] It can be seen that by setting a preset threshold, multiple target knowledge whose similarity with the question vector value meets the preset threshold requirement is searched from the vector database and artificial intelligence learning is performed to generate target reply content, so that the generated target reply content is easier to understand.

[0020] A further solution is that the knowledge base system includes a knowledge base backend module, the knowledge base backend module is provided with a knowledge update module, and the knowledge update module is used to update the original knowledge information recorded in the original knowledge base.

[0021] It can be seen from this that the original knowledge information is not immutable, but is dynamically updated according to actual usage, such as knowledge updates actively initiated by manual customer service, thereby ensuring that the original knowledge base stores enough original knowledge information to meet the consulting needs of different users.

[0022] To achieve the above-mentioned second purpose, the working method of the customer service work system based on the large language model provided by the present invention includes: receiving questions input by users; according to the questions input by users, the generative artificial intelligence system calculates the question vector value of the question, and searches for one or more target knowledge whose vector value is closest to the question vector value from the vector database, and generates target reply content based on the target knowledge; and feeds back the target reply content to the user; wherein, the customer service work system based on the large language model is provided with a customer service system, the customer service system is provided with a customer service system database, and the customer service system database stores a question list and a dialogue list; and, the customer service work system based on the large language model is also provided with a knowledge base system, and the knowledge base system includes an original knowledge base and a vector knowledge base, the original knowledge base stores original knowledge information, and the vector knowledge base stores the vector value of the original knowledge information.

[0023] As can be seen from the above scheme, the present invention calculates the question vector value based on the question input by the user, and for each original knowledge information recorded in the original database, the corresponding vector is also calculated accordingly to form a vector knowledge base. When receiving the question input by the user, the target knowledge whose vector value is closest to the question vector value in the vector knowledge base is searched, and the target reply content is generated. In this way, the target reply content is not obtained based on the feature association search between the question and the knowledge, but is obtained based on the vector value search of the question vector value and the vector value search of the original knowledge information. Even if different users have different expressions of the same question, the most appropriate target knowledge can be more accurately identified by calculating the vector value, thereby improving the accuracy of the target reply content.

[0024] A preferred solution is that when the generative artificial intelligence system searches for target knowledge closest to the question vector value from the vector database, the number of target knowledge obtained is two or more; the generative artificial intelligence system performs artificial intelligence learning based on multiple target knowledge, and generates target response content based on the artificial intelligence learning.

[0025] It can be seen from the above scheme that the intelligent customer service work system does not simply feed back the found target knowledge directly to the user, but rather performs artificial intelligence learning processing on the multiple target knowledge found, and generates target reply content thereby, making the target reply content more understandable and conducive to the user's understanding of the reply.

[0026] A further solution is to determine whether the target knowledge that meets the preset requirements can be found from the knowledge base system after receiving the question input by the user. If the target knowledge cannot be obtained, it will be forwarded to the customer service staff, who will output the target answer content.

[0027] It can be seen that if the appropriate target knowledge does not exist in the knowledge base system, the customer service staff will answer it, which can avoid questions that cannot be answered by the intelligent customer service and can input accurate answers to the user.

[0028] A further solution is that after the customer service staff outputs the target reply content, if it is determined that the original knowledge information recorded in the original knowledge base needs to be updated, an update instruction is issued, and the original knowledge base updates the target reply content output by the customer service staff to the original knowledge base.

[0029] In this way, customer service personnel can actively update the knowledge of the knowledge base system according to actual conditions, thereby improving and expanding the knowledge of the knowledge base system, so that the intelligent customer service work system can automatically find the corresponding target knowledge from the improved knowledge base system and reply to users.

[0030] A further solution is that after the original knowledge information of the original knowledge base is updated, the generative artificial intelligence system calculates the vector value of the updated original knowledge information and stores the vector value in the vector knowledge base.

[0031] It can be seen that each time the original knowledge information is updated, the vector of the original knowledge information is also calculated accordingly. In this way, when searching for target knowledge subsequently, the generative artificial intelligence system can quickly find the appropriate target knowledge based on the target knowledge vector. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is a structural block diagram of an embodiment of a customer service work system based on a large language model of the present invention.

[0033] Figure 2 It is a structural block diagram of the knowledge base system in the embodiment of the customer service work system based on the large language model of the present invention.

[0034] Figure 3 It is a structural block diagram of a customer service system in an embodiment of a customer service work system based on a large language model of the present invention.

[0035] Figure 4 It is a system interface diagram of an embodiment of a customer service work system based on a large language model of the present invention.

[0036] Figure 5 It is a flow chart of an embodiment of the working method of the customer service working system based on a large language model of the present invention.

[0037] The present invention is further described below in conjunction with the accompanying drawings and embodiments. DETAILED DESCRIPTION

[0038] The customer service work system based on the large language model of the present invention is used to receive questions input by users, find out appropriate target knowledge from the knowledge base system, and generate target reply content based on the target knowledge. The intelligent customer service work system can replace manual customer service to provide users with various problem consulting services. In addition, the intelligent customer service work system is based on the vector value of the user input question and the vector value of the original knowledge information in the knowledge base as an association to find appropriate target knowledge. Compared with the traditional method of using feature extraction to obtain replies, the intelligent customer service work system can understand the user's questions more accurately, and the generated target reply content is more easy to understand, which is conducive to user understanding.

[0039] Example of a customer service system based on a large language model: See also Figure 1 The customer service system based on the large language model of this embodiment includes a user operating system 10, a knowledge base system 20, a customer service system 30 and a generative artificial intelligence system 40, wherein the user operating system 10 includes a customer service work terminal 11 and a customer service consultation terminal 12, the knowledge base system 20 includes a knowledge base front-end module 21, a knowledge base back-end module 22, an original knowledge base 23 and a vector knowledge base 24, the customer service system 30 is provided with a customer service system front-end module 31, a customer service system back-end module 32 and a customer service system database 33, and the generative artificial intelligence system 40 is provided with a large speech model 41.

[0040] Specifically, the user operating system 10 interacts with the user using a visual interactive method, wherein the customer service work terminal 11 relies on visual operations to assist customer service personnel in maintaining the knowledge base 20, while the customer service consulting terminal 12 facilitates users to ask questions and other operations with the help of a visual interactive method.

[0041] The knowledge base system 20 includes a knowledge base front-end module 21, a knowledge base back-end module 22, an original knowledge base 23 and a vector knowledge base 24, wherein the knowledge base front-end module 21 is used to create a knowledge base management page, and perform operations such as updating, preprocessing, packaging and transmitting the data of the knowledge base system 20, mainly processing the data in the original knowledge base 23 and the vector knowledge base 24. The knowledge base back-end module 22 is used to generate or match the knowledge vector of the original knowledge information of the original knowledge base 23, and process the data update request of the knowledge base system 20. The original knowledge base 23 stores questions that may be asked by users and the corresponding answers. Preferably, the content recorded in the original knowledge base 23 is pre-entered into the original knowledge base 23, and can be updated by customer service personnel, such as deleting outdated or inaccurate knowledge, entering new knowledge, etc. The vector knowledge base 24 stores the vector values ​​of the original knowledge information. For example, for each piece of original knowledge information recorded in the original knowledge base 23, a corresponding vector value is generated, and the vector value is recorded in the vector knowledge base 24.

[0042] The customer service system 30 includes a customer service system front-end module 31, a customer service system back-end module 32 and a customer service system database 33. The customer service system front-end module 31 is used to build a human-computer dialogue interaction interface and realize the preprocessing, packaging and transmission of dialogue data. The customer service system back-end module 32 is mainly used to understand and respond to user questions. The customer service system database 33 is used to store and record user consultation questions and dialogue content.

[0043] The generative artificial intelligence system 40 has a large language model 41. The generative artificial intelligence system 40 is used for vector processing of questions input by users, such as calculating the vector value of questions input by users, performing vector calculations on target knowledge, and generating target response content according to prompts.

[0044] Since the present embodiment adopts a generative artificial intelligence system 40, unlike a traditional customer service system that relies on predefined rules and processes, the generative artificial intelligence system 40 uses a large language model 41 to perform artificial intelligence understanding based on the questions input by the user, and thereby generate corresponding target reply content. Therefore, the understanding of the questions input by the user can be more accurate and the depth of the answer is improved.

[0045] In addition, the knowledge in the original knowledge base 23 can be dynamically updated, and the instructions stored in the knowledge base system 20 can be dynamically updated according to the answers of the manual customer service, so as to improve the accuracy of the intelligent customer service system's answers to subsequent similar questions. In addition, this embodiment can realize human-machine integrated service, that is, realize the mode of collaborative work between manual customer service and robots, which can not only provide high efficiency of machines, but also draw on the rich experience of humans.

[0046] See also Figure 2The knowledge base front-end module 21 of the knowledge base system 20 of this embodiment includes a visualization module 211, a knowledge retrieval request module 212, and a knowledge update request module 213, and the knowledge base back-end module 22 includes a knowledge vectorization module 221, a knowledge update processing module 222, a knowledge vector matching module 223, and a knowledge retrieval processing module 224. In the knowledge base front-end module 21, the visualization module 211 displays and maintains the interface of the knowledge base system 20 for the customer service work terminal 11. At the same time, the visualization module 211 receives the retrieval results from the knowledge retrieval request module 212 and displays the retrieval results. The knowledge retrieval request module 212 is mainly used to receive, encapsulate and forward retrieval request information. The knowledge update request module 213 is used to process the change request of the original knowledge base 23 content. These requests can be the addition, deletion or modification of the content recorded in the original knowledge base 23, and the updated results will be synchronized to the visualization module 211 in real time for display by the customer service work terminal 11, so that the customer service staff can view the update status of the original knowledge base 23.

[0047] In the knowledge base backend module 22, the knowledge vectorization module 221 uses the functions provided by the generative artificial intelligence system 40 to vectorize and store the original knowledge information in the original knowledge base 23 and the user's questions, for example, the information obtained by vectorization of the original knowledge information is stored in the vector database 24. The knowledge vector matching module 223 finds the original knowledge identifier related to the user's question according to the vector value of each original knowledge information, for example, searches according to the matching degree between the vector value of the original knowledge information and the question vector value of the user input question, retrieves the relevant questions and answers in the original knowledge base 23, and then sends these contents to the customer service system backend module 32 using a push mechanism. The knowledge update processing module 222 and the knowledge retrieval processing module 224 process the update and retrieval requests of the original knowledge base 23 respectively. Among them, the knowledge update processing module 222 is used to perform the update operation on the content recorded in the original knowledge base 23, and the knowledge retrieval processing module 224 is used to find the relevant content in the original knowledge base 23 according to the search instruction.

[0048] Combination Figure 2 It can be seen that the original knowledge base 23 records multiple original knowledge information. For example, an original knowledge information includes an identifier, a question, similar questions and an answer. Correspondingly, the vector knowledge base 24 stores the vector value of the original knowledge information. The original knowledge base 23 and the vector knowledge base 24 use the identifier of an original knowledge information to mark the original knowledge information, thereby facilitating the search for the vector value of each original knowledge information.

[0049] See also Figure 3The customer service system front-end module 31 of the customer service system 30 interacts with the customer service work terminal 11. The customer service system front-end module 31 is provided with a customer service staff reply module 311, a consultation request module 312, a transfer request module 313 and a dialogue module 314. Among them, the customer service staff reply module 311 collects, records and forwards the reply information of the manual customer service, the consultation request module 312 is used to collect and forward the user's consultation request, the transfer request module 313 is used to collect and forward the transfer request of the manual customer service, and the dialogue module 314 is used to construct and display the dialogue record between the user and the machine customer service or the manual customer service.

[0050] Furthermore, the customer service system backend module 32 includes a consultation request detection module 321, a solution generation module 322, a conversation record module 323, a consultation query module 324, a question classification module 325, and an order transfer processing module 326. Among them, the consultation request detection module 321 is mainly used to detect the existence of the user's consultation request, that is, to detect whether the user has initiated a consultation request, the consultation query module 324 searches for relevant knowledge from the knowledge base system 20 based on the content of the user's consultation; the answer generation module 322 is used to call the large language model 41 to convert the relevant knowledge into answers; the conversation record module 323 is mainly used to query, add and delete conversation records; and the question classification module 325 is used to mark the category of the consultation question; the order transfer processing module 326 forwards the consultation request to the relevant manual customer service.

[0051] In addition, the customer service system database 33 stores a question list and a conversation list, which are mainly used to record and store relevant consulting questions and conversations between users and machine customer service or manual customer service. Figure 3 As shown, the question list records the ID of each question, the content of the question, the consultant, and the status of the question, which can be unanswered, answered, etc. The conversation list records the ID of each question, the content of the conversation, and the speaker in each time period, so as to facilitate subsequent query of the conversation record.

[0052] The intelligent customer service system of this embodiment is provided with a large number of interfaces, which realize data transmission between various modules. Figure 4 An interface 71 is set between the customer service consulting terminal 12 and the customer service system front-end module 31. The interface 71 is used to establish a connection between the customer service consulting terminal 12 and the customer service system front-end module 31. It is mainly used to transmit the code of the dialogue page to the customer service consulting terminal 12, submit the user's consultation request, and feedback the corresponding answer content.

[0053] An interface 72 is provided between the customer service system front-end module 31 and the customer service work terminal 11, and the interface 72 is used to establish a connection between the customer service system front-end module 31 and the customer service work terminal 11, and transmit the code of the dialogue panel to the customer service work terminal 11 and submit a request to answer the consultation.

[0054] An interface 73 is set between the customer service system front-end module 31 and the customer service system back-end module 32. The interface 73 is used to realize the connection between the customer service system front-end module 31 and the customer service system back-end module 32, and to process user consultation or customer service reply requests from the customer service system front-end module 31, and return the processing results.

[0055] An interface 74 is provided between the customer service system backend module 32 and the knowledge base backend module 22. The interface 74 is used to realize the connection between the customer service system backend module 32 and the knowledge base backend module 22, and to query the relevant knowledge content of the user's consulting question.

[0056] An interface 75 is provided between the customer service system backend module 32 and the customer service system database 33. The interface 75 is mainly used to send instructions for adding, deleting or querying related question records and conversation records, and to feed back related processing results.

[0057] An interface 76 is provided between the customer service system backend module 32 and the large speech model 41. The interface 76 is used to enable the customer service system backend module 32 to call the large language model 41 so as to summarize the given content and answer the user's consulting questions.

[0058] An interface 77 is provided between the customer service work terminal 11 and the knowledge base front-end module 21. The interface 77 is mainly used to output the code of the knowledge base maintenance page to the customer service work terminal 11, submit the customer service staff's request to add or update knowledge, and feedback the processing results.

[0059] An interface 78 is provided between the knowledge base front-end module 21 and the knowledge base back-end module 22 for processing maintenance requests of the knowledge base and feeding back relevant processing results.

[0060] An interface 79 is provided between the knowledge base backend module 22 and the vector knowledge base 24, for the knowledge base backend module 22 to query the vector value of each original knowledge information. An interface 81 is provided between the knowledge base backend module 22 and the original knowledge base 23, for the knowledge base backend module 22 to query each original knowledge information. An interface 80 is provided between the knowledge base backend module 22 and the large language model 41, for the knowledge base backend module 22 to call the large language model 41 to calculate the vector value of a given content.

[0061] Working method embodiment of customer service system based on large language model: Combine the following Figure 5The working method of the customer service system based on the large language model is introduced. First, execute step S11 to initialize the knowledge base system, for example, store the sorted questions and reference answers in the original knowledge base in advance, and calculate the vector value of each original knowledge information and store it in the vector knowledge base.

[0062] Then, step S12 is executed, the intelligent customer service system listens to the service port to detect whether a new consultation request from the user is received, and step S13 is executed to determine whether a new dialogue request appears. If there is no new dialogue request, step S12 is continued to be executed. If a new dialogue request is detected, step S14 is executed to analyze the question input by the user to determine whether the corresponding knowledge is retrieved to answer the user's question. Specifically, the generative artificial intelligence system performs vector calculation on the question input by the user to obtain the question vector value of the question, and then searches the vector knowledge base for the target knowledge that meets the requirements according to the question vector value. For example, a vector threshold that meets the requirements is pre-set. If the difference between the vector value of a certain original knowledge information and the question vector value is less than the set vector threshold, it is considered that the original knowledge information meets the requirements, and the original knowledge information is set as the target knowledge.

[0063] If the target knowledge that meets the requirements can be found from the vector knowledge base, step S15 is executed to send the acquired target knowledge to the generative artificial intelligence system, and the generative artificial intelligence system generates the target reply content according to the acquired target knowledge. Preferably, the acquired target knowledge can be one or more than two. For example, the number of acquired target knowledge is preset, such as 20. The 20 original knowledge information whose vector value is closest to the question vector value is acquired from the vector knowledge base as the target knowledge, and the generative artificial intelligence system performs calculations based on these 20 target knowledge to obtain the target reply content.

[0064] Alternatively, a similarity threshold is set in advance, and the generative artificial intelligence system searches for multiple pieces of target knowledge from the vector database whose similarity to the question vector value meets the preset threshold, and uses the obtained multiple pieces of target knowledge to generate target reply content. In this way, the generated target reply content is not the reply corresponding to a certain question, but the content obtained through artificial intelligence learning and calculation, so that the target reply content can be more understandable and not very stiff, which is conducive to users' understanding of the feedback content.

[0065] After the target reply content is fed back, step S16 needs to be executed, and the customer service work end 11 determines whether the content fed back by the knowledge base system 20 is received. If not, it continues to wait for the feedback content. If a reply has been received, step S17 is further executed to determine whether the user is satisfied with the content of the reply. If the user is satisfied, the question entered by the user and the current target reply content are sent to the customer service staff, that is, step S19 is executed. If the user is not satisfied, step S18 is also executed to determine whether the user needs to continue consulting. If the user continues to consult, it returns to step S14 to determine whether the corresponding answer can be found for the question that the user continues to consult. If the user does not continue to consult, it returns to step S12 and continues to listen for new inquiries.

[0066] In step S14, if no suitable target knowledge is found in the vector knowledge base, step S19 needs to be executed to forward the user's question to the customer service staff, who will answer it. In addition, step S20 needs to be executed, and the current customer service staff needs to determine whether they can answer the user's question. If they can, step S22 is executed, and the customer service staff writes the answer and sends it to the user. If the current customer service staff believes that the answered question needs to be added to the knowledge base or that the target answer content generated by the generative artificial intelligence system needs to be adjusted, the knowledge base system can be updated. Specifically, after the customer service staff outputs the target answer content, if it is determined that the original knowledge information recorded in the original knowledge base needs to be updated, an instruction to update is issued, and the original knowledge base updates the target answer content output by the customer service staff to the original knowledge base, such as entering the user's question and the corresponding answer. Then, the generative artificial intelligence system calculates the corresponding vector value based on the updated original knowledge information, and updates the corresponding vector value to the vector knowledge base.

[0067] If the current customer service staff cannot answer the user's question, step S14 is executed to forward the question to other customer service staff for processing. Preferably, the current customer service staff in step S19 and the other customer service staff in step S21 may not be the same customer service staff, but a customer service team, that is, in step S19, if a customer service team cannot solve a user's question, the question will be forwarded to another customer service team for answer.

[0068] After executing step S22, step S23 needs to be executed to determine whether the user continues to consult. If so, step S20 is returned to determine whether the question the user continues to consult can be answered. If the user does not consult any more, step S24 is executed to end the conversation. Of course, if the user does not ask any new questions within a preset time, the conversation will also end.

[0069] The present invention uses a generative artificial intelligence system to generate target reply content, which can effectively handle a large number of repetitive and patterned questions, reduce the workload of manual customer service, and improve the overall customer service efficiency. In addition, the present invention uses a generative artificial intelligence system and manual customer service to work together, which can more accurately understand and respond to user questions, provide more accurate and vivid answers, and greatly improve service quality.

[0070] In addition, since the knowledge base system can be dynamically updated according to the answers of the manual customer service, the knowledge base is always kept up to date, thereby optimizing the maintenance of the knowledge base. In addition, the present invention adopts a micro-application system with front-end and back-end separation, which can easily realize the functions of adding, deleting and modifying knowledge, making the entire customer service work system more flexible and maintainable.

[0071] Finally, due to the use of a generative artificial intelligence system and the collaborative working mode of manual customer service, while improving service efficiency and quality, it also reduces manual service costs, which is very beneficial to improving economic benefits. In addition, since the present invention obtains matching target knowledge by calculating the vector value of the question and the vector value of the original knowledge information, rather than simply obtaining the corresponding reply content by feature extraction, the solution of the present invention can obtain the corresponding reply more accurately and improve the accuracy of the reply.

[0072] Finally, it should be emphasized that the above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various changes and modifications. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A customer service system based on a large language model, comprising: A user operating system, used to receive questions input by users and provide target answer content to users; Characterized in that the customer service work system also includes: A customer service system, which is used to construct a dialogue interface and pre-process dialogue data, and the customer service system is also provided with a customer service system database, which stores a question list and a dialogue list; A knowledge base system, comprising an original knowledge base and a vector knowledge base, wherein the original knowledge base stores original knowledge information, and the vector knowledge base stores vector values ​​of the original knowledge information; A generative artificial intelligence system, used to perform vector calculation on the user's consulting questions and the original knowledge information and generate corresponding vector values; Among them, after the customer service work system receives the question input by the user, the generative artificial intelligence system calculates the question vector value of the question, and searches for one or more target knowledge closest to the question vector value from the vector database, and generates the target reply content based on the target knowledge.

2. The customer service system based on a large language model according to claim 1, characterized in that: The generative artificial intelligence system searches the vector database for more than two pieces of target knowledge closest to the problem vector value; The generative artificial intelligence system performs artificial intelligence learning according to the plurality of target knowledge, and generates the target reply content based on the artificial intelligence learning.

3. The customer service system based on a large language model according to claim 2, characterized in that: The generative artificial intelligence system searches the vector database for the target knowledge whose value is closest to a preset number of the problem vector values.

4. The customer service system based on a large language model according to claim 2, characterized in that: The generative artificial intelligence system searches the vector database for a plurality of target knowledge whose similarity with the problem vector value meets a preset threshold.

5. The customer service system based on a large language model according to any one of claims 1 to 4, characterized in that: The knowledge base system comprises a knowledge base backend module, the knowledge base backend module is provided with a knowledge update module, and the knowledge update module is used to update the original knowledge information recorded in the original knowledge base.

6. A working method of a customer service system based on a large language model, comprising: Receive user input questions; Features: According to the question input by the user, the generative artificial intelligence system calculates the question vector value of the question, searches for one or more target knowledge whose vector value is closest to the question vector value from the vector database, generates the target answer content based on the target knowledge, and feeds back the target answer content to the user; The customer service system based on the large language model is provided with a customer service system, the customer service system is provided with a customer service system database, and the customer service system database stores a question list and a dialogue list; In addition, the customer service system based on the large language model is also provided with a knowledge base system, which includes an original knowledge base and the vector knowledge base, the original knowledge base stores original knowledge information, and the vector knowledge base stores vector values ​​of the original knowledge information.

7. The working method of the customer service working system based on the large language model according to claim 6 is characterized by: When the generative artificial intelligence system searches the vector database for target knowledge closest to the problem vector value, the number of target knowledge obtained is more than two; The generative artificial intelligence system performs artificial intelligence learning according to the plurality of target knowledge, and generates the target reply content based on the artificial intelligence learning.

8. The working method of the customer service working system based on the large language model according to claim 6 or 7, characterized in that: After receiving the question input by the user, it is determined whether the target knowledge that meets the preset requirements can be found from the knowledge base system. If the target knowledge cannot be obtained, it is forwarded to the customer service staff, who output the target answer content.

9. The working method of the customer service working system based on the large language model according to claim 8, characterized in that: After the customer service staff outputs the target reply content, if it is determined that the original knowledge information recorded in the original knowledge base needs to be updated, an update instruction is issued, and the original knowledge base updates the target reply content output by the customer service staff to the original knowledge base.

10. The working method of the customer service working system based on the large language model according to claim 9 is characterized in that: After updating the original knowledge information of the original knowledge base, the generative artificial intelligence system calculates the vector value of the updated original knowledge information and stores the vector value in the vector knowledge base.

Citation Information

Patent Citations

  • Knowledge base construction method and question and answer dialogue method and system based on generative large language model

    CN117056471A

  • Question and answer method, system and equipment based on large language model and storage medium

    CN117349414A

  • Vulnerability knowledge base construction method and interaction method based on large language model

    CN117575012A

Cited By

  • Voice question answering method and device based on corpus, electronic equipment and storage medium

    CN118861258A

  • Online education intelligent customer service feedback method and system based on generative artificial intelligence

    CN119228606A