System assistance method, device, equipment and storage medium based on large language model

By introducing a large language model into the business system, it can automatically determine user help needs and provide answers, solving the problems of cumbersome user operations and low efficiency in the existing technology, and achieving more efficient system help and user experience.

CN117093691BActive Publication Date: 2024-10-01BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311055767.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-21
Publication Date
2024-10-01
Estimated Expiration
2043-08-21

AI Technical Summary

Technical Problem

The usage efficiency of the existing business system is low, and it is difficult for users to obtain timely and accurate help during the operation process, resulting in cumbersome operations and low efficiency.

Method used

The system help method based on the large language model is adopted to automatically determine whether there is a need for help through user operation data, generate system help questions, and call the large language model to provide answers. Use the usage help text of the business system to build a training set to fine-tune the model. Improve the convenience and efficiency of help.

Benefits of technology

It improves the usage efficiency and help convenience of the business system. Users can quickly obtain the help they need in the business system, reducing operating costs and error rates, and improving user experience and system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117093691B_ABST
    Figure CN117093691B_ABST
Patent Text Reader

Abstract

The present disclosure provides a system help method, device, equipment and storage medium based on a large language model, which relates to technical fields such as deep learning and natural language processing. The system help method based on a large language model includes: determining whether there is a system help demand based on user operation data in the business system; if there is a system help demand, generating a system help question, and calling the system help large language model to determine the system help answer based on the system help question; wherein the system help large language model pre-uses the business system usage help text to construct a first training set, and uses the first training set to fine-tune the large language model. The above technical solution can improve the use efficiency of the business system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence technology, specifically deep learning, natural language processing, and other technical fields, and specifically to a system assistance method, apparatus, device, and storage medium based on a large language model. Background Art

[0002] With the rapid development of computer technology, business systems have been widely used in various fields of work and life. Computer technology can be used to build business systems for business scenarios, for example, to build container application platforms for enterprises.

[0003] In current business system designs, business systems are configured with corresponding user documentation or technical documentation. Users can actively access the help documentation page or click on certain entry points within the business system to trigger the corresponding help documentation. However, using business systems remains cumbersome and inefficient. Summary of the Invention

[0004] The present disclosure provides a system assistance method, apparatus, device and storage medium based on a large language model.

[0005] According to one aspect of the present disclosure, a system assistance method based on a large language model is provided, comprising:

[0006] Determine whether there is a need for system help based on user operation data in the business system;

[0007] When there is a need for system help, a system help question is generated, and the system help language model is called to determine a system help answer based on the system help question;

[0008] The system helps the large language model to construct a first training set in advance using the usage help text of the business system, and uses the first training set to fine-tune the large language model. According to one aspect of the present disclosure, a system help device based on a large language model is provided, comprising:

[0009] The help demand determination module is used to determine whether there is a need for system help based on user operation data in the business system;

[0010] A system help module is used to generate a system help question when there is a need for system help, and to call the system help language model to determine a system help answer based on the system help question;

[0011] The system helps the large language model to construct a first training set in advance using the usage help text of the business system, and uses the first training set to fine-tune the large language model. According to another aspect of the present disclosure, an electronic device is provided, which includes:

[0012] at least one processor; and

[0013] a memory communicatively connected to the at least one processor; wherein,

[0014] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the method provided by any embodiment of the present disclosure.

[0015] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the method provided by any embodiment of the present disclosure.

[0016] According to another aspect of the present disclosure, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the computer program implements the method provided according to any embodiment of the present disclosure.

[0017] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings are provided to facilitate a better understanding of the present invention and do not constitute a limitation of the present disclosure.

[0019] Figure 1 is a flowchart of a system assistance method based on a large language model provided according to an embodiment of the present disclosure;

[0020] Figure 2a is a flowchart of another system assistance method based on a large language model provided according to an embodiment of the present disclosure;

[0021] Figure 2b is a schematic diagram of a system assistance principle provided according to an embodiment of the present disclosure;

[0022] Figure 2c is a schematic diagram of a system help interface provided according to an embodiment of the present disclosure;

[0023] Figure 2d is a schematic diagram of another principle of system assistance provided according to an embodiment of the present disclosure;

