Information processing method and device, computer equipment, storage medium and program product

By displaying the service interface in the question answering technology, generating reply information based on the role of the target object, and using the language processing model for semantic understanding, the problem of inaccurate reply information in the existing technology is solved, and more efficient and professional reply effects are achieved .

CN119046422APending Publication Date: 2024-11-29TENCENT TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411102920.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The existing question answering technology is based on the reply template, which leads to the low accuracy of the reply information and the inability to accurately reply to the question information.

Method used

By displaying the service interface of the target service, receiving the problem information of the target object, and generating corresponding reply information based on its role in the target service, combining the language processing model for semantic understanding and optimization, providing more accurate replies.

Benefits of technology

It improves the accuracy of the answers to the question, makes the reply information more in line with the requirements of the target object, can accurately reply to the question information, and improves the accuracy and professionalism of the reply information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119046422A_ABST
    Figure CN119046422A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an information processing method and device, computer equipment, a storage medium and a program product. The information processing method comprises the following steps: displaying a service interface of a target business; receiving first question information submitted by the target object in the service interface; obtaining a first role of the target object in the target business; and outputting first reply information conforming to the first role in the service interface for the first question information. By adopting the embodiment of the invention, the question information can be accurately replied, and the accuracy of the replied information is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an information processing method, an information processing apparatus, a computer device, a computer-readable storage medium, and a computer program product. Background Art

[0002] Question answering technology refers to the technology of outputting answer information obtained by answering submitted question information. Question answering technology is widely used in different businesses; for example, question answering technology can be applied to businesses that specialize in answering questions (for example, intelligent question-answering businesses that specialize in answering questions); for another example, question answering technology can be used in a functional module in a business (for example, intelligent customer service in a business). At present, question answering technology is based on some answer templates, which makes the answer information given unable to accurately answer the question information, and the accuracy of the answer information is not high. Summary of the invention

[0003] The embodiments of the present application provide an information processing method, apparatus, computer equipment, storage medium, and program product, which can accurately respond to question information and improve the accuracy of the response information.

[0004] On the one hand, an embodiment of the present application provides an information processing method, the information processing method comprising:

[0005] Display the service interface of the target business;

[0006] Receiving first question information submitted by the target object in the service interface;

[0007] Get the target object's primary role in the target business;

[0008] In the service interface, first answer information consistent with the first role is output in response to the first question information.

[0009] Accordingly, an embodiment of the present application provides an information processing device, the information processing device comprising:

[0010] A display unit, used to display a service interface of a target business;

[0011] The display unit is further used to receive the first question information submitted by the target object in the service interface;

[0012] An acquisition unit, used for acquiring the first role of the target object in the target business;

[0013] The display unit is further used to output first answer information corresponding to the first role in response to the first question information in the service interface.

[0014] In one implementation, the acquiring unit is used to acquire the first role of the target object in the target business, and is specifically used to perform the following steps:

[0015] Displaying candidate roles of the target object in the target business in the service interface;

[0016] In response to a candidate role selection operation of the target object, taking the candidate role selected by the candidate role selection operation as the first role of the target object in the target business;

[0017] The candidate role is obtained by performing role identification on the first question information, or the candidate role is preset by the target business.

[0018] In one implementation, the acquisition unit is used to respond to the candidate role selection operation of the target object and use the candidate role selected by the candidate role selection operation as the first role of the target object in the target business, specifically to perform the following steps:

[0019] The candidate roles are presented in the service interface in the form of a candidate role list; in response to a candidate role selection operation of the target object in the candidate role list, the candidate role selected by the candidate role selection operation is used as the first role of the target object in the target business;

[0020] Alternatively, the candidate roles are presented in the service interface in the form of role question information; the role answer information submitted by the target object in response to the role question information is displayed in the service interface; and the candidate role indicated by the role answer information is used as the first role of the target object in the target business.

[0021] In one implementation, the display unit is further configured to perform the following steps:

[0022] Displaying the evaluation information submitted by the target object in response to the first reply information in the service interface;

[0023] The second reply information that matches the first role is displayed in the service interface, and the second reply information is obtained by optimizing the first reply information based on the evaluation information.

[0024] In one implementation, the display unit is used to display the evaluation information submitted by the target object for the first reply information in the service interface, and further to perform the following steps:

[0025] Displaying a candidate question information list in the service interface, the candidate question information list including one or more candidate question information, the candidate question information being obtained by optimizing the first reply information based on the evaluation information;

[0026] In response to a selection operation on target candidate question information in the candidate question information list, displaying the target candidate question information as second question information in the service interface;

[0027] The display unit is used to display the second reply information corresponding to the first role in the service interface, specifically to perform the following steps:

[0028] In response to the second question information, second answer information that matches the first role is output in the service interface.

[0029] In one implementation, the display unit is used to display the evaluation information submitted by the target object for the first reply information in the service interface, and is specifically used to perform the following steps:

[0030] receiving an evaluation information selection operation in the candidate evaluation information list associated with the first reply information, and using the candidate evaluation information selected by the evaluation information selection operation as the submitted evaluation information;

[0031] Alternatively, submit evaluation information by submitting question information.

[0032] In one implementation, the display unit is further configured to perform the following steps:

[0033] Receiving, in the service interface, an operation of the target object switching its role in the target business from a first role to a second role;

[0034] In the service interface, third reply information that matches the second role is output for the current question information.

[0035] In one implementation, the display unit is further configured to perform the following steps:

[0036] Outputting role switching inquiry information in the service interface, where the role switching inquiry information is used to inquire the target object about its willingness to switch its role in the target business from the current role to the third role;

[0037] If the target object agrees to the role switch, the fourth reply information consistent with the third role is output in the service interface for the current question information.

[0038] On the other hand, an embodiment of the present application provides an information processing method, the information processing method comprising:

[0039] Obtain the first question information submitted by the target object in the target business;

[0040] Get the target object's primary role in the target business;

[0041] The language processing model is called to generate first answer information consistent with the first role according to the first role and the first question information.

[0042] Accordingly, an embodiment of the present application provides an information processing device, the information processing device comprising:

[0043] An acquisition unit, used for acquiring first question information submitted by a target object in a target business;

[0044] The acquisition unit is further used to acquire the first role of the target object in the target business;

[0045] The processing unit is used to call the language processing model to generate first answer information consistent with the first role according to the first role and the first question information.

[0046] In one implementation, the processing unit is used to call the language processing model to generate first answer information consistent with the first role according to the first role and the first question information, and is specifically used to perform the following steps:

[0047] Calling the language processing model to perform semantic understanding on the first question information to obtain semantic information of the first question information;

[0048] The language processing model is called to generate first reply information consistent with the first role based on the first role and the semantic information.

[0049] In one implementation, the language processing model adjusts the training strategy based on the feedback information of the language processing model during the training process and the application process; the processing unit is further used to perform the following steps:

[0050] Get feedback on language processing models;

[0051] If the feedback information indicates that the language processing model does not meet the business requirements of the target business, the language processing model is trained according to the training strategy corresponding to the feedback information.

[0052] In one implementation, the training process of the language processing model includes a training sample data acquisition stage, a training sample data parsing stage, a pre-training stage, a fine-tuning stage, and a problem tuning stage; the processing unit, when used to obtain feedback information for the language processing model, is specifically used to perform at least one of the following:

[0053] Obtain feedback information for the language processing model during the pre-training phase;

[0054] Obtain feedback information for the language processing model during the fine-tuning phase;

[0055] Obtain feedback information on the language processing model during the problem tuning phase;

[0056] Obtain feedback information on the language processing model during model application;

[0057] The feedback information includes at least one of the following: evaluation information on the reply information output by the language processing model; model learning information determined based on the difference between the marked reply information and the reply information output by the language processing model; and scoring information of the reply information output by the language processing model by the scoring model.

[0058] In one implementation, the process of determining the training strategy corresponding to the feedback information includes:

[0059] Output the feedback information to the debugging platform, where selection controls corresponding to different training strategies are set;

[0060] In response to a selection operation on a selection control corresponding to a target training strategy in the debugging platform, determining the target training strategy as a training strategy corresponding to the feedback information;

[0061] Among them, the training strategy includes at least one of the following: parameter adjustment strategy, structure adjustment strategy, training times adjustment strategy, data feeding strategy, and fine-tuning mode adjustment strategy.

[0062] In one implementation, the process of determining the training strategy corresponding to the feedback information includes:

[0063] Obtain a feedback strategy mapping table, where the feedback strategy mapping table includes different feedback information and a training strategy corresponding to each feedback information;

[0064] Determine the training strategy corresponding to the feedback information of the language processing model in the feedback strategy mapping table;

[0065] Among them, the training strategy includes at least one of the following: parameter adjustment strategy, structure adjustment strategy, training times adjustment strategy, data feeding strategy, and fine-tuning mode adjustment strategy.

[0066] In one implementation, the training process of the language processing model includes a question tuning phase. The question tuning process of the question tuning phase of the language processing model includes:

[0067] Calling the language processing model to generate first sample answer information for first sample question information;

[0068] If the first feedback information for the first sample answer information indicates that the first sample answer information does not meet the business requirements of the target business, calling the language processing model to optimize the first sample question information based on the first feedback information to obtain second sample question information;

[0069] Calling the language processing model to generate second sample answer information for the second sample question information;

[0070] If the second feedback information for the second sample reply information indicates that the second sample reply information does not meet the business requirements of the target business, continue to optimize the sample question information and continue to generate sample reply information for the sample question information until the generated sample reply information meets the business requirements of the target business.

[0071] Accordingly, an embodiment of the present application provides a computer device, the computer device comprising:

[0072] a processor suitable for implementing a computer program;

[0073] A computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the above-mentioned information processing method.

[0074] Accordingly, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is read and executed by a processor of a computer device, the computer device executes the above-mentioned information processing method.

[0075] Accordingly, an embodiment of the present application provides a computer program product, which includes a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the above-mentioned information processing method.