[0024] Figure 2e is a schematic diagram of another principle of system assistance provided according to an embodiment of the present disclosure;

[0025] Figure 3a is a flowchart of another system assistance method based on a large language model provided according to an embodiment of the present disclosure;

[0026] Figure 3b is a schematic diagram of another principle of system assistance provided according to an embodiment of the present disclosure;

[0027] Figure 3c is a schematic diagram of a system assistance process provided according to an embodiment of the present disclosure;

[0028] Figure 4 is a structural diagram of a system assistance device based on a large language model provided according to an embodiment of the present disclosure;

[0029] Figure 5 It is a block diagram of an electronic device for implementing the system assistance method based on a large language model according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0030] Figure 1 This is a flow chart of a system help method based on a large language model according to an embodiment of the present disclosure. The method is applicable to the case where a large language model is used to provide usage help for a business system. The method can be executed by a system help device based on a large language model, which can be implemented in software and / or hardware and can be integrated into an electronic device. Figure 1 As shown, the system assistance method based on the large language model of this embodiment may include:

[0031] S101, determining whether there is a need for system assistance based on user operation data in the business system;

[0032] S102: if there is a need for system help, generate a system help question, and call the system help language model to determine a system help answer based on the system help question;

[0033] The system helps the large language model to construct a first training set in advance using the help text of the business system, and uses the first training set to fine-tune the large language model.

[0034] In the embodiments of the present disclosure, a large language model pre-trained based on artificial intelligence technology can be obtained, and the usage documents or technical documents of the business system are used as corpus to fine-tune the large language model to obtain a large language model for business system assistance. The large language model is a knowledge-enhanced large language model that can be obtained by integrating learning from massive data and large-scale knowledge. It has the technical features of knowledge enhancement, retrieval enhancement, and dialogue enhancement, and can be constructed based on a deep learning platform and knowledge enhancement technology. The sample data volume and model parameters of the large language model can be at a massive level, and it has good text generation capabilities. The embodiments of the present disclosure do not specifically limit the selection of the large language model.

[0035] During the model training process, the business system usage help text can be divided into the following types: interface class, used to describe the transformation of the interface in the business system; form logic class, used to describe the regular restrictions of form input in the business system; business system usage help class, such as creation method, deletion method, and editing method; business system capability extension class, used to describe whether the business system supports certain capabilities.

[0036] Furthermore, the first training set can be constructed using relevant corpora: For the interfaces in the business system's backend services, each abnormal return value is identified by a unique error code, along with the cause and troubleshooting solution, serving as interface-related training corpus. Form logic classes correspond to the graphical operations of data objects in the business system, providing detailed introductions to the data objects, including semantic descriptions and format restrictions for each attribute, serving as form-related training corpus. For help classes, the introduction and operating instructions for each page function module in the business system are primarily used as training corpus. For capability expansion classes, the business system's duty records and user feedback can be cleaned and annotated to create a usable dataset. In addition to the training dataset, a test dataset is also required.

[0037] The process of determining the system-help large language model can be as follows: clean the data (filter low-quality data), deduplicate (remove similar data), and divide the data into data sets of specified lengths according to the requirements of the large language model. Based on the model weights, distributed pre-training technology is used to load the data, and distributed fine-tuning training is performed to generate fine-tuning training weights. After the fine-tuning training is completed, the model effect is verified based on the test data set to verify that the model has learned the basic knowledge. By using the help text of the business system to construct the first training set, and using the first training set to fine-tune the large language model to obtain the system-help large language model, it is convenient to provide system help in the subsequent use of the business system, thereby improving the efficiency of the use of the business system; moreover, by fine-tuning the original large language model to obtain the system-help large language model, the generation efficiency of the system-help large language model can also be improved.

[0038] During the use of the business system, user operation data in the business system is obtained and system response information is generated in response to the user operation data. Based on the user operation data or system response information, it can automatically determine whether the user needs system help. If so, a system help question is generated and the business system's system help big language model is called to answer the system help question and obtain a system help answer. If there is no system help need, there is no need to call the system help big language model.

[0039] By automatically determining whether there is a need for system help, and if there is a need for system help, generating system help questions, and calling the business system's system help large language model to answer, the convenience and efficiency of help in the business system can be improved. In related technologies, help documents are independent of the business system, and users need to jump out of the business system to view the help documents, requiring users to actively trigger the search. Moreover, when there are anomalies in the business system, such as errors or front-end prompts, users are often unable to solve the problem by themselves due to lack of experience. Therefore, the embodiment of the present disclosure solves the user's help problem through the system help large language model, improves the accuracy of users' use of the business system platform, and improves work efficiency.

[0040] The technical solution provided by the embodiments of the present disclosure uses the usage help of the business system as corpus to construct a system help large language model. It automatically determines whether there is a system help demand during the use of the business system, and generates system help questions when there is a system help demand. The system help large language model of the business system is called to answer them. This can improve the convenience and efficiency of the help of the business system, thereby improving the processing efficiency of the business system.

[0041] In an optional embodiment, the system-assisted large language model is updated in the following manner: a second training set is constructed using historical customer service conversations during historical use of the business system; and the second training set is used to update the system-assisted large language model.

[0042] In the disclosed embodiment, the business system also provides manual customer service to answer users' questions about the use of the system. The historical customer service conversations include question statements initiated by users and answer statements replied by manual customer service. Specifically, the historical customer service conversations can be obtained from the duty records of the business system, and the historical customer service conversations are used to construct a second training set. The instruction fine-tuning method is used to perform instruction fine-tuning training on the system's help language model based on the pre-training weights to generate instruction fine-tuning weights, and the conversation test set is used to verify the model effect to verify that the model has learned the conversation mode of manual customer service. By using historical customer service conversations to further fine-tune the system's help language model, the model learns the conversation mode of manual customer service, which can further improve the model's help efficiency.

[0043] Figure 2a This is a flowchart of another system assistance method based on a large language model according to an embodiment of the present disclosure. Figure 2a The system assistance method based on the large language model of this embodiment may include:

[0044] S201, determining whether there is a need for system help based on user operation data in the business system;

[0045] S202, when there is a need for system help, calling the intelligent assistant pre-installed in the business system to generate system help questions;

[0046] S203, sending the system help question to the system help language model through the intelligent assistant, so that the system help language model determines a system help answer based on the system help question;

[0047] The system helps the large language model to construct a first training set in advance using the help text of the business system, and uses the first training set to fine-tune the large language model;

[0048] S204: Obtain the system help answer through the intelligent assistant.

[0049] refer to Figure 2b An intelligent assistant can be embedded in the front-end page of a business system, and the system help language model can be called through the intelligent assistant. Specifically, when a system help request is received, the front-end page of the business system calls the intelligent assistant to generate a system help question and sends the system help question to the system help language model. The intelligent assistant then packages the system help question into a prompt. A prompt is a natural language input string, similar to a command or instruction.

[0050] The intelligent assistant sends the generated prompt to the system help language model. The system help language model executes the instruction to obtain the system help answer, and then feeds the system help answer back to the intelligent assistant. The intelligent assistant obtains the system help answer and can display it on the front-end page. By embedding the intelligent assistant in the front-end page of the business system as a calling tool for calling the system help language model, the convenience of intelligent help in the business system can be further improved. Figure 2c In the front page of the business system, system help questions and system help answers can be displayed through the system help session window 21 for users to use.

[0051] In an optional embodiment, the determining whether there is a need for system help based on user operation data in the business system includes: determining whether the system operation is abnormal based on user operation data in the business system, and in the case of abnormal system operation, determining whether there is a need for system help; calling the intelligent assistant pre-installed in the business system to generate system help questions includes: sending system exception information to the intelligent assistant pre-installed in the business system, so that the intelligent assistant generates the system help questions based on the system exception information.

[0052] In the embodiment of the present disclosure, user operation data in the business system is obtained, and system response information is obtained in response to the user operation data. It can be automatically determined whether the system operation is abnormal based on the user operation data or the system response information, such as whether there is an interface call error, whether there is a form verification abnormality, etc. In the case of abnormal system operation, it is determined that there is a need for system help, system abnormality information is obtained, and the system abnormality information is sent to the intelligent assistant.