[0076] In an embodiment of the present application, for question information submitted by the target object in the target business, answer information that is consistent with the role of the target object in the target business can be output for the question information. In other words, the question information can be replied to in the tone of the target object's role in the target business; in this way, the reply to the question information can be more in line with the requirements of the target object, and the question information submitted by the target object can be replied accurately, thereby improving the accuracy of the reply information. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0078] Figure 1 It is a schematic diagram of the architecture of a business processing system provided in an embodiment of the present application;

[0079] Figure 2It is a flowchart of an information processing method provided by an embodiment of the present application;

[0080] Figure 3 is a schematic diagram of a question answering interface provided in an embodiment of the present application;

[0081] Figure 4 This is a schematic diagram of an interface for selecting a role after submitting question information provided by an embodiment of the present application;

[0082] Figure 5 This is another schematic diagram of an interface for selecting a role after submitting question information provided in an embodiment of the present application;

[0083] Figure 6 This is a schematic diagram of an interface for selecting a role before submitting question information provided by an embodiment of the present application;

[0084] Figure 7 This is a schematic diagram of a submission interface for evaluation information provided in an embodiment of the present application;

[0085] Figure 8 This is a schematic diagram of another interface for submitting evaluation information provided in an embodiment of the present application;

[0086] Fig. 9 This is a schematic diagram of an optimization selection interface for question information provided in an embodiment of the present application;

[0087] Fig.10 This is a schematic diagram of an interface for switching roles during a question answering process provided by an embodiment of the present application;

[0088] Fig.11 This is another interface schematic diagram for switching roles during the question answering process provided by an embodiment of the present application;

[0089] Fig.12 It is a flowchart of another information processing method provided by an embodiment of the present application;

[0090] Fig.13 It is a flow chart of a session management process provided by an embodiment of the present application;

[0091] Fig.14 is a model task diagram of a language processing model provided in an embodiment of the present application;

[0092] Fig.15 This is a schematic diagram of a training sample data acquisition stage provided in an embodiment of the present application;

[0093] Fig.16 It is a schematic diagram of the parsing stage of a training sample data provided in an embodiment of the present application;

[0094] Fig.17It is a schematic diagram of the training process of a language processing model provided in an embodiment of the present application;

[0095] Fig.18 It is a schematic diagram of the relationship between a pre-training phase and a fine-tuning phase provided in an embodiment of the present application;

[0096] Fig.19 is a schematic diagram of a fine-tuning process in a fine-tuning stage provided in an embodiment of the present application;

[0097] Fig. 20 It is a process diagram of a problem tuning stage provided in an embodiment of the present application;

[0098] Fig.21 It is a schematic diagram of the overall process of training and application of a language processing model provided in an embodiment of the present application;

[0099] Fig. 22 is a structural diagram of an information processing device provided in an embodiment of the present application;

[0100] Fig.23 is a schematic diagram of the structure of another information processing device provided in an embodiment of the present application;

[0101] Fig.24 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0102] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0103] The embodiments of the present application relate to question answering technology, which refers to the technology in which the business generates and outputs answer information obtained by answering the question information submitted by the object to the business. The business mentioned in the embodiments of the present application refers to a business platform for executing business operations, which is usually composed of a business client and a business server. The object interacts with the business through the business client and initiates a business request to the business. The business executes the business operation in response to the business request and feeds back the business execution result to the object through the business client.

[0104] Based on the introduction of the question answering technology, the embodiment of the present application provides an information processing method, which provides an innovative question answering technology. The information processing method uses an artificial intelligence model to answer question information, which makes the question answering no longer rely on manual labor, especially for repeated or complex question information, which can greatly reduce the cost of manual question answering and improve the efficiency of question answering. In addition, the information processing method can be combined with the role of the object in the business when answering questions, so that the object can obtain the answer information he really wants, and may even obtain unexpected additional effective information, so that the question information submitted by the object can be accurately answered, and the accuracy of the answer information can be improved. In addition, the information processing method is based on advanced data processing algorithms and complex model logic to implement an artificial intelligence model for answering question information, which significantly improves the question and answer interaction experience between the object and the business, and greatly enhances the professionalism and accuracy of the question and answer information service.

[0105] In an embodiment of the present application, the artificial intelligence model used in the information processing method may be an LLM (Large Language Model), which refers to a deep learning model trained using a large amount of text data that can generate natural language text or understand the meaning of language text. The large language model can handle a variety of natural language tasks, such as text classification, question and answer, dialogue, etc. At present, the large language model uses a Transformer architecture (a model architecture for natural language processing) and pre-training goals similar to the small model. The difference from the small model is the increase in model size, training data, and computing resources.

[0106] The embodiments of the present application do not limit the business to which the innovative question answering technology is applied. The innovative question answering technology can be applied to businesses specifically used for answering questions; or, the innovative answering technology can be applied to functional modules in the business (for example, intelligent customer service in securities product service business, intelligent customer service in financial technology business, and intelligent customer service in news and information business, etc.) to provide relevant service value-added for the business.