[0053] Based on system exception information, the intelligent assistant generates system help questions, packages them into prompts, and sends them to the system help large language model. The system help large language model determines the help answer and then provides feedback through the help assistant. For example, the intelligent assistant can present the system help question as a user statement and the system help answer as a statement from the system help large language model, in a conversational format within the intelligent assistant's dialog box. By automatically determining whether the system is operating abnormally and sending system exception information to the intelligent assistant in the event of an abnormality, the intelligent assistant generates system help questions based on the system exception information and uses the system help large language model to determine the system help answer. This provides a basis for resolving the system exception and improves the stability of the business system.

[0054] In an optional embodiment, the system exception information is sent to an intelligent assistant pre-installed in the business system, so that the intelligent assistant generates the system help question based on the system exception information, including: when there is an interface call exception in the business system, the interface exception information is sent to the intelligent assistant pre-installed in the business system; the interface exception information includes at least one of the following: interface name, interface type, error code or error description information; the interface exception information is packaged by the intelligent assistant to obtain the system help question.

[0055] refer to Figure 2dIn the case of interface exceptions, axios in the front-end page of the business system generates an interface access request in response to the user's access operation on the interface in the front-end page, sends the interface access request to the back-end service of the business system, and receives the processing result of the interface access request by the back-end service; if the processing result is an interface exception, it is determined that there is an interface call exception in the business system, and the interface exception information is forwarded to the intelligent assistant. The intelligent assistant intercepts the interface exception information, packages it into a prompt, and sends it to the system help language model. The system help language model feedbacks interface help information based on the prompt, that is, feedback on the solution to the interface exception, and returns it to the user as a system help answer. Among them, axios is a JavaScript library for front-end processing network requests.

[0056] Interface exception information may include the name of the abnormal interface, interface type, error code, and error description, such as incorrect interface fields or an existing interface. In the event of an interface call exception, the intelligent assistant automatically calls the system to help the large language model determine a solution to the interface exception, improving the accuracy and efficiency of interface calls and, consequently, the efficiency of business system usage.

[0057] In an optional embodiment, the system exception information is sent to an intelligent assistant pre-installed in the business system, so that the intelligent assistant generates the system help question based on the system exception information, including: when there is a form verification exception in the business system, the form exception information is sent to the intelligent assistant pre-installed in the business system; the form exception information includes at least one of the following: the page to which the abnormal form belongs or the identifier of the abnormal form; the form exception information is packaged by the intelligent assistant to obtain the system help question.

[0058] refer to Figure 2e In the event of form validation exceptions, when a user triggers validation of a data object in a form, such as when a user fills out and submits a form, the front-end page performs form validation and obtains the form validation result. In the event of a form validation exception, such as an incorrect input format for the image address or container name, a form validation exception is determined and a form exception message is sent to the smart assistant. The smart assistant intercepts the form validation exception message, packages it into a prompt, and sends it to the system's help language model. The system's help language model then provides feedback on the correct way to fill out the exception data object based on the prompt, and returns it to the user as a system help answer.

[0059] Form exception information can include the page or form identifier of the abnormal form, allowing for accurate location of the abnormal data object within the abnormal form. It can also include a description of the exception, such as the error reported by the abnormal data object. In the event of a form validation exception, the intelligent assistant automatically calls the system to help the large language model determine the correct way to complete the abnormal data object, improving the accuracy and efficiency of form processing and, consequently, the efficiency of business systems.

[0060] The technical solution provided by the disclosed embodiments introduces an intelligent assistant into the front-end page of a business system. When system help is needed, the intelligent assistant is called to generate system help questions. The intelligent assistant then calls the system help language model to determine the system help answer. By embedding the intelligent assistant into the front-end page of the business system as a tool for calling the system help language model, the convenience of intelligent help in the business system can be further improved. Furthermore, specific help methods are provided for interface call exceptions, form validation exceptions, system help session windows, etc., which can improve the efficiency of business system use.

[0061] In an optional embodiment, determining whether there is a system help need based on user operation data in the business system includes: determining whether there is a system help need in response to a touch operation on a system help control in the business system; calling an intelligent assistant pre-installed in the business system to generate a system help question includes: calling an intelligent assistant pre-installed in the business system to display a system help session window, and obtaining a question statement entered by the user in the system help session window as the system help question.

[0062] In an embodiment of the present disclosure, a system help control may also be provided in the front-end page of the business system to trigger the intelligent help function. Exemplarily, in response to the user's touch operation on the system help control in the business system, it is determined that there is a need for system help, and the intelligent assistant preset in the business system is called to display the system help session window, and obtain the question statement entered by the user in the system help session window as a system help question. The intelligent assistant packages the question statement into a prompt and sends it to the system help big language model. The system help big language model feeds back an answer statement based on the prompt as a system help answer. By providing a system help control in the front-end page of the business system, the user can click on the system help control to trigger the display of the help session window, supporting the user to actively initiate conversation communication. The system help big language model responds based on the help knowledge of the business system, further improving the flexibility of the use of the business system.

[0063] Figure 3a This is a flowchart of another system assistance method based on a large language model provided according to an embodiment of the present disclosure. Figure 3aThe system assistance method based on the large language model of this embodiment may include:

[0064] S301: When the mouse hovers over any operation entry in the business system for a time period longer than a preset time period, determine whether the operation entry has a help attribute;

[0065] S302: If the operation entry has a help attribute, determining whether there is a system help requirement for the operation entry;

[0066] S303, when there is a need for system help, calling the intelligent assistant pre-installed in the business system to generate system help questions;

[0067] S304, sending the system help question to the system help language model through the intelligent assistant, so that the system help language model determines a system help answer based on the system help question;

[0068] The system helps the large language model to construct a first training set in advance using the help text of the business system, and uses the first training set to fine-tune the large language model;

[0069] S305: Obtain the system help answer through the intelligent assistant.

[0070] For complex scenarios such as system usage help and capability expansion, such as complex forms, when the user hovers the mouse over the operation entrance, it actively searches for help knowledge for the corresponding operation and actively prompts the user. Figure 3b For complex operation scenarios, when the front-end page of the business system detects that a trigger condition has been met, such as the mouse hovering over any operation entry for a duration greater than a threshold, it determines whether the operation entry has a help attribute. The help attribute can be obtained by adding a help flag to the table element. If the operation entry has a help attribute, it is determined that there is a system help requirement, and the page to which the operation entry belongs and the identifier of the operation entry are reported to the intelligent assistant.

[0071] refer to Figure 3b The intelligent assistant packages the page to which the operation entry belongs and the identifier of the operation entry into a prompt and sends it to the system help language model. The system help language model then responds to the user with instructions for using the operation entry based on the prompt. For example, if the operation entry is to create, delete, or edit an entry in the business system, the system help answer might include instructions for creating, deleting, or editing. If the operation entry is a function control in the business system, the system help answer might include a description of the function and how to use it.

[0072] By pre-setting help attributes for the operation entries of complex scenarios in the business system, if the mouse hovers over the corresponding operation entry for longer than a threshold, it is determined that the user has a need for help for the operation entry. The system is automatically called to help the large language model determine the help knowledge for the corresponding operation and actively prompt the user, which can further reduce the cost of using the business system and improve its efficiency.

[0073] In an optional embodiment, the calling of the intelligent assistant preset in the business system to generate system help questions includes: when there are at least two candidate items in the operation entry, calling the intelligent assistant preset in the business system to generate a selection query statement for the at least two candidate items as system help questions.

[0074] When there are at least two candidate items in the operation entry, the intelligent assistant can generate a selection query for each candidate as a system help question. For example, if the operation entry can create version V1 or version V2, the system help question can be how to choose between V1 and V2. This allows the system to help the large language model determine the selection method for each candidate, which serves as the system help answer and provides a basis for using the operation entry.

[0075] The technical solution provided by the embodiments of the present disclosure is to automatically call the system to help the large language model to determine the help knowledge for the corresponding operation according to the hovering time of the mouse and the help attributes of the operation entrance for complex scenarios in the business system, and actively prompt the user, which can further reduce the cost of using the business system and improve the efficiency of use.