[0107] It should be noted that the relevant data collection and processing in the embodiments of the present application (for example, the collection and processing of the subject's question information, reply information, and evaluation information, etc.) should be strictly in accordance with the requirements of relevant laws and regulations when applied in instances, and the informed consent or separate consent of the personal information subject (or have a legal basis) should be obtained, and subsequent data use and processing should be carried out within the scope of authorization of laws and regulations and the personal information subject.

[0108] Next, the execution subject of the information processing method is introduced.

[0109] In the embodiment of the present application, the information processing method can be executed by a computer device, in which a language processing model (the language processing model is the large language model mentioned above) is deployed. The computer device can be, for example, a terminal used by the subject; or, for example, the computer device can be a business processing system composed of a terminal used by the subject and a business server.

[0110] In one implementation, the computer device may be a terminal used by the object, and a business client may be run in the terminal used by the object, and a language processing model may be deployed. After the object submits question information through the business client, the business client may call the language processing model deployed in the terminal, and respond to the question information in combination with the role of the object in the business, obtain response information that matches the role of the object in the business, and output the response information to the object.

[0111] In another implementation, the computer device may be a business processing system composed of a terminal used by the subject and a business server. Figure 1 As shown, a service client may be running in the terminal 101 used by the object, and the service server 102 may be the background of the service client for providing services to the service client, and a language processing model may be deployed in the service server 102. A direct communication connection may be established between the terminal 101 and the service server 102 by means of wired communication, or an indirect communication connection may be established between the terminal 101 and the service server 102 by means of wireless communication.

[0112] In the business processing system, the business server 102 can train the language processing model and deploy the trained language processing model for use. The business server 102 can also continue to train and optimize the language processing model in the process of answering questions using the language processing model based on the evaluation information given by the object and the collection and collation of new training samples in the business; by continuously training and optimizing during the use of the model, the accuracy and efficiency of the language processing model in answering questions can be improved, and the language processing model can also be better and faster adapted to changes in business and changes in object needs.

[0113] In the business processing system, the object submits question information through the business client running in the terminal 101, and the terminal 101 can send the question information to the business server 102. The business server 102 can call the deployed language processing model, and respond to the question information in combination with the role of the object in the business, obtain response information that matches the role of the object in the business, and send the response information to the terminal 101. The business client in the terminal 101 can output the response information to the object.

[0114] The terminal 101 mentioned in the embodiment of the present application may be a smart phone, a tablet computer, a laptop computer, a desktop computer, an intelligent voice interaction device, a smart watch, a vehicle terminal, a smart home appliance, an aircraft, etc., but is not limited thereto. The service client running in the terminal 101 may be any one of a service application program, a service applet, a service web (World Wide Web) application, etc.

[0115] The business server 102 mentioned in the embodiment of the present application can be a separate physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms, etc., which are explained here.

[0116] It can be understood that the business processing system described in the embodiment of the present application is for more clearly illustrating the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application. Ordinary technicians in this field can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.

[0117] The following is an introduction to the information processing method provided in the embodiment of the present application from a visualization perspective.

[0118] The present application provides an information processing method, which includes: visual presentation of answers to questions in combination with object roles, visual presentation of object role acquisition methods, optimization of answer information after submitting evaluation information on the answer information, and visual presentation of role switching methods. Figure 2 As shown, the information processing method may include but is not limited to the following steps S201 to S204:

[0119] S201, displaying the service interface of the target business.

[0120] In step S201, the target service may be a service specifically used for answering questions, or the target service may include a functional module for answering questions. The service interface of the target service refers to the interface used for answering questions in the service client of the target service. Figure 3 The service interface 30 in Figure 3 The service interface 30 is an intelligent customer service interface in a business client of a target business.

[0121] S202: receiving first question information submitted by a target object in a service interface.

[0122] In step S202, the target object may submit the first question information in the service interface, and the target object may be any object using the target service. Figure 3 As shown, the service interface 30 receives the first question information 301 submitted by the target object (for example, Figure 3 What are financial products?

[0123] S203: Obtain the first role of the target object in the target business.

[0124] In step S203, the role of the target object in the target business may refer to the identity type of the target object in the target business; for example, the role of the target object in the target business may be a novice role with a low degree of understanding of the target business, or the role of the target object in the target business may be a professional role with a high degree of understanding of the target business, etc.; for another example, the role of the target object in the target business may be a teacher, or the role of the target object in the target business may be a student, etc. The first role of the target object in the target business refers to the current role of the target object in the target business, and the role of the target object in the target business may be switched.

[0125] S204: Outputting first reply information corresponding to the first role in response to the first question information in the service interface.

[0126] In step S204, the first reply information that matches the first role is output, which can be understood as answering the first question information in the tone of the first role to obtain the first reply information that matches the first role. In this way, by combining the role of the object in the business when answering the question information, it can be easier for the object to understand the reply information to the question information more clearly, so that the reply information to the question information can better meet the requirements of the object, and the question information can be answered accurately, thereby improving the accuracy of the answer to the question.

[0127] The following introduces methods for obtaining the first role of the target object in the target business: first, the first role of the target object in the target business may be obtained by role identification of the first question information submitted by the target object; second, the first role of the target object in the target business may be selected from the candidate roles of the target object in the target business, and the candidate role of the target object in the target business may be obtained by role identification of the first question information; third, the first role of the target object in the target business may be selected from the candidate roles of the target object in the target business, and the candidate role of the target object in the target business may be preset by the target business.

[0128] Among the above-mentioned three methods of obtaining the first role, for the first and second methods of obtaining the first role, the first role is related to the first question information, and the first role is obtained after the target object submits the first question information in the service interface, that is, step S203 is executed after step S202; and for the third method of obtaining the first role, the first role is not related to the first question information, and the first role is obtained before the target object submits the first question information in the service interface, that is, step S203 is executed before step S202.

[0129] Among the three methods of obtaining the first role mentioned above, for the second and third methods of obtaining the first role, the candidate roles of the target object in the target business can be displayed in the service interface; in response to the candidate role selection operation of the target object, the candidate role selected by the candidate role selection operation is used as the first role of the target object in the target business.

[0130] In more detail, the candidate role selection operation may include any of the following: the candidate roles may be presented in the service interface in the form of a candidate role list; in response to the target object's candidate role selection operation in the candidate role list, the candidate role selected by the candidate role selection operation may be used as the target object's first role in the target business. Alternatively, the candidate roles may be presented in the service interface in the form of role question information; role answer information submitted by the target object in response to the role question information may be displayed in the service interface; the candidate role indicated by the role answer information may be used as the target object's first role in the target business.

[0131] Next, the three methods of obtaining the first role are introduced in detail:

[0132] (1) The first way to obtain the first role:

[0133] like Figure 3 As shown, the service interface 30 receives the first question information 301 submitted by the target object (for example, Figure 3 After identifying the role of the target object in the target business through the first question information 301, the first answer information 302 that matches the first role can be directly output (for example, Figure 3 In the example above, “Your role may be a financial novice. I will try my best to answer you as a financial novice what a financial product is and what a financial product is…”), it can be seen that the first role of the target object in the target business (i.e. Figure 3 The first reply message is given in the tone of the first character, which can improve the accuracy of the answer to the question.

[0134] (2) The second way to obtain the first role:

[0135] Figure 4 Taking the candidate role presentation form as a candidate role list as an example, the second method of obtaining the first role is introduced: Figure 4 As shown, after receiving the first question information 301 submitted by the target object in the service interface 30, a candidate role list 303 may be displayed in the service interface 30. The candidate role list 303 may include candidate roles obtained by role identification of the first question information 301, for example, candidate role 1, candidate role 2, and candidate role 3; in response to the target object selecting candidate role 3 in the candidate role list 303, candidate role 3 may be used as the first role of the target object in the target business, and first reply information 302 (for example, Figure 4 “I will try my best to answer you as Candidate 3 what is a financial product. A financial product is…”).

[0136] Figure 5 Taking the candidate role presentation form as role question information as an example, the second method of obtaining the first role is introduced: Figure 5 As shown, after receiving the first question information 301 submitted by the target object in the service interface 30, the first role question information 304 can be displayed in the service interface 30, and the first role question information 304 can be used to inquire whether the first role of the target object in the target business is candidate role 1; the target object can submit first role answer information 305 in the service interface, and the first role answer information 305 can indicate that the first role of the target object in the target business is not candidate role 1; in this case, the inquiry can continue, and the second role question information 306 can continue to be displayed in the service interface 30, and the second role question information 306 can be used to inquire whether the first role of the target object in the target business is candidate role 2; the target object can submit second role answer information 307 in the service interface, and the second role answer information 307 can indicate that the first role of the target object in the target business is candidate role 2, and candidate role 2 can be used as the first role of the target object in the target business, and the first reply information 302 consistent with the first role can be output (for example, Figure 5 “I will try my best to answer you as Candidate 2 what a financial product is. A financial product is…”).

[0137] It can be seen that whether the first role is selected from the candidate roles in the candidate role list or the first role is selected in the form of role question information + role answer information, the target object can be provided with an opportunity to select a role, so that the first role selected by the target object is more consistent with the target object's real role, thereby improving the accuracy of role determination. In addition, the target object is selected from the candidate roles obtained by role identification of the question information submitted by the target object. Through role identification, the role range of the target object can be narrowed down to the possible candidate roles of the target object, thereby further improving the accuracy of role determination.

[0138] (3) The third way to obtain the first role:

[0139] like Figure 6 As shown, a candidate role list 303 may be displayed in the service interface 30, and the candidate role list 303 may include candidate roles preset for the target business, for example, a financial novice role and a financial expert role; in response to the target object selecting the financial expert role in the candidate role list 303, the financial expert role may be used as the first role of the target object in the target business; after receiving the first question information 301 submitted by the target object in the service interface 30, the first answer information 302 (for example, Figure 6 “I will try my best to answer you as a financial expert what a financial product is and what a financial product is…”).

[0140] It can be seen that whether selecting the first role from the candidate roles in the candidate role list or selecting the first role in the form of role question information + role answer information, it can provide the target object with an opportunity to choose a role, which can make the first role selected by the target object more consistent with the target object's real role and improve the accuracy of role determination.

[0141] Next, the output form of the first reply information is introduced. The output form of the first reply information is related to the first role. The first reply information that matches the first role can be output according to the output form corresponding to the first role. For example, when the target business is a finance-related business (for example, financial technology business, securities product business, etc.), when the role of the target object in the target business is a financial novice, the first reply information can be output in the form of a combination of text and pictures. The combination of text and pictures is easier for financial novices to understand; for another example, when the role of the target object in the target business is a financial expert, the first reply information can be output in the form of professional literature citation. The form of professional literature citation means that the first reply information cites the concepts or definitions in the professional literature in the target business. Such a reply is professional and credible for financial experts. By outputting the reply information in the output form corresponding to the first role, the output form of the reply information is consistent with the first role of the target object, which better meets the target object's need to obtain reply information and can improve the accuracy of the answer to the question.

[0142] After step S204, optionally, the embodiment of the present application can support the target object to submit evaluation information for the reply information, and the reply information can be optimized based on the evaluation information. Specifically, the evaluation information submitted by the target object for the first reply information can be displayed in the service interface; the second reply information consistent with the first role can be displayed in the service interface, and the second reply information is obtained by optimizing the first reply information based on the evaluation information. It is easy to think that by optimizing the reply information through the evaluation information, more accurate reply information can be obtained, and reply information that better meets the needs of the target object can improve the accuracy of the answer to the question.

[0143] The submission method of the evaluation information may include any of the following: First, an evaluation information selection operation may be received in the candidate evaluation information list associated with the first reply information, and the candidate evaluation information selected by the evaluation information selection operation may be used as the submitted evaluation information, that is, the evaluation information for the first reply information may be selected from the candidate evaluation information preset by the target business. Alternatively, the evaluation information may be submitted in the manner of submitting question information, that is, the evaluation information may be submitted as question information.

[0144] For the first type of evaluation information submission method, for example, Figure 7 As shown, the associated position of the first reply information 302 (for example, Figure 7 An evaluation control 308 is displayed at the lower right corner of the first reply information 302 in the example; in response to a trigger operation on the evaluation control 308, a candidate evaluation information list 309 is displayed, and the candidate evaluation information list 309 may include candidate evaluation information 1 (for example, Figure 7 inaccurate information), candidate evaluation information 2 (for example, Figure 7 "The answer format is not good enough" in the answer) and candidate evaluation information 3 (for example, Figure 7 In response to the selection operation of the candidate evaluation information 1, the second reply information 310 (for example, Figure 7 In the example of "I will try my best to give a more accurate answer as a financial novice: financial products are..."), the second reply information 310 is obtained by optimizing the first reply information 302 according to the candidate evaluation information 1. For the first evaluation information submission method, the target object can select the submitted evaluation information from the candidate evaluation information preset by the target business, which is simple and fast, and can improve the evaluation efficiency of the reply information.

[0145] For the second method of submitting evaluation information, for example, Figure 8 As shown, after the first reply information 302 corresponding to the first role is output in the service interface 30, the evaluation information 311 (for example, Figure 8 In the example, if the user selects "inaccurate" in the evaluation information, the second reply information 310 that matches the first role can be displayed in the service interface. The second reply information 310 is obtained by optimizing the first reply information 302 according to the evaluation information 311. For the second evaluation information submission method, the target object can freely submit evaluation information of any content, which better meets the evaluation submission requirements of the object and improves the evaluation accuracy of the reply information.

[0146] In addition to directly optimizing the reply information, the evaluation information can optionally optimize the question information and then provide the reply information based on the optimized question information, thereby achieving the effect of indirectly optimizing the reply information. Specifically, after displaying the evaluation information submitted by the target object for the first reply information in the service interface, a list of candidate question information can be displayed in the service interface. The list of candidate question information can include one or more candidate question information. The candidate question information can be obtained by optimizing the first reply information based on the evaluation information; in response to a selection operation on the target candidate question information in the list of candidate question information, the target candidate question information can be displayed as the second question information in the service interface; and in response to the second question information, the second reply information that matches the first role can be output in the service interface.

[0147] For example, if Fig. 9 As shown, the evaluation information 311 (for example, Fig. 9 After the “inaccurate” in the question is displayed, a candidate question information list 312 may be displayed in the service interface 30. The candidate question information list 312 may include candidate question information 1 (for example, Fig. 9What is financial product trading?), candidate question information 2 (e.g. Fig. 9 What are the types of financial products?) and candidate question information 3 (e.g. Fig. 9 In response to the selection operation of candidate question information 2 in the candidate question information list 312, the candidate question information 2 can be displayed in the service interface, and the second answer information 310 that matches the first role can be output in the service interface 30 for the candidate question information 2 (for example, Fig. 9 In this way, the candidate question information given based on the evaluation information is more specific and more directional after combining the evaluation information with the original question information, which is conducive to the target object to obtain the question information and corresponding answer information that they really want to ask more quickly, thereby improving the accuracy of the question answering.

[0148] After step S204, the embodiment of the present application can optionally support the target object to switch its role in the target business autonomously and output reply information consistent with the switched role. Specifically, the target object can receive an operation in the service interface to switch its role in the target business from the first role to the second role; and can output third reply information consistent with the second role in the service interface for the current question information.

[0149] Furthermore, the role switching operation of the target object may be submitted in the form of submitting role switching information. Fig.10 As shown, the service interface 30 receives the first question information 301 submitted by the target object, and outputs the first role (for example, Fig.10 After the target object submits the first reply information 302 that matches the "financial novice" in the service interface 30, the target object submits the role switching information 313 (for example, Fig.10 In this case, you can output the answers related to the second role (e.g., Fig.10 The third reply information 314 (for example, Fig.10 In this way, the target object can switch roles in the target business independently and obtain response information that matches different roles. The response information can be obtained from multiple role perspectives, which can meet the role switching needs of the target object and improve the freedom and accuracy of the answer to the question.

[0150] After step S204, the embodiment of the present application may optionally inquire about the target object's willingness to switch roles. Specifically, role switching inquiry information may be output in the service interface, and the role switching inquiry information may be used to inquire about the target object's willingness to switch its role in the target business from the current role to the third role; if the target object agrees to the role switch, the fourth reply information consistent with the third role may be output in the service interface for the current question information.

[0151] For example, after the target object has answered questions in the same role for multiple rounds, it is necessary to avoid the situation where the answers given in multiple rounds are close to the same answer, such as Fig.11 As shown, the role switching inquiry information 315 (eg, Fig.11 30. If the target object submits the role switching consent information 316 (for example, Fig.11 In the example, "agree to switch" in the example, it can indicate that the target object agrees to the role switch, and the fourth reply information 317 (for example, Fig.11 In Fig.10 In this way, by asking the target object about his / her willingness to switch roles, the target object can be provided with the possibility of obtaining response information consistent with different roles, and the target object can be provided with more exploration space to obtain response information from multiple role perspectives, which is conducive to improving the accuracy of the answer to the question.

[0152] In the embodiment of the present application, for the question information submitted by the target object in the target business, the answer information that is consistent with the role of the target object in the target business can be output for the question information, that is, the question information can be answered in the tone of the role of the target object in the target business; this can make the answer to the question information more in line with the requirements of the target object, and can accurately answer the question information submitted by the target object, thereby improving the accuracy of the answer information. By switching roles during the question answering process, it is beneficial for the target object to obtain the answer information answered from the perspective of different roles, which is beneficial to improving the accuracy of the question answering.

[0153] Next, the information processing method provided in the embodiment of the present application is introduced from a technical perspective.

[0154] The present application embodiment provides an information processing method, which includes: the application process of a language processing model, the training process of a language processing model, and the debugging and intervention process of a language processing model. Fig.12As shown, the information processing method may include but is not limited to the following steps S1201 to S1203:

[0155] S1201, obtaining first question information submitted by a target object in a target business.

[0156] In step S1201, the target service may be a service specifically used for answering questions, or the target service may include a functional module for answering questions. The target object may be any object using the target service, and the target object may submit the first question information to the target service.

[0157] S1202, obtaining the first role of the target object in the target business.

[0158] In step S1202, the method for determining the first role of the target object in the target business may include any of the following: first, the first role of the target object in the target business may be obtained by role identification of the first question information submitted by the target object; second, the first role of the target object in the target business may be selected from the candidate roles of the target object in the target business, and the candidate role of the target object in the target business may be obtained by role identification of the first question information; third, the first role of the target object in the target business may be selected from the candidate roles of the target object in the target business, and the candidate role of the target object in the target business may be preset by the target business.

[0159] S1203: Calling a language processing model to generate first answer information that matches the first role according to the first role and the first question information.

[0160] In step S1203, the language processing model can respond to the first question information in combination with the first role to obtain first response information that matches the first role. Specifically, the language processing model can be called to perform semantic understanding on the first question information to obtain semantic information of the first question information; the language processing model can be called to generate first response information that matches the first role based on the first role and the semantic information.

[0161] The above steps S1201-S1203 introduce an application process of the language processing model, that is, the process of calling the language processing model to answer a question. In an actual business scenario, there may be one or more question answers during a conversation between the target object and the target business. After establishing a conversation between the target object and the target business, the current conversation can be maintained when the time interval between the current time point and the time point of the last question answer is less than or equal to the session retention time; maintaining the current conversation requires storing the interaction history between the current conversation and the language processing model (i.e., the question information and answer information that have been answered in the current conversation), so that the subsequent question answers can be based on the historical question information and answer information in the current conversation, specifically, in the process of generating answer information in the subsequent times, the historical question information and historical answer information in the current conversation can be referred to to generate answer information, so that the generation of answer information can be combined with the context, which can further improve the accuracy of the question answer. After establishing a conversation between the target object and the target business, the current conversation can be ended when the time interval between the current time point and the time point of the last question answer is greater than the session retention time. In addition, the language processing model can continue to learn and optimize during the conversation.

[0162] Specifically, the existing large language model (LLM) session mechanism does not yet support the storage of long content or automatic identification of context and background after the session ends. Fig.13 The session management process shown in the figure supports the storage of long content or automatically identifies the context and background after the session ends, so that the generation of reply information during a session can be combined with the context. Fig.13 As shown, it may include:

[0163] ①Session detection: Each time a session request is initialized, the existing session status can be checked. If it is detected that a session already exists, the current session can be maintained to avoid duplicate creation.

[0164] ② Data preprocessing: While maintaining the session, the system will start the data processing process. This process includes cleaning and preparing the newly generated training sample data (for example, newly generated business information, business product information, etc. in the target business) for subsequent model training.

[0165] ③Model training: After data preprocessing is completed, the system will use the newly generated training sample data to train the language processing model. This step is to ensure that the model can reflect the latest market dynamics and information trends.

[0166] ④Continuous updating: To maintain the timeliness and accuracy of the model, the above process will be repeated regularly so that the model can continuously learn and adapt to new data and market changes.

[0167] Based on the above introduction to the application process of the language processing model, the following introduces the key tasks involved in the training and application processes of the language processing model, and introduces the training process of the language processing model.

[0168] like Fig.14 As shown in the figure, the key tasks involved in the training and application of language processing models may include:

[0169] (1) Task of maintaining interaction history: Memory is required to ensure that the history of previous interactions with the model can be established for reuse.

[0170] (2) Develop API (interface) calls to provide direct access to operations such as model results, so that the model can interact appropriately with external debugging platforms to adjust the model training process.

[0171] (3) Deploy the corresponding scheduled training scheduling service (cron_server): allowing the model to be generated multiple times to solve the task before reaching certain stopping criteria.

[0172] (4) Deployment result check service: Before returning the reply information output by the language processing model to the target business object, check the reply information output by the language processing model to filter out inappropriate reply information, and do not output inappropriate reply information to the target business object. The check mentioned here can be simple logic, for example, checking whether there are certain keywords in the reply information or submitting the output reply model to another check model for inspection.

[0173] The following is an introduction to the training process of the language processing model. The training process of the language processing model may include: training sample data acquisition stage, training sample data parsing stage, pre-training stage, fine-tuning stage, and problem tuning stage. The following is an introduction to each stage of the training process of the above language processing model:

[0174] 1. Training sample data acquisition stage:

[0175] The training sample data acquisition phase is used to obtain training sample data, such as Fig.15 As shown, the training sample data may include business knowledge data and question information templates. The business knowledge data may include at least one of the following: business domain knowledge, business product knowledge, and business domain news events, etc. The acquisition of training sample data may include at least one of the following methods:

[0176] (1) The data warehouse service of the target business provides business domain knowledge and business product knowledge.

[0177] (2) Professional editors of the target business provide business domain knowledge and business product knowledge.

[0178] (3) Data crawling services obtain business domain knowledge from the Internet.

[0179] (4) Other data sources: Obtain business field news events through other businesses related to the target business.

[0180] 2. Training sample data analysis stage:

[0181] The training sample data parsing phase is used to parse the training sample data into information that can be recognized by the model. Fig.16 As shown, the following steps (1)-(3) may be included:

[0182] (1) Data analysis is performed on the training sample data, and the data analysis may include encoding and constructing word vectors. Specifically, the training sample data may be analyzed, the training sample data may be split into several words, the split words may be encoded, and the specific word vectors of each word may be converted and output.

[0183] (2) The self-attention mechanism is used to construct the information of each vector about itself and other vectors, and these vectors are processed by matrix multiplication, weighted summation, etc.

[0184] (3) Decoding obtains information that the model can recognize (i.e., machine language). For example, for the text "The financial report is expected to be released in the financial assistant", the word "wealth" appears twice in the text. At first glance, we can quickly know the meaning of each "wealth" character in this sentence, but the machine itself cannot recognize it immediately. After breaking down the independent words, we need to use the machine to find the relationship between the words to know the meaning of each "wealth" character in the sentence.

[0185] 3. Pre-training stage and fine-tuning stage:

[0186] The pre-training stage and the fine-tuning stage are two parts of the training process. Here we first introduce the training process. Fig.17 As shown:

[0187] (1) The information obtained in the training sample data parsing phase can be input into the model for training. The embodiment of the present application trains two language processing models at the same time, and the language processing model with good training effect can be selected as the language processing model finally used. The two language processing models can be two different large language models. For example, the two language processing models are the first language processing model (XuanYuan-70B-Chat-4bit) and the second language processing model (70B-Dense-SFT-24-5-8-8K); among them, XuanYuan-70B-Chat-4bit is an open source financial large model, and 70B-Dense-SFT-24-5-8-8K is the latest version of the Hunyuan 70B model general SFT (Supervised Fine-Tuning) version.

[0188] (2) After several batches (for example, 3 batches) of training (each batch is 10 times or multiples of 10), the training can be adjusted by accessing the debugging platform to determine whether the output of the model meets the requirements. If not, the training can be repeated.

[0189] (3) If the data has been debugged, it will be written into the cache (temporarily storing valid data) and implemented in a persistent and available model.

[0190] (4) The debugged model is used as a new model to access the data and repeat the training again (taking into account the accuracy, recall rate, learning curve, etc. of the model training process, the training is generally repeated 2-3 times after the debugging is accurate.

[0191] (5) The model is finally output, and the data is still written into the memory and persisted in the database.

[0192] In the above Fig.17 In , the training of each batch can include a pre-training phase and a fine-tuning phase. The relationship between the pre-training phase and the fine-tuning phase is as follows: Fig.18 As shown, during the pre-training process of the language processing model, since the business matching degree between the two initial native language processing models and the target business is low, the model needs to be pre-trained first. After multiple rounds of pre-training, a prototype model that basically matches the target business can be obtained; then, the language processing model can be fine-tuned to obtain a language processing model with a higher business matching degree between the target business and the target business, and applied to the target business.

[0193] The fine-tuning process may involve supervised fine-tuning based on data labels, fine-tuning based on feedback information, limiting the content range of the reply information, and controlling the information length of the reply information output by the model (the information length here refers to the number of words (tokens) contained in the reply information (which can be called token length)). Fig.19As shown, the process of the fine-tuning stage may include: a plurality of fine-tuning strategies may be used to fine-tune the language processing model. For example, a first fine-tuning strategy (for example, the first fine-tuning strategy may be SFT) may be used to perform a first fine-tuning on the language processing model, a second fine-tuning strategy (for example, the second fine-tuning strategy may be DPO) may be used to perform a second fine-tuning on the first fine-tuned language processing model, and a third fine-tuning strategy (for example, the third fine-tuning strategy may be RLHF) may be used to perform a third fine-tuning on the second fine-tuned language processing model.

[0194] Among them, the first fine-tuning strategy SFT is supervised instruction fine-tuning, which is a strategy for fine-tuning the model using labeled data; the fine-tuning method in the first fine-tuning strategy can be a parameter freezing fine-tuning method. For example, the parameter freezing fine-tuning method can be a LoRa fine-tuning method. LoRa is a specific, parameter-efficient fine-tuning technology suitable for large models; the LoRa fine-tuning method adds a bypass structure next to the original language processing model. The bypass structure performs dimensionality reduction and dimensionality increase operations on the output of the language processing model. When fine-tuning the language processing model, the parameters of the language processing model can be fixed (i.e., frozen), and only the dimension reduction matrix used for dimensionality reduction and the dimension increase matrix used for dimensionality increase in the bypass structure are adjusted.

[0195] The second fine-tuning strategy DPO (Direct Preference Optimization) is a method to achieve precise control of large language models. It regards the constrained reward maximization problem as a classification problem based on human preference data. This method aims to simplify the training process, improve efficiency and stability, and reduce the computational burden by directly optimizing the model's response to human preferences rather than through complex reward model fitting, large-scale sampling, and hyperparameter adjustment. DPO greatly reduces the difficulty of training by simplifying RLHF (Reinforcement Learning from Human Feedback) to SFT (supervised instruction fine-tuning) method.

[0196] The third fine-tuning strategy RLHF is a fine-tuning strategy that combines reinforcement learning with human feedback. Human preferences are used as reward signals to guide the training of the model, thereby enhancing the model's understanding and satisfaction of human intentions. This approach not only improves the usefulness and security of the model, but also enables the language model to better capture human preferences and understanding, and provide more natural and accurate text output; the third fine-tuning strategy RLHF may, for example, include any one of RLHF_PPO and RLHF_RM.

[0197] During the fine-tuning process, after performing SFT on the language processing model, the model can be manually intervened in and continued to be trained using DPO and RLHF (which can be called RLHF). This can specifically include fine-tuning the model structure, identifying deficiencies in the language processing model that do not meet the business requirements of the target business, and then adjusting the deployment through the API interface. The entire process needs to be repeated until the model output meets the business requirements of the target business.

[0198] 4. Prompt-Engineering:

[0199] The question tuning stage can be used to tune the question information (prompt) of the language processing model, in order to better enable the language processing model to recognize, parse and reply with more complex and professional reply information. The question tuning stage can be executed in a round-robin manner. The so-called round-robin execution means starting a scheduled execution task (cron task), and when the execution time of the scheduled execution task is reached, the question information is tuned.

[0200] The process of problem information tuning is as follows Fig. 20 As shown, it may include: calling a language processing model to generate a first sample answer information of a first sample question information (which can be understood as the initial question information); if the first feedback information for the first sample answer information indicates that the first sample answer information does not meet the business requirements of the target business, then the language processing model may be called to optimize the first sample question information based on the first feedback information to obtain the second sample question information (which can be understood as the regenerated question information); calling the language processing model to generate the second sample answer information of the second sample question information; if the second feedback information for the second sample answer information indicates that the second sample answer information does not meet the business requirements of the target business, then the sample question information may be continuously optimized and the sample answer information of the sample question information may be continuously generated until the generated sample answer information meets the business requirements of the target business. In the process of question information optimization, the question information may be the stored historical question information, or may be the question information submitted by the object in the target business, which is not limited in the embodiment of the present application; the generated sample answer information does not meet the business requirements of the target business, which may mean that the evaluation information of the sample answer information is a bad review information, and the generated sample answer information meets the business requirements of the target business, which may mean that the evaluation information of the sample answer information is a good review information.

[0201] In summary, the training and application processes of the language processing model are introduced. Fig.21As shown, after pre-training, fine-tuning and question information tuning, the language processing model can be put into use to respond to question information submitted by the target object and output response information; moreover, the language processing model can continue to learn and optimize during the application process.

[0202] Next, the training and adjustment process of the language processing model is introduced.

[0203] In an embodiment of the present application, the language processing model can adjust the training strategy based on feedback information during the training process. In addition, the language processing model can continue to train the optimization model during the application process. Therefore, the language processing model can also adjust the training strategy based on feedback information during the application process; that is, the language processing model can adjust the training strategy based on feedback information of the language processing model during the training process and the application process; the adjustment of the training strategy refers to adjusting the training strategy of the language processing model. The process of adjusting the training strategy of the language processing model may include: obtaining feedback information for the language processing model; if the feedback information indicates that the language processing model does not meet the business requirements of the target business, the language processing model may be trained according to the training strategy corresponding to the feedback information.

[0204] Feedback information can come from different processing stages of the language processing model. Obtaining feedback information for the language processing model can include: obtaining feedback information for the language processing model in the pre-training stage; obtaining feedback information for the language processing model in the fine-tuning stage; obtaining feedback information for the language processing model in the problem tuning stage; and obtaining feedback information for the language processing model during the model application process.

[0205] The feedback information may include at least one of the following: evaluation information on the reply information output by the language processing model; model learning information determined based on the difference between the marked reply information and the reply information output by the language processing model; and scoring information of the reply information output by the language processing model by the scoring model.

[0206] For example, the evaluation information of the reply information may be obtained during the model application process or the problem tuning stage of the language processing model; when the evaluation information is negative information, it can be determined that the feedback information indicates that the language processing model does not meet the business requirements of the target business. For another example, the model learning information may be obtained during the pre-training stage or fine-tuning stage of the language processing model. For example, the model learning information may include accuracy, recall rate, and learning curve, etc.; when the model learning information is lower than or higher than a preset learning threshold, it can be determined that the feedback information indicates that the language processing model does not meet the business requirements of the target business. For another example, the scoring information may be obtained during the fine-tuning stage of the language processing model. For example, the scoring information is the reward value of the reward model in the RLHF fine-tuning strategy for the reply information output by the language processing model; when the scoring value indicated by the scoring information is less than the scoring threshold, it can be determined that the feedback information indicates that the language processing model does not meet the business requirements of the target business.

[0207] Further, the training strategy includes at least one of the following: parameter adjustment strategy, structure adjustment strategy, training times adjustment strategy, data feeding strategy, and fine-tuning mode adjustment strategy. Parameter adjustment strategy refers to a strategy for adjusting model parameters of a language processing model; structure adjustment strategy refers to a strategy for adjusting the model structure of a language processing model; training times adjustment strategy refers to a strategy for adjusting the training times of a language processing model; data feeding strategy refers to a strategy for feeding training sample data to a language processing model; fine-tuning mode adjustment strategy refers to a strategy for adjusting the fine-tuning mode of a language processing model. Adjusting the fine-tuning mode of a language processing model may be, for example, adjusting the fine-tuning strategy, or adjusting the fine-tuning sequence between different fine-tuning strategies, or adjusting the parameters to be optimized during the fine-tuning process (for example, all parameters may be optimized, or some parameters may be optimized, or the model parameters of the language processing model may be frozen, and the parameters of the added bypass structure may be optimized, etc.).

[0208] The method for determining the training strategy corresponding to the feedback information may include any of the following: a custom determination method, or a mapping determination method. The following introduces the two methods for determining the training strategy respectively.

[0209] In the custom determination mode, the feedback information can be output to the debugging platform, which is provided with selection controls corresponding to different training strategies; the target training strategy can be determined as the training strategy corresponding to the feedback information in response to the selection operation of the selection control corresponding to the target training strategy in the debugging platform. In this way, the feedback information is output to the backend management personnel, and the training effect of the language processing model is very intuitive. The backend management personnel of the target business can customize the corresponding training strategy according to the feedback information to adjust the training process of the language processing model, so that the language processing model can meet the business needs of the target business more quickly.

[0210] In the mapping determination method, a feedback strategy mapping table can be obtained, and the feedback strategy mapping table can include different feedback information and the training strategy corresponding to each feedback information; the training strategy corresponding to the feedback information of the language processing model can be determined in the feedback strategy mapping table. In this way, based on the mapping relationship between the feedback information and the training strategy, the training strategy corresponding to the feedback information can be automatically and quickly determined, and the backstage management personnel do not need to select the training strategy, which can save the labor cost of the backstage management personnel.

[0211] In an embodiment of the present application, for question information submitted by a target object in a target business, answer information that is consistent with the role of the target object in the target business can be output for the question information, that is, the question information can be answered in the tone of the target object's role in the target business; this can make the answer to the question information more in line with the requirements of the target object, and can accurately answer the question information submitted by the target object, thereby improving the accuracy of the answer information. By training and adjusting the language processing model, the language processing model can meet the business requirements of the target business more quickly. By continuously training and optimizing the language processing model in combination with the feedback and evaluation of the target object during the application of the language processing model, the question answering ability of the language processing model can be adapted to changes in the target business and changes in the needs of the target object.

[0212] When the language processing model provided in the embodiment of the present application is applied to the intelligent customer service in the target business, compared with manual customer service, the embodiment of the present application has the advantages of low cost, high efficiency and high accuracy. Low cost means that for general and common problem information or some professional knowledge consultation about the target business, manual customer service is no longer required to handle it, especially for repetitive problem information, which greatly reduces the labor cost and improves the efficiency as a whole. High efficiency means that the embodiment of the present application can allow the intelligent customer service to run all the time, and can quickly respond to the object's problem information, instead of waiting in line for manual customer service to handle it; on the other hand, the object does not need to search on other platforms, but can directly obtain the business field related knowledge content of the target business through the language processing model. High accuracy means that the language processing model of the machine program can answer the object's question information more accurately by learning a large amount of data, and can even identify implicit information and trends, and provide the object with more additional effective information.

[0213] In addition, the language processing model provided in the embodiment of the present application also has customizability, high processing power, continuous learning and improvement, and multi-language processing capabilities. Customizability means that the language processing model can answer the questions and information that the object wants to consult according to the needs and preferences of the object, provide more personalized services, no longer overly rely on the need to be processed by other data platforms, and have the ability to independently complete the output of information flow data algorithm calculation results. High processing power means that the large language model of the machine program can process a large amount of data, which is impossible for humans to do, which enables the large language model to extract valuable information from a large amount of data and output it to the object. Continuous learning and improvement means that the large language model can continuously improve its performance and effects through continuous learning and training to provide better services. Multi-language processing capability means that the language processing model can process content in multiple languages, which is very important for global information acquisition.

[0214] The method of the embodiment of the present application is described in detail above. In order to facilitate better implementation of the above scheme of the embodiment of the present application, the device of the embodiment of the present application is provided below accordingly.

[0215] See also Fig. 22 , Fig. 22 It is a structural diagram of an information processing device provided in an embodiment of the present application. The information processing device can be set in the computer device provided in the embodiment of the present application. The computer device can be a terminal used by the object, or it can be a business processing system composed of a terminal used by the object and a business server. Fig. 22 The information processing device shown may be a computer program running in a computer device, and the information processing device may be used to execute Figure 2 Some or all of the steps in the method embodiment shown. Fig. 22 , the information processing device may include the following units:

[0216] Display unit 2201, used to display the service interface of the target business;

[0217] The display unit 2201 is further used to receive the first question information submitted by the target object in the service interface;

[0218] An acquisition unit 2202 is used to acquire a first role of a target object in a target business;

[0219] The display unit 2201 is further used to output first answer information corresponding to the first role in response to the first question information in the service interface.

[0220] In one implementation, the acquiring unit 2202 is used to acquire the first role of the target object in the target business, and is specifically used to perform the following steps:

[0221] Displaying candidate roles of the target object in the target business in the service interface;

[0222] In response to a candidate role selection operation of the target object, taking the candidate role selected by the candidate role selection operation as the first role of the target object in the target business;

[0223] The candidate role is obtained by performing role identification on the first question information, or the candidate role is preset by the target business.

[0224] In one implementation, the acquisition unit 2202 is configured to respond to the candidate role selection operation of the target object and, when taking the candidate role selected by the candidate role selection operation as the first role of the target object in the target business, specifically perform the following steps:

[0225] The candidate roles are presented in the service interface in the form of a candidate role list; in response to a candidate role selection operation of the target object in the candidate role list, the candidate role selected by the candidate role selection operation is used as the first role of the target object in the target business;

[0226] Alternatively, the candidate roles are presented in the service interface in the form of role question information; the role answer information submitted by the target object in response to the role question information is displayed in the service interface; and the candidate role indicated by the role answer information is used as the first role of the target object in the target business.

[0227] In one implementation, the display unit 2201 is further configured to perform the following steps:

[0228] Displaying the evaluation information submitted by the target object in response to the first reply information in the service interface;

[0229] The second reply information that matches the first role is displayed in the service interface, and the second reply information is obtained by optimizing the first reply information based on the evaluation information.

[0230] In one implementation, the display unit 2201 is used to display the evaluation information submitted by the target object for the first reply information in the service interface, and further to perform the following steps:

[0231] Displaying a candidate question information list in the service interface, the candidate question information list including one or more candidate question information, the candidate question information being obtained by optimizing the first reply information based on the evaluation information;

[0232] In response to a selection operation on target candidate question information in the candidate question information list, displaying the target candidate question information as second question information in the service interface;

[0233] The display unit 2201 is used to display the second reply information corresponding to the first role in the service interface, and is specifically used to perform the following steps:

[0234] In response to the second question information, second answer information that matches the first role is output in the service interface.

[0235] In one implementation, the display unit 2201 is used to display the evaluation information submitted by the target object for the first reply information in the service interface, and is specifically used to perform the following steps:

[0236] receiving an evaluation information selection operation in the candidate evaluation information list associated with the first reply information, and using the candidate evaluation information selected by the evaluation information selection operation as the submitted evaluation information;

[0237] Alternatively, submit evaluation information by submitting question information.

[0238] In one implementation, the display unit 2201 is further configured to perform the following steps:

[0239] Receiving, in the service interface, an operation of the target object switching its role in the target business from a first role to a second role;

[0240] In the service interface, third reply information that matches the second role is output for the current question information.

[0241] In one implementation, the display unit 2201 is further configured to perform the following steps:

[0242] Outputting role switching inquiry information in the service interface, where the role switching inquiry information is used to inquire the target object about its willingness to switch its role in the target business from the current role to the third role;

[0243] If the target object agrees to the role switch, the fourth reply information consistent with the third role is output in the service interface for the current question information.

[0244] According to one embodiment of the present application, Fig. 22 The various units in the information processing device shown can be separately or all combined into one or several other units to constitute, or one (some) of the units can also be split into multiple smaller units in function to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the functions of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the information processing device may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.

[0245] According to another embodiment of the present application, the program can be executed by running on a general computing device such as a computer including a central processing unit (CPU), a random access memory medium (RAM), a read-only memory medium (ROM), and other processing elements and storage elements. Figure 2 A computer program for each step involved in part or all of the method shown in the figure is used to construct a computer program for each step involved in part or all of the method shown in the figure. Fig. 22 The information processing device shown in the embodiment of the present application is implemented by the information processing method. The computer program can be recorded on a computer-readable storage medium, for example, and loaded into the above-mentioned computing device through the computer-readable storage medium and run therein.

[0246] In an embodiment of the present application, for question information submitted by the target object in the target business, answer information that is consistent with the role of the target object in the target business can be output for the question information. In other words, the question information can be replied to in the tone of the target object's role in the target business; in this way, the reply to the question information can be more in line with the requirements of the target object, and the question information submitted by the target object can be replied accurately, thereby improving the accuracy of the reply information.

[0247] See also Fig.23 , Fig.23 It is a structural diagram of an information processing device provided in an embodiment of the present application. The information processing device can be set in the computer device provided in the embodiment of the present application. The computer device can be a terminal used by the object, or it can be a business processing system composed of a terminal used by the object and a business server. Fig.23 The information processing device shown may be a computer program running in a computer device, and the information processing device may be used to execute Fig.12 Some or all of the steps in the method embodiment shown. Fig.23 , the information processing device may include the following units:

[0248] The acquisition unit 2301 is used to acquire the first question information submitted by the target object in the target business;

[0249] The acquisition unit 2301 is further used to acquire the first role of the target object in the target business;

[0250] The processing unit 2302 is used to call the language processing model to generate first answer information consistent with the first role according to the first role and the first question information.

[0251] In one implementation, the processing unit 2302 is used to call the language processing model to generate the first answer information that matches the first role according to the first role and the first question information, and is specifically used to perform the following steps:

[0252] Calling the language processing model to perform semantic understanding on the first question information to obtain semantic information of the first question information;

[0253] The language processing model is called to generate first reply information consistent with the first role based on the first role and the semantic information.

[0254] In one implementation, the language processing model adjusts the training strategy based on the feedback information of the language processing model during the training process and the application process; the processing unit 2302 is further used to perform the following steps:

[0255] Get feedback on language processing models;

[0256] If the feedback information indicates that the language processing model does not meet the business requirements of the target business, the language processing model is trained according to the training strategy corresponding to the feedback information.

[0257] In one implementation, the training process of the language processing model includes a training sample data acquisition stage, a training sample data parsing stage, a pre-training stage, a fine-tuning stage, and a problem tuning stage; the processing unit 2302 is used to obtain feedback information for the language processing model, specifically for performing at least one of the following:

[0258] Obtain feedback information for the language processing model during the pre-training phase;

[0259] Obtain feedback information for the language processing model during the fine-tuning phase;

[0260] Obtain feedback information on the language processing model during the problem tuning phase;

[0261] Obtain feedback information on the language processing model during model application;

[0262] The feedback information includes at least one of the following: evaluation information on the reply information output by the language processing model; model learning information determined based on the difference between the marked reply information and the reply information output by the language processing model; and scoring information of the reply information output by the language processing model by the scoring model.

[0263] In one implementation, the process of determining the training strategy corresponding to the feedback information includes:

[0264] Output the feedback information to the debugging platform, where selection controls corresponding to different training strategies are set;

[0265] In response to a selection operation on a selection control corresponding to a target training strategy in the debugging platform, determining the target training strategy as a training strategy corresponding to the feedback information;

[0266] Among them, the training strategy includes at least one of the following: parameter adjustment strategy, structure adjustment strategy, training times adjustment strategy, data feeding strategy, and fine-tuning mode adjustment strategy.

[0267] In one implementation, the process of determining the training strategy corresponding to the feedback information includes:

[0268] Obtain a feedback strategy mapping table, where the feedback strategy mapping table includes different feedback information and a training strategy corresponding to each feedback information;

[0269] Determine the training strategy corresponding to the feedback information of the language processing model in the feedback strategy mapping table;

[0270] Among them, the training strategy includes at least one of the following: parameter adjustment strategy, structure adjustment strategy, training times adjustment strategy, data feeding strategy, and fine-tuning mode adjustment strategy.

[0271] In one implementation, the training process of the language processing model includes a question tuning phase. The question tuning process of the question tuning phase of the language processing model includes:

[0272] Calling the language processing model to generate first sample answer information for first sample question information;

[0273] If the first feedback information for the first sample answer information indicates that the first sample answer information does not meet the business requirements of the target business, calling the language processing model to optimize the first sample question information based on the first feedback information to obtain second sample question information;

[0274] Calling the language processing model to generate second sample answer information for the second sample question information;

[0275] If the second feedback information for the second sample reply information indicates that the second sample reply information does not meet the business requirements of the target business, continue to optimize the sample question information and continue to generate sample reply information for the sample question information until the generated sample reply information meets the business requirements of the target business.

[0276] According to one embodiment of the present application, Fig.23The various units in the information processing device shown can be separately or all combined into one or several other units to constitute, or one (some) of the units can also be split into multiple smaller units in function to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the functions of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the information processing device may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.

[0277] According to another embodiment of the present application, the program can be executed by running on a general computing device such as a computer including a central processing unit (CPU), a random access memory medium (RAM), a read-only memory medium (ROM), and other processing elements and storage elements. Fig.12 A computer program for each step involved in part or all of the method shown in the figure is used to construct a computer program for each step involved in part or all of the method shown in the figure. Fig.23 The information processing device shown in the embodiment of the present application is implemented by the information processing method. The computer program can be recorded on a computer-readable storage medium, for example, and loaded into the above-mentioned computing device through the computer-readable storage medium and run therein.

[0278] In an embodiment of the present application, for question information submitted by the target object in the target business, answer information that is consistent with the role of the target object in the target business can be output for the question information. In other words, the question information can be replied to in the tone of the target object's role in the target business; in this way, the reply to the question information can be more in line with the requirements of the target object, and the question information submitted by the target object can be replied accurately, thereby improving the accuracy of the reply information.

[0279] Based on the above method and device embodiments, the present application embodiment provides a computer device. Fig.24 , Fig.24 It is a structural diagram of a computer device provided in an embodiment of the present application. Fig.24 The computer device shown includes at least a processor 2401, an input interface 2402, an output interface 2403, and a computer-readable storage medium 2404. The processor 2401, the input interface 2402, the output interface 2403, and the computer-readable storage medium 2404 may be connected via a bus or other means.

[0280] The computer-readable storage medium 2404 may be stored in a memory of a computer device. The computer-readable storage medium 2404 is used to store a computer program. The computer program includes computer instructions. The processor 2401 is used to execute the computer program stored in the computer-readable storage medium 2404. The processor 2401 (or CPU (Central Processing Unit)) is the computing core and control core of the computer device, which is suitable for implementing a computer program, and is specifically suitable for loading and executing a computer program to implement a corresponding method flow or a corresponding function.

[0281] The embodiment of the present application also provides a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It is understandable that the computer-readable storage medium here can include both built-in storage media in the computer device and, of course, extended storage media supported by the computer device. The computer-readable storage medium provides a storage space that stores the operating system of the computer device. In addition, a computer program suitable for being loaded and executed by a processor is also stored in the storage space. It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory (Non-Volatile Memory), such as at least one disk storage; optionally, it can also be at least one computer-readable storage medium located away from the aforementioned processor.

[0282] In some embodiments, the computer device may be a terminal used by the subject, or may be a business processing system composed of a terminal used by the subject and a business server. In a specific implementation, the processor 2401 may load and execute a computer program stored in the computer-readable storage medium 2404 to implement the above-mentioned Figure 2 In a specific implementation, the computer program in the computer-readable storage medium 2404 is loaded by the processor 2401 and executes the following steps:

[0283] Display the service interface of the target business;

[0284] Receiving first question information submitted by the target object in the service interface;

[0285] Get the target object's primary role in the target business;

[0286] In the service interface, first answer information consistent with the first role is output in response to the first question information.

[0287] In one implementation, when the computer program in the computer-readable storage medium 2404 is loaded and executed by the processor 2401 to obtain the first role of the target object in the target business, it is specifically used to perform the following steps:

[0288] Displaying candidate roles of the target object in the target business in the service interface;

[0289] In response to a candidate role selection operation of the target object, taking the candidate role selected by the candidate role selection operation as the first role of the target object in the target business;

[0290] The candidate role is obtained by performing role identification on the first question information, or the candidate role is preset by the target business.

[0291] In one implementation, the computer program in the computer-readable storage medium 2404 is loaded and executed by the processor 2401 in response to the candidate role selection operation of the target object, and when the candidate role selected by the candidate role selection operation is used as the first role of the target object in the target business, it is specifically used to perform the following steps:

[0292] The candidate roles are presented in the service interface in the form of a candidate role list; in response to a candidate role selection operation of the target object in the candidate role list, the candidate role selected by the candidate role selection operation is used as the first role of the target object in the target business;

[0293] Alternatively, the candidate roles are presented in the service interface in the form of role question information; the role answer information submitted by the target object in response to the role question information is displayed in the service interface; and the candidate role indicated by the role answer information is used as the first role of the target object in the target business.

[0294] In one implementation, the computer program in the computer readable storage medium 2404 is loaded by the processor 2401 and is further used to perform the following steps:

[0295] Displaying the evaluation information submitted by the target object in response to the first reply information in the service interface;

[0296] The second reply information that matches the first role is displayed in the service interface, and the second reply information is obtained by optimizing the first reply information based on the evaluation information.

[0297] In one implementation, the computer program in the computer-readable storage medium 2404 is loaded and executed by the processor 2401 to display the evaluation information submitted by the target object for the first reply information in the service interface, and is further used to perform the following steps:

[0298] Displaying a candidate question information list in the service interface, the candidate question information list including one or more candidate question information, the candidate question information being obtained by optimizing the first reply information based on the evaluation information;

[0299] In response to a selection operation on target candidate question information in the candidate question information list, displaying the target candidate question information as second question information in the service interface;

[0300] When the computer program in the computer-readable storage medium 2404 is loaded and executed by the processor 2401 to display the second reply information corresponding to the first role in the service interface, it is specifically used to perform the following steps:

[0301] In response to the second question information, second answer information that matches the first role is output in the service interface.

[0302] In one implementation, the computer program in the computer-readable storage medium 2404 is loaded and executed by the processor 2401 to display the evaluation information submitted by the target object for the first reply information in the service interface, and is specifically used to perform the following steps:

[0303] receiving an evaluation information selection operation in the candidate evaluation information list associated with the first reply information, and using the candidate evaluation information selected by the evaluation information selection operation as the submitted evaluation information;

[0304] Alternatively, submit evaluation information by submitting question information.

[0305] In one implementation, the computer program in the computer-readable storage medium 2404 is loaded by the processor 2401 and is further used to perform the following steps:

[0306] Receiving, in the service interface, an operation of the target object switching its role in the target business from a first role to a second role;

[0307] In the service interface, third reply information that matches the second role is output for the current question information.

[0308] In one implementation, the computer program in the computer-readable storage medium 2404 is loaded by the processor 2401 and is further used to perform the following steps:

[0309] Outputting role switching inquiry information in the service interface, where the role switching inquiry information is used to inquire the target object about its willingness to switch its role in the target business from the current role to the third role;

[0310] If the target object agrees to the role switch, the fourth reply information consistent with the third role is output in the service interface for the current question information.

[0311] In other embodiments, the computer device may be a terminal used by the subject, or may be a business processing system composed of a terminal used by the subject and a business server. In a specific implementation, the processor 2401 may load and execute a computer program stored in the computer-readable storage medium 2404 to implement the above-mentioned Fig.12 In a specific implementation, the computer program in the computer-readable storage medium 2404 is loaded by the processor 2401 and executes the following steps:

[0312] Obtain the first question information submitted by the target object in the target business;

[0313] Get the target object's primary role in the target business;

[0314] The language processing model is called to generate first answer information consistent with the first role according to the first role and the first question information.

[0315] In one implementation, when the computer program in the computer-readable storage medium 2404 is loaded and executed by the processor 2401 to call the language processing model to generate first answer information consistent with the first role according to the first role and the first question information, it is specifically used to perform the following steps:

[0316] Calling the language processing model to perform semantic understanding on the first question information to obtain semantic information of the first question information;

[0317] The language processing model is called to generate first reply information consistent with the first role based on the first role and the semantic information.

[0318] In one implementation, the language processing model adjusts the training strategy based on the feedback information of the language processing model during the training process and the application process; the computer program in the computer-readable storage medium 2404 is loaded by the processor 2401 and is also used to perform the following steps:

[0319] Get feedback on language processing models;

[0320] If the feedback information indicates that the language processing model does not meet the business requirements of the target business, the language processing model is trained according to the training strategy corresponding to the feedback information.

[0321] In one implementation, the training process of the language processing model includes a training sample data acquisition stage, a training sample data parsing stage, a pre-training stage, a fine-tuning stage, and a problem tuning stage; when the computer program in the computer-readable storage medium 2404 is loaded and executed by the processor 2401 to obtain feedback information for the language processing model, it is specifically used to perform at least one of the following:

[0322] Obtain feedback information for the language processing model during the pre-training phase;

[0323] Obtain feedback information for the language processing model during the fine-tuning phase;

[0324] Obtain feedback information on the language processing model during the problem tuning phase;

[0325] Obtain feedback information on the language processing model during model application;

[0326] The feedback information includes at least one of the following: evaluation information on the reply information output by the language processing model; model learning information determined based on the difference between the marked reply information and the reply information output by the language processing model; and scoring information of the reply information output by the language processing model by the scoring model.

[0327] In one implementation, the process of determining the training strategy corresponding to the feedback information includes:

[0328] Output the feedback information to the debugging platform, where selection controls corresponding to different training strategies are set;

[0329] In response to a selection operation on a selection control corresponding to a target training strategy in the debugging platform, determining the target training strategy as a training strategy corresponding to the feedback information;

[0330] Among them, the training strategy includes at least one of the following: parameter adjustment strategy, structure adjustment strategy, training times adjustment strategy, data feeding strategy, and fine-tuning mode adjustment strategy.

[0331] In one implementation, the process of determining the training strategy corresponding to the feedback information includes:

[0332] Obtain a feedback strategy mapping table, where the feedback strategy mapping table includes different feedback information and a training strategy corresponding to each feedback information;

[0333] Determine the training strategy corresponding to the feedback information of the language processing model in the feedback strategy mapping table;

[0334] Among them, the training strategy includes at least one of the following: parameter adjustment strategy, structure adjustment strategy, training times adjustment strategy, data feeding strategy, and fine-tuning mode adjustment strategy.

[0335] In one implementation, the training process of the language processing model includes a question tuning phase. The question tuning process of the question tuning phase of the language processing model includes:

[0336] Calling the language processing model to generate first sample answer information for first sample question information;

[0337] If the first feedback information for the first sample answer information indicates that the first sample answer information does not meet the business requirements of the target business, calling the language processing model to optimize the first sample question information based on the first feedback information to obtain second sample question information;

[0338] Calling the language processing model to generate second sample answer information for the second sample question information;

[0339] If the second feedback information for the second sample reply information indicates that the second sample reply information does not meet the business requirements of the target business, continue to optimize the sample question information and continue to generate sample reply information for the sample question information until the generated sample reply information meets the business requirements of the target business.

[0340] In an embodiment of the present application, for question information submitted by the target object in the target business, answer information that is consistent with the role of the target object in the target business can be output for the question information. In other words, the question information can be replied to in the tone of the target object's role in the target business; in this way, the reply to the question information can be more in line with the requirements of the target object, and the question information submitted by the target object can be replied accurately, thereby improving the accuracy of the reply information.

[0341] The embodiment of the present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the above-mentioned information processing method.

[0342] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0343] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0344] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted by a computer-readable storage medium. The computer instructions can be transmitted from a website site, a computer, a server or a data center to another website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.

[0345] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An information processing method, It is characterized in that include: Display the service interface of the target business; Receiving first question information submitted by a target object in the service interface; Acquire a first role of the target object in the target business; In response to the first question information, first reply information consistent with the first role is output in the service interface.

2. The method according to claim 1, It is characterized in that The obtaining the first role of the target object in the target business includes: Displaying candidate roles of the target object in the target business in the service interface; In response to a candidate role selection operation of the target object, taking the candidate role selected by the candidate role selection operation as a first role of the target object in the target business; The candidate role is obtained by performing role identification on the first question information, or the candidate role is preset by the target business.

3. The method according to claim 2, It is characterized in that In response to the candidate role selection operation of the target object, taking the candidate role selected by the candidate role selection operation as the first role of the target object in the target business, includes: The candidate roles are presented in the service interface in the form of a candidate role list; in response to the target object's candidate role selection operation in the candidate role list, the candidate role selected by the candidate role selection operation is used as the first role of the target object in the target business; or The candidate roles are presented in the service interface in the form of role question information; role answer information submitted by the target object in response to the role question information is displayed in the service interface; and the candidate role indicated by the role answer information is used as the first role of the target object in the target business.

4. The method according to claim 1, It is characterized in that The method further comprises: Displaying the evaluation information submitted by the target object in response to the first reply information in the service interface; Second reply information that matches the first role is displayed in the service interface, and the second reply information is obtained by optimizing the first reply information based on the evaluation information.

5. The method according to claim 4, It is characterized in that After displaying the evaluation information submitted by the target object in response to the first reply information in the service interface, the method further includes: Displaying a candidate question information list in the service interface, the candidate question information list including one or more candidate question information, the candidate question information being obtained by optimizing the first answer information based on the evaluation information; In response to a selection operation on target candidate question information in the candidate question information list, displaying the target candidate question information as second question information in the service interface; The displaying of the second reply information corresponding to the first role in the service interface includes: In response to the second question information, second answer information consistent with the first role is output in the service interface.

6. The method according to claim 4 or 5, It is characterized in that The displaying, in the service interface, the evaluation information submitted by the target object in response to the first reply information includes: receiving an evaluation information selection operation in the candidate evaluation information list associated with the first reply information, and using the candidate evaluation information selected by the evaluation information selection operation as the submitted evaluation information; or, Submit the evaluation information in the manner of submitting question information.

7. The method according to claim 1, It is characterized in that The method further comprises: receiving, in the service interface, an operation of the target object switching its role in the target business from the first role to the second role; In the service interface, third reply information consistent with the second role is output for the current question information.

8. The method according to claim 1, It is characterized in that The method further comprises: Outputting role switching inquiry information in the service interface, wherein the role switching inquiry information is used to inquire the target object about its willingness to switch its role in the target business from the current role to a third role; If the target object agrees to the role switch, the fourth reply information consistent with the third role is output in the service interface for the current question information.

9. An information processing method, It is characterized in that include: Obtain the first question information submitted by the target object in the target business; Acquire a first role of the target object in the target business; The language processing model is called to generate first answer information consistent with the first role according to the first role and the first question information.

10. The method according to claim 9, It is characterized in that The calling language processing model generates first answer information consistent with the first role according to the first role and the first question information, including: Calling the language processing model to perform semantic understanding on the first question information to obtain semantic information of the first question information; The language processing model is called to generate first reply information consistent with the first role based on the first role and the semantic information.

11. The method according to claim 9, It is characterized in that The language processing model adjusts the training strategy based on feedback information of the language processing model during the training process and the application process; the method also includes: Obtaining feedback information for the language processing model; If the feedback information indicates that the language processing model does not meet the business requirement of the target business, the language processing model is trained according to the training strategy corresponding to the feedback information.

12. The method according to claim 11, It is characterized in that The training process of the language processing model includes a training sample data acquisition stage, a training sample data parsing stage, a pre-training stage, a fine-tuning stage, and a problem tuning stage; the obtaining of feedback information for the language processing model includes at least one of the following: Obtaining feedback information for the language processing model in the pre-training phase; Obtaining feedback information for the language processing model in the fine-tuning phase; Obtaining feedback information on the language processing model during the problem tuning phase; Obtaining feedback information for the language processing model during model application; The feedback information includes at least one of the following: evaluation information on the reply information output by the language processing model; model learning information determined based on the difference between the marked reply information and the reply information output by the language processing model; and scoring information of the reply information output by the language processing model by a scoring model.

13. The method according to claim 11 or 12, It is characterized in that The process of determining the training strategy corresponding to the feedback information includes: Outputting the feedback information to a debugging platform, wherein the debugging platform is provided with selection controls corresponding to different training strategies; In response to a selection operation on a selection control corresponding to a target training strategy in the debugging platform, determining the target training strategy as the training strategy corresponding to the feedback information; The training strategy includes at least one of the following: a parameter adjustment strategy, a structure adjustment strategy, a training times adjustment strategy, a data feeding strategy, and a fine-tuning mode adjustment strategy.

14. The method according to claim 11 or 12, It is characterized in that The process of determining the training strategy corresponding to the feedback information includes: Obtaining a feedback strategy mapping table, wherein the feedback strategy mapping table includes different feedback information and a training strategy corresponding to each feedback information; Determining in the feedback strategy mapping table the training strategy corresponding to the feedback information of the language processing model; The training strategy includes at least one of the following: a parameter adjustment strategy, a structure adjustment strategy, a training times adjustment strategy, a data feeding strategy, and a fine-tuning mode adjustment strategy.

15. The method according to claim 11 or 12, It is characterized in that The training process of the language processing model includes a problem tuning stage; the problem tuning process of the problem tuning stage of the language processing model includes: Calling the language processing model to generate first sample answer information for first sample question information; If the first feedback information for the first sample answer information indicates that the first sample answer information does not meet the business requirement of the target business, calling the language processing model to optimize the first sample question information based on the first feedback information to obtain second sample question information; Calling the language processing model to generate second sample answer information for the second sample question information; If the second feedback information for the second sample reply information indicates that the second sample reply information does not meet the business requirements of the target business, continue to optimize the sample question information and continue to generate sample reply information for the sample question information until the generated sample reply information meets the business requirements of the target business.

16. An information processing device, It is characterized in that include: A display unit, used to display a service interface of a target business; The display unit is further used to receive first question information submitted by the target object in the service interface; An acquiring unit, configured to acquire a first role of the target object in the target business; The display unit is further configured to output first answer information corresponding to the first role in response to the first question information in the service interface.

17. An information processing device, It is characterized in that include: An acquisition unit, used for acquiring first question information submitted by a target object in a target business; The acquisition unit is further used to acquire a first role of the target object in the target business; A processing unit is used to call a language processing model to generate first answer information consistent with the first role according to the first role and the first question information.

18. A computer device, It is characterized in that The computer device comprises: a processor suitable for implementing a computer program; A computer-readable storage medium storing a computer program, wherein the computer program is suitable for being loaded by the processor and executing the information processing method as described in any one of claims 1 to 8, or the information processing method as described in any one of claims 9 to 15.

19. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the information processing method according to any one of claims 1 to 8, or the information processing method according to any one of claims 9 to 15.

20. A computer program product, It is characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the information processing method according to any one of claims 1 to 8 or the information processing method according to any one of claims 9 to 15 is implemented.