[0076] refer to Figure 3c In the disclosed embodiments, a training dataset can be constructed based on descriptions of data objects in the business system, interface documentation, business system usage documentation, historical customer service conversations, and the like. This dataset can then be used to fine-tune the large language model to produce a large system help language model. It should be noted that user feedback on system help responses during the use of the large system help language model can also be obtained, cleaned, and annotated to further enrich the model's dataset.

[0077] During the use of the business platform, if an interface call exception occurs, a form validation exception occurs, or a user triggers a complex operation entry, the system automatically determines whether there is a need for system help, invokes the system help language model to determine the system response, and provides the user with the corresponding help. This is called automated system assistance. Users can also proactively trigger the system help control in the business system, displaying the intelligent assistant's system help session window. The intelligent assistant then retrieves the question entered in the system help session window and invokes the model to determine the response, allowing the user to proactively seek help. Furthermore, system help questions and answers can be used to further enrich the model's dataset.

[0078] Figure 4 This is a schematic diagram of the structure of a system help device based on a large language model according to an embodiment of the present disclosure. This embodiment is applicable to the case where a large language model is used to provide usage help for a business system. The device can be implemented in software and / or hardware. Figure 4 As shown, the system assistance device 400 based on the large language model of this embodiment may include:

[0079] A help demand determination module 410 is used to determine whether there is a system help demand based on user operation data in the business system;

[0080] The system help module 420 is used to generate a system help question when there is a need for system help, and call the system help language model to determine a system help answer based on the system help question;

[0081] The system helps the large language model to construct a first training set in advance using the usage help text of the business system, and uses the first training set to fine-tune the large language model.

[0082] In an optional implementation, the system help module 420 includes:

[0083] A question generation unit is used to call the intelligent assistant pre-installed in the business system to generate system help questions when there is a need for system help;

[0084] a model answering unit, configured to send the system help question to the system help language model through the intelligent assistant, so that the system help language model determines a system help answer based on the system help question;

[0085] An answer acquisition unit is used to obtain the system help answer through the intelligent assistant.

[0086] In an optional implementation, the assistance requirement determination module 410 is specifically configured to:

[0087] Determine whether the system is operating abnormally based on user operation data in the business system. If the system is operating abnormally, determine whether there is a need for system assistance;

[0088] The question generating unit is specifically configured to:

[0089] The system exception information is sent to the intelligent assistant preset in the business system, so that the intelligent assistant generates the system help question according to the system exception information.

[0090] In an optional implementation, the question generating unit includes:

[0091] The interface exception subunit is used to send interface exception information to the intelligent assistant pre-installed in the business system when there is an interface call exception in the business system; the interface exception information includes at least one of the following: interface name, interface type, error code or error description information;

[0092] The question generating subunit is used to package the interface exception information through an intelligent assistant to obtain system help questions.

[0093] In an optional implementation, the question generating unit includes:

[0094] The form exception subunit is used to send form exception information to an intelligent assistant preset in the business system when a form verification exception occurs in the business system; the form exception information includes at least one of the following: the page to which the abnormal form belongs or the identifier of the abnormal form;

[0095] The question generating subunit is used to package the form exception information through an intelligent assistant to obtain system help questions.

[0096] In an optional implementation, the assistance requirement determination module 410 is specifically configured to:

[0097] When the mouse hovers over any operation entry in the business system for longer than a preset time, determine whether the operation entry has a help attribute;

[0098] If the operation entry has a help attribute, it is determined that there is a system help requirement for the operation entry.

[0099] In an optional implementation manner, the question generating unit is specifically configured to:

[0100] When there are at least two candidate items in the operation entry, the intelligent assistant preset in the business system is called to generate a selection query statement for the at least two candidate items as a system help question.

[0101] In an optional implementation, the assistance requirement determination module 410 is specifically configured to:

[0102] In response to a touch operation on a system help control in the business system, determining that there is a system help demand;

[0103] The question generating unit is specifically configured to:

[0104] The intelligent assistant preset in the business system is called to display the system help session window, and the question sentence input by the user in the system help session window is obtained as the system help question.

[0105] In an optional embodiment, the system helps the large language model to be updated in the following manner:

[0106] The second training set is constructed using historical customer service conversations during the historical use of the business system;

[0107] The second training set is used to help the system update the large language model.

[0108] The technical solution of the embodiment of the present disclosure, by using the help corpus of the business system to fine-tune the large language model to obtain a system help large language model, solves the user's help problem, improves the accuracy of the user's use of the business platform, and improves the efficiency of the use of the business system.

[0109] In the technical solutions disclosed herein, the acquisition, storage, and application of user personal information involved comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0110] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0111] Figure 5 It is a block diagram of an electronic device for implementing the system assistance method based on a large language model according to an embodiment of the present disclosure.

[0112] Figure 5 A schematic block diagram of an example electronic device 500 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are provided as examples only and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0113] like Figure 5 As shown, the electronic device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. Various programs and data required for the operation of the electronic device 500 can also be stored in the RAM 503. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0114] Multiple components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a magnetic disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0115] The computing unit 501 can be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as the system assistance method based on the large language model. For example, in some embodiments, the system assistance method based on the large language model can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 508. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the system assistance method based on the large language model described above can be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to execute the system assistance method based on the large language model in any other appropriate manner (for example, by means of firmware).

[0116] Various embodiments of the systems and techniques described above can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0117] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0118] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0119] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0120] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with embodiments of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[0121] A computer system may include a client and a server. The client and server are generally remote from each other and typically interact through a communication network. The client-server relationship arises through computer programs running on the respective computers and having a client-server relationship with each other. The server may be a cloud server, a server in a distributed system, or a server integrated with a blockchain.

[0122] Artificial intelligence (AI) is the study of how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, and planning). It encompasses both hardware and software technologies. AI hardware technologies generally include sensors, specialized AI chips, cloud computing, distributed storage, and big data processing. AI software technologies primarily encompass computer vision, speech recognition, natural language processing, machine learning / deep learning, big data processing, and knowledge graphs.

[0123] Cloud computing refers to a technology system that provides network access to elastically scalable shared pools of physical or virtual resources. These resources can include servers, operating systems, networks, software, applications, and storage devices, and can be deployed and managed on-demand in a self-service manner. Cloud computing technology provides efficient and powerful data processing capabilities for the application of technologies such as artificial intelligence and blockchain, as well as for model training.

[0124] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved. This is not a limitation herein.

[0125] The above specific embodiments do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure shall be included within the scope of protection of this disclosure.

Claims

1. A system assistance method based on a large language model, include: Determine whether there is a need for system assistance based on user operation data in the business system; When there is a need for system help, call the pre-installed intelligent assistant in the business system to generate system help questions; Sending the system help question to the system help big language model through the intelligent assistant, so that the system help big language model determines the system help answer according to the system help question; Obtaining the system help answer through the intelligent assistant; The system helps the large language model to construct a first training set in advance using the usage help text of the business system, and uses the first training set to perform fine-tuning training on the large language model; Wherein, determining whether there is a need for system assistance according to user operation data in the business system includes: Determine whether the system is running abnormally based on user operation data in the business system, and if the system is running abnormally, determine whether there is a need for system assistance; The calling of the pre-installed intelligent assistant in the business system to generate system help questions includes: The system exception information is sent to the intelligent assistant preset in the business system, so that the intelligent assistant generates the system help question according to the system exception information, and packages the system help question into a prompt, and sends it to the system help large language model.

2. The method according to claim 1, in, The sending of the system abnormality information to the intelligent assistant preset in the business system, so that the intelligent assistant generates the system help question according to the system abnormality information, includes: When an interface call exception occurs in the business system, the interface exception information is sent to the intelligent assistant preset in the business system; the interface exception information includes at least one of the following: interface name, interface type, error code or error description information; The interface exception information is packaged by an intelligent assistant to obtain system help questions.

3. The method according to claim 1, in, The sending of the system abnormality information to the intelligent assistant preset in the business system, so that the intelligent assistant generates the system help question according to the system abnormality information, includes: When a form verification exception occurs in the business system, form exception information is sent to an intelligent assistant preset in the business system; the form exception information includes at least one of the following: the page to which the abnormal form belongs or the identifier of the abnormal form; The form exception information is packaged through an intelligent assistant to obtain system help questions.

4. The method according to claim 1, in, Determining whether there is a need for system assistance based on user operation data in the business system includes: When the hovering time of the mouse on any operation entry in the business system is longer than a preset time, determining whether the operation entry has a help attribute; If the operation entry has a help attribute, it is determined that there is a system help requirement for the operation entry.

5. The method according to claim 4, in, The calling of the pre-installed intelligent assistant in the business system to generate system help questions includes: When there are at least two candidate items at the operation entry, the intelligent assistant preset in the business system is called to generate a selection query statement for the at least two candidate items as a system help question.

6. The method according to claim 1, in, Determining whether there is a need for system assistance based on user operation data in the business system includes: In response to a touch operation on a system help control in the business system, determining that there is a system help demand; The calling of the pre-installed intelligent assistant in the business system to generate system help questions includes: The intelligent assistant preset in the business system is called to display the system help session window, and the question sentence input by the user in the system help session window is obtained as the system help question.

7. The method according to claim 1, in, The system helps the large language model to be updated in the following ways: The second training set is constructed by using historical customer service conversations during the historical use of the business system; The second training set is used to help the system update the large language model.

8. A system assistance device based on a large language model, include: A help demand determination module is used to determine whether there is a need for system help based on user operation data in the business system; A system help module, used to generate a system help question when there is a system help demand, and call the system help big language model to determine a system help answer according to the system help question; The system helps the large language model to construct a first training set in advance using the usage help text of the business system, and uses the first training set to perform fine-tuning training on the large language model; Wherein, the system help module includes: A question generation unit is used to call the intelligent assistant preset in the business system to generate system help questions when there is a need for system help; A model answering unit, used for sending the system help question to the system help big language model through the intelligent assistant, so that the system help big language model determines the system help answer according to the system help question; An answer acquisition unit, used for acquiring the system help answer through the intelligent assistant; Wherein, the assistance requirement determination module is specifically used for: Determine whether the system is running abnormally based on user operation data in the business system, and if the system is running abnormally, determine whether there is a need for system assistance; The question generating unit is specifically used for: The system exception information is sent to the intelligent assistant preset in the business system, so that the intelligent assistant generates the system help question according to the system exception information, and packages the system help question into a prompt, and sends it to the system help large language model.

9. The device according to claim 8, in, The question generating unit comprises: The interface exception subunit is used to send interface exception information to the intelligent assistant preset in the business system when there is an interface call exception in the business system; the interface exception information includes at least one of the following: interface name, interface type, error code or error description information; The question generating subunit is used to package the interface exception information through an intelligent assistant to obtain a system help question.

10. The device according to claim 8, in, The question generating unit comprises: The form exception subunit is used to send form exception information to an intelligent assistant preset in the business system when there is a form verification exception in the business system; the form exception information includes at least one of the following: the page to which the abnormal form belongs or the identifier of the abnormal form; The question generating subunit is used to package the form exception information through an intelligent assistant to obtain system help questions.

11. The device according to claim 8, in, The assistance requirement determination module is specifically used for: When the hovering time of the mouse on any operation entry in the business system is longer than a preset time, determining whether the operation entry has a help attribute; If the operation entry has a help attribute, it is determined that there is a system help requirement for the operation entry.

12. The device according to claim 11, in, The question generating unit is specifically used for: When there are at least two candidate items at the operation entry, the intelligent assistant preset in the business system is called to generate a selection query statement for the at least two candidate items as a system help question.

13. The device according to claim 8, in, The assistance requirement determination module is specifically used for: In response to a touch operation on a system help control in the business system, determining that there is a system help demand; The question generating unit is specifically used for: The intelligent assistant preset in the business system is called to display the system help session window, and the question sentence input by the user in the system help session window is obtained as the system help question.

14. The device according to claim 8, in, The system helps the large language model to be updated in the following ways: The second training set is constructed by using historical customer service conversations during the historical use of the business system; The second training set is used to help the system update the large language model.

15. An electronic device, include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.

16. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to make a computer execute the method according to any one of claims 1-7.

17. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 7.