Information processing method and device, equipment and storage medium

By determining the response status and target execution steps based on historical dialogue and input information in the large language model, and generating response prompt information, it solves the problem of how LLM maintains flexible and high-quality responses in task-based dialogues, and achieves precise control and control of dialogues. Efficient generation of response messages.

CN118626609APending Publication Date: 2024-09-10联想诺谛(北京)智能科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410658224.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

When applying large language models (LLM) to task-based conversations, how to control the conversation according to a specific process while maintaining flexibility and high-quality responses is an urgent problem to be solved.

Method used

By determining the current response status based on historical conversations and input information, determining target execution steps, and generating response prompt information for input to the large model, the accuracy and flexibility of the response information are ensured. Specific methods include: identifying the response process based on intent, determining the target execution steps, and generating response prompt information through the response process and current response status to avoid the response information being too long or deviating from the process.

Benefits of technology

It enables LLM to generate high-quality and flexible response information under specific process control, ensuring the accuracy of the response and compliance with the process, and avoiding the problems of low accuracy of response information and deviation from the process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118626609A
    Figure CN118626609A
Patent Text Reader

Abstract

The invention provides an information processing method and device, equipment and a storage medium, and relates to the technical field of computers. The information processing method comprises the steps that a current response state is determined based on a historical dialogue and first input information, and the current response state comprises completed historical response steps and the intention of the first input information; determining a corresponding target execution step based on a response process corresponding to the first input information and a current response state; on the basis of the target execution step, response prompt information corresponding to the first input information is generated; and inputting the response prompt information into the large model to generate response information corresponding to the first input information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to an information processing method, device, equipment and storage medium. Background Art

[0002] At present, the Large Language Model (LLM) has a very powerful multi-round dialogue capability, which can flexibly provide high-quality responses. However, when LLM is applied to task-based dialogues with specific processes, how to make LLM control the dialogue according to the specific process while maintaining flexible and high-quality responses is an urgent problem to be solved. Summary of the invention

[0003] The present disclosure provides an information processing method, device, equipment and storage medium to at least solve the above technical problems existing in the prior art.

[0004] According to a first aspect of the present disclosure, there is provided an information processing method, the method comprising: determining a current response state based on historical conversations and first input information, the current response state comprising completed historical response steps and the intention of the first input information; determining corresponding target execution steps based on a response process corresponding to the first input information and the current response state; generating response prompt information corresponding to the first input information based on the target execution steps; and inputting the response prompt information into a large model to generate response information corresponding to the first input information.

[0005] In one possible implementation, the response process corresponding to the first input information is determined based on at least one of the following: determining the response process corresponding to the first input information based on the intention of the first input information; determining the response process corresponding to the dialogue information in the process library whose similarity with the first input information reaches a first threshold as the response process corresponding to the first input information, wherein the process library includes dialogue information and the response process corresponding to the dialogue information.

[0006] In one possible implementation, the response process corresponding to the first input information and the current response state determine the corresponding target execution step, including: if the similarity between the intention of the first input information and the intention of the historical conversation meets a second threshold, the next response step of the historical response step in the response process is determined as the target execution step; if the similarity between the intention of the first input information and the intention of the historical conversation does not meet the second threshold, the response step related to the intention of the first input information in the response process is determined as the target execution step, or, the target execution step that needs to be executed after the current response state is generated based on the intention of the first input information.

[0007] In one possible implementation, the generating of response prompt information corresponding to the first input information based on the target execution step includes: splicing the response process, the current response status and the target execution step based on a conjunction to generate the response prompt information corresponding to the first input information.

[0008] In one possible implementation, the generation of response prompt information corresponding to the first input information based on the target execution step includes: based on a preset filling rule, filling the response process, the current response status and the target execution step into a prompt information template to generate a response prompt information corresponding to the first input information.

[0009] In one possible implementation, an information processing method further includes: receiving feedback information for the response information, the feedback information including a degree of match between the response information and the first input information and at least one of response steps that need to be executed based on second input information for the response information; wherein the feedback information is generated by a feedback model based on the degree of match, the response process and the target execution step determined by the second input information.

[0010] In one possible implementation, an information processing method further includes: generating response prompt information corresponding to the second input information based on the feedback information, the response process and a current response state corresponding to the second input information.

[0011] According to a second aspect of the present disclosure, there is provided an information processing device, the device comprising: a first determination module, for determining a current response state based on historical conversations and first input information, the current response state comprising completed historical response steps and the intention of the first input information; a second determination module, for determining a corresponding target execution step based on a response flow corresponding to the first input information and the current response state; a generation module, for generating response prompt information corresponding to the first input information based on the target execution step; and an input module, for inputting the response prompt information into a large model to generate response information corresponding to the first input information.

[0012] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0013] at least one processor; and

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

[0015] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform: determining a current response state based on historical conversations and first input information, wherein the current response state includes completed historical response steps and the intention of the first input information; determining corresponding target execution steps based on a response process corresponding to the first input information and the current response state; generating response prompt information corresponding to the first input information based on the target execution steps; and inputting the response prompt information into a large model to generate response information corresponding to the first input information.

[0016] According to a fourth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute: based on historical conversations and first input information, determine a current response state, wherein the current response state includes completed historical response steps and the intention of the first input information; based on a response flow corresponding to the first input information and the current response state, determine the corresponding target execution steps; based on the target execution steps, generate response prompt information corresponding to the first input information; and input the response prompt information into a large model to generate response information corresponding to the first input information.

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

[0018] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:

[0019] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.

[0020] Figure 1 A schematic diagram showing a process of an information processing method according to an embodiment of the present disclosure Figure 1 ;

[0021] Figure 2 A schematic diagram showing a process of an information processing method according to an embodiment of the present disclosure Figure 2 ;

[0022] Figure 3 A schematic diagram showing a process of an information processing method according to an embodiment of the present disclosure Figure 3 ;

[0023] Figure 4A schematic diagram showing a scenario of an information processing method according to an embodiment of the present disclosure Figure 1 ;in,

[0024] Figure 4 A shows a schematic diagram of the response process corresponding to booking a conference room;

[0025] Figure 4 B shows a schematic diagram of a control scenario for booking a conference room in the prior art;

[0026] Figure 4 C shows a schematic diagram of a control scenario for booking a conference room according to an embodiment of the present disclosure;

[0027] Figure 5 A schematic diagram showing a scenario of an information processing method according to an embodiment of the present disclosure Figure 2 ;

[0028] Figure 6 A schematic diagram of the structure of an information processing device according to an embodiment of the present disclosure is shown;

[0029] Figure 7 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0030] In order to make the purpose, features, and advantages of the present disclosure more obvious and easy to understand, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0031] Figure 1 A schematic diagram showing a process of an information processing method according to an embodiment of the present disclosure Figure 1 ,like Figure 1 As shown, an information processing method includes:

[0032] Step S101, determining the current response state based on the historical dialogue and the first input information.

[0033] In the present disclosure, an information processing method can be applied to an agent module (Flow Agent), which can at least output answer prompt information corresponding to the first input information based on the first input information input by the user, the answer process corresponding to the first input information, and the historical conversation. The agent module trains the generative model through sample input information, sample answer process corresponding to the sample input information, sample historical conversations, and sample answer prompt information.

[0034] After receiving the first input information input by the user and the corresponding historical conversation of the user, the agent module first determines the historical response steps that have been completed up to the first input information based on the historical conversation and the first input information, and performs intent recognition on the first input information to obtain the intention of the first input information. The historical response steps and the intention of the first input information are the current response state.

[0035] Step S102, determining the corresponding target execution step based on the response process corresponding to the first input information and the current response state.

[0036] In the present disclosure, the response process corresponding to the first input information may be a response process related to the intention of the first input information. For example, if the first input information is "I want to book a meeting room", the response process corresponding to the first input information may be "ask about the meeting start time - ask about the meeting duration - ask about the number of meeting people - query the meeting room".

[0037] The proxy module can determine the target execution step for the first input information based on the response process and the current response state corresponding to the first input information. The target execution step may be a step in the response process or may not be a step in the response process. For example, for the scenario of booking a conference room, if the historical response step completed in the current response state is "the user has provided the meeting start time", and the intention of the first input information is "booking a conference room", then the target execution step can be "asking about the meeting duration" or "asking about the meeting duration and the number of meeting people", that is, the target execution step is the next step or multiple steps after the historical response step in the response process corresponding to the first input information; if the historical response step completed in the current response state is "the user has provided the meeting start time", and the intention of the first input information is "booking a conference room with a good environment", since there is no response step related to inquiring about the environmental conditions of the conference room in the response process corresponding to booking a conference room, the proxy module can directly generate the target execution step corresponding to the first input information based on the first input information, such as "asking about the conference room environmental conditions required by the user".

[0038] Step S103: Based on the target execution step, response prompt information corresponding to the first input information is generated.

[0039] In the present disclosure, the proxy module can directly determine the target execution step as the response prompt information corresponding to the first input information, or it can jointly splice the response process, the current response status and the target execution step into the response prompt information corresponding to the first input information. For example, for the scenario of booking a conference room, the response prompt information can be "The response process for booking a conference room is to ask about the meeting start time - ask about the meeting duration - ask about the number of meeting people - query the conference room. The user has provided the meeting start time. Please ask about the meeting duration and the number of meeting people."

[0040] Step S104, inputting the response prompt information into the large model to generate response information corresponding to the first input information.

[0041] In the present disclosure, after the agent module generates the response prompt information corresponding to the first input information, it will input the response prompt information into the big model, such as LLM, so that the big model generates the response information corresponding to the first input information based on the response prompt information. For example, if the first input information is "I want to book a meeting room. The meeting will start at 2 pm on May 1, 2024", and the response prompt information corresponding to the first input information is "The response process for booking a meeting room is to ask about the meeting start time - ask about the meeting duration - ask about the number of meeting people - query the meeting room. The user has provided the meeting start time. Please ask about the meeting duration and the number of meeting people." The big model can generate the response information corresponding to the first input information based on the response prompt information, "Please provide your meeting duration and the number of meeting people."

[0042] In the present disclosure, unlike the related art that directly uses the historical conversation and the first input information as the response prompt information of the first input information, the current response state is first determined from the historical conversation and the first input information, and the corresponding target execution steps are accurately determined based on the response process corresponding to the first input information and the current response state, and the response prompt information is generated based on the target execution steps. This avoids the problem in the related art that the response prompt information is long, resulting in a lack of focus when the LLM generates the response information, and the accuracy of the response information is not high. The present disclosure ensures the accuracy of the response prompt information and the response information; in addition, the target execution step in the present disclosure may be a step in the response process or not in the response process, that is, when generating the response information, the large model not only refers to the response process corresponding to the first input information, but also refers to the intention of the first input information, and can generate response information that is not in the response process but satisfies the first input information, thereby ensuring that the LLM can control the conversation according to a specific process and maintain flexible and high-quality responses.

[0043] In one possible implementation, the response process corresponding to the first input information in step S102 is determined based on at least one of the following:

[0044] Determine a response process corresponding to the first input information based on the intention of the first input information, that is, determine the response process corresponding to the intention of the first input information as the response process corresponding to the first input information;

[0045] The response process corresponding to the dialogue information in the process library whose similarity with the first input information reaches a first threshold is determined as the response process corresponding to the first input information. The process library includes dialogue information and the response process corresponding to the dialogue information, that is, the process library stores dialogue information and the response process corresponding to the dialogue information. After receiving the first input information, the similarity between the first input information and the dialogue information in the process library can be determined. If the similarity reaches the first threshold, the response process corresponding to the dialogue information is determined as the response process corresponding to the first input information. In an example, the determination of the response process corresponding to the first input information in the present disclosure can be completed by the proxy module or by the process selector.

[0046] Figure 2 A schematic diagram showing a process of an information processing method according to an embodiment of the present disclosure Figure 2 ,like Figure 2 As shown, an information processing method includes:

[0047] Step S201, determining the current response state based on the historical dialogue and the first input information.

[0048] The specific implementation details of step S201 are similar to those of step S101 and will not be repeated here.

[0049] If the similarity between the intention of the first input information and the intention of the historical conversation meets the second threshold, step S202 is executed to determine the next response step of the historical response step in the response process as the target execution step.

[0050] In the present disclosure, if the similarity between the intention of the first input information and the intention of the previous historical conversation at least meets the second threshold, it proves that the conversation has been based on the response process corresponding to the first input information at least since the previous historical conversation. Therefore, the next response step of the historical response step in the response process can be directly determined as the target execution step.

[0051] If the similarity between the intention of the first input information and the intention of the historical conversation does not meet the second threshold, execute step S203 to determine the response step related to the intention of the first input information in the response process as the target execution step, or, generate the target execution step that needs to be executed after the current response state is generated based on the intention of the first input information.

[0052] In the present disclosure, if the similarity between the intention of the first input information and the intention of at least the previous historical conversation does not meet the second threshold, it proves that the response process corresponding to the first input information is at least different from the response process corresponding to the previous historical conversation, or the response process corresponding to the first input information is the same as the response process corresponding to the previous historical conversation but the intention of the first input information has deviated from the content of the response process. Therefore, it can be determined whether there is a response step related to the intention of the first input information in the response process corresponding to the first input information. If so, the response step related to the intention of the first input information in the response process is determined as the target execution step; if not, the target execution step to be executed after the current response state is generated directly based on the intention of the first input information.

[0053] Figure 4 A schematic diagram showing a scenario of an information processing method according to an embodiment of the present disclosure Figure 1 ,like Figure 4 A and Figure 4 The content in the dotted box in B is the answer prompt information, such as Figure 4 As shown in A, the corresponding response process for booking a conference room is "ask for the meeting start time - ask for the meeting duration - ask for the number of meeting people - query the conference room"; Figure 4 As shown in B, in the related art, if the user wants to book a conference room, the large model can only perform dialogue control based on the response process corresponding to booking a conference room. Therefore, for the user's input information "I want to change the time", although the response process corresponding to the input information is still the response process corresponding to booking a conference room, because the intention of "I want to change the time" deviates from the content of the response process corresponding to booking a conference room, that is, there is no step corresponding to "modify time" in the response process corresponding to booking a conference room, the large model cannot perform dialogue control based on the response process, and therefore can only jump out of the response process.

[0054] And as Figure 4As shown in C, in the present disclosure, if the user wants to book a conference room, the large model performs dialogue control based on the response process corresponding to the conference room booking. For the user's input information "I want to change the time", although the intention of "I want to change the time" deviates from the content of the response process corresponding to the conference room booking, the agent module can determine whether there is a response step related to the intention of "I want to change the time" in the response process corresponding to the first input information. Since the response step of "asking about the meeting start time" in the response process corresponding to the conference room booking is related to the intention of "I want to change the time", "asking about the meeting start time" can be used as a target execution step, and a response prompt message "To query the conference room, you need to ask about the meeting start time, meeting duration and number of meeting people. The user needs to modify the meeting start time. Please ask about the meeting start time again" is generated based on the target execution step. The large model can generate a response message "OK, what time do you need to modify the meeting start time to?" based on the response prompt message; if there is no response step related to the intention of "I want to change the time" in the response process corresponding to the first input information, the agent module can directly generate the corresponding target execution step based on the intention of "I want to change the time".

[0055] Step S204: Based on the target execution step, generate response prompt information corresponding to the first input information.

[0056] Step S205, inputting the response prompt information into the large model to generate response information corresponding to the first input information.

[0057] The specific implementation details of step S204-step S205 are similar to those of step S103-step S104 and will not be repeated here.

[0058] In the present disclosure, if the similarity between the intention of the first input information and the intention of the historical conversation meets the second threshold, the next response step of the historical response step in the response process is determined as the target execution step; if the similarity between the intention of the first input information and the intention of the historical conversation does not meet the second threshold, the response step related to the intention of the first input information in the response process is determined as the target execution step, or the target execution step to be executed after the current response state is generated based on the intention of the first input information, so that the large model can control the conversation according to the response process and maintain flexible and high-quality responses, avoiding the situation where the response process is jumped out of the current response process due to the intention of the input information deviating from the content of the current response process.

[0059] In one possible implementation, step S103 and step S204 generate response prompt information corresponding to the first input information based on the target execution step, including: splicing the response process, the current response status and the target execution step based on the connecting words to generate the response prompt information corresponding to the first input information, wherein the connecting words can be set in advance according to actual conditions.

[0060] In one embodiment, step S103 and step S204 generate response prompt information corresponding to the first input information based on the target execution steps, including: based on preset filling rules, filling the response process, current response status and target execution steps into the prompt information template, and generating response prompt information corresponding to the first input information, wherein the prompt information template can be set in advance according to actual conditions, and the preset filling rules are the filling rules corresponding to the prompt information template. The filling rules may include filling in each step of the response process into the corresponding area, or merging the response process into a sentence and filling in the corresponding area, etc.

[0061] Figure 3 A schematic diagram showing a process of an information processing method according to an embodiment of the present disclosure Figure 3 ,like Figure 3 As shown, an information processing method includes:

[0062] Step S301, determining the current response state based on the historical dialogue and the first input information.

[0063] Step S302: determining the corresponding target execution step based on the response process corresponding to the first input information and the current response state.

[0064] Step S303: Based on the target execution step, generate response prompt information corresponding to the first input information.

[0065] Step S304: input the response prompt information into the large model to generate response information corresponding to the first input information.

[0066] The specific implementation details of step S301 to step S304 are similar to those of step S101 to step S104 and are not repeated here.

[0067] Step S305: receiving feedback information for the response information.

[0068] In the present disclosure, feedback information includes a degree of match between response information and first input information and at least one of response steps that need to be executed based on second input information for the response information. The feedback information can be generated by a feedback model, and the feedback model can determine the degree of match between the first input information and the response information based on the second input information. For example, if the second input information reflects requirements such as clarification and correction, it proves that the response information has a low degree of match between the first input information and the first input information. The degree of match can be determined as feedback information for the response information, or feedback information for the response information can be generated based on the degree of match, the response process and the target execution steps.

[0069] by Figure 4 Taking C as an example, if the big model outputs the response information "Please provide your meeting duration" for the first input information "I want to change the time" input by the user, and the second input information of the user for the response information is "No, I want to change the meeting start time first", the feedback model can determine based on the second input information that the response information has a low match with the first input information, such as 0.3, and can determine 0.3 as the feedback information for the response information, or generate feedback information for the response information based on the match, the response process and the target execution steps, such as "The response information has a match with the first input information of 0.3. To query the meeting room, you need to ask about the meeting start time, meeting duration and number of meeting people. The user needs to modify the meeting start time. Please ask about the meeting start time again." In one example, the feedback model can be a goal-oriented reward model.

[0070] by Figure 4 For example, if "I want to change the time" is "I want to book a meeting room with a good environment", the response prompt information can be "The response process for querying the meeting room is to ask about the meeting start time - ask about the meeting duration - ask about the number of meeting people - query the meeting room. The user has provided the meeting start time, but the user wants a meeting room with a better environment. Please ask the user about the meeting room environment conditions required by the user." The response information output by the large model can be "Please provide the meeting room environment conditions you need." If the user's second input information for the response information is "I need a meeting room with two projectors", the feedback model determines based on the second input information that the response information has a high match with the first input information, such as 0.8, but due to the deviation from the first input information to the second input information Figure 4 The response process shown in A requires feedback information to instruct the large model to pull the conversation back to the response process in the next round of dialogue. Therefore, the feedback information can be: "The matching degree between the response information and the first input information is 0.8. To query the meeting room, you need to ask the meeting start time, meeting duration and number of meeting members. The meeting start time has been asked. Please ask the meeting duration and number of meeting members", so that the large model can pull the conversation back to the response process in the next round of dialogue.

[0071] Step S306: Generate response prompt information corresponding to the second input information based on the feedback information, the response process and the current response state corresponding to the second input information.

[0072] In the present disclosure, the agent module can determine the current response state corresponding to the second input information based on the second input information and the historical conversation corresponding to the second input information, and generate response prompt information corresponding to the second input information based on the feedback information, the response process and the current response state corresponding to the second input information. The process of generating the response prompt information corresponding to the second input information is similar to the process of generating the response prompt information corresponding to the first input information, except that the response prompt information corresponding to the second input information also needs to be spliced ​​with the feedback information.

[0073] In one implementation, the feedback information can also be input into the large model, and the response model can be reinforced with the proximal policy optimization algorithm (PPO) to obtain a new large model.

[0074] In the present disclosure, feedback information can instruct the agent module to generate more accurate response prompt information. When the response information has a low match with the first input information, the accuracy of the response information output by the large model again can be ensured. In addition, when the conversation deviates from the response process, the conversation can be pulled back to the response process in the next round of conversation.

[0075] Figure 5 A schematic diagram showing a scenario of an information processing method according to an embodiment of the present disclosure Figure 2 ,like Figure 5 As shown, the first input information is input into the process selector, the process selector selects the response process corresponding to the first input information in the process library, and inputs the first input information and the response process into the agent module, and at the same time, the memory inputs the historical conversation into the agent module, the agent module generates the response prompt information corresponding to the first input information based on the first input information, the response process and the historical conversation, inputs the response prompt information and the first input information into the large model, and the large model generates the response information corresponding to the first input information based on the response prompt information; the feedback model can generate feedback information for the response information based on the response information, the user's second input information for the response information and the response process, and inputs the feedback information into the agent module, and the agent module can generate the response prompt information corresponding to the second input information based on the feedback information, the response process and the current response state corresponding to the second input information.

[0076] Figure 6 A schematic diagram of the structure of an information processing device according to an embodiment of the present disclosure is shown. Figure 6 As shown, an information processing device can be applied to an agent module, including:

[0077] The first determination module 10 is used to determine the current response state based on the historical conversation and the first input information, and the current response state includes the completed historical response steps and the intention of the first input information; the second determination module 11 is used to determine the corresponding target execution steps based on the response process corresponding to the first input information and the current response state; the generation module 12 is used to generate the response prompt information corresponding to the first input information based on the target execution steps; the input module 13 is used to input the response prompt information into the large model to generate the response information corresponding to the first input information.

[0078] In one embodiment, the second determination module 11 is also used to: determine the response process corresponding to the first input information based on the intention of the first input information; determine the response process corresponding to the dialogue information in the process library whose similarity with the first input information reaches a first threshold as the response process corresponding to the first input information, and the process library includes dialogue information and the response process corresponding to the dialogue information.

[0079] In one embodiment, the second determination module 11 is also used for: if the similarity between the intention of the first input information and the intention of the historical conversation meets the second threshold, the next response step of the historical response step in the response process is determined as the target execution step; if the similarity between the intention of the first input information and the intention of the historical conversation does not meet the second threshold, the response step related to the intention of the first input information in the response process is determined as the target execution step, or, the target execution step that needs to be executed after the current response state is generated based on the intention of the first input information.

[0080] In one possible implementation, the generation module 12 is further used to: splice the response process, the current response status and the target execution step based on the connecting words to generate the response prompt information corresponding to the first input information.

[0081] In one embodiment, the generation module 12 is further used to fill in the response process, current response status and target execution steps into the prompt information template based on preset filling rules, and generate response prompt information corresponding to the first input information.

[0082] In one possible implementation, an information processing device also includes: a receiving module, used to receive feedback information for response information, the feedback information including a matching degree between the response information and the first input information and at least one of the response steps that need to be executed based on the second input information for the response information; wherein the feedback information is generated by a feedback model based on the matching degree, response process and target execution steps determined by the second input information.

[0083] In one possible implementation, the generating module 12 is further configured to generate response prompt information corresponding to the second input information based on the feedback information, the response process and the current response status corresponding to the second input information.

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

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

[0086] like Figure 7 As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0087] A number of components in the device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0088] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as an information processing method. For example, in some embodiments, an information processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of an information processing method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform an information processing method in any other appropriate manner (e.g., by means of firmware).

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

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

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

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

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

[0094] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0095] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0096] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

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

Claims

1. An information processing method, the method include: Determine a current response state based on the historical dialogue and the first input information, wherein the current response state includes completed historical response steps and the intention of the first input information; Determine a corresponding target execution step based on the response process corresponding to the first input information and the current response state; Based on the target execution step, generating response prompt information corresponding to the first input information; The response prompt information is input into the large model to generate response information corresponding to the first input information.

2. The method according to claim 1, wherein the response process corresponding to the first input information is determined based on at least one of the following: determining a response process corresponding to the first input information based on the intention of the first input information; The response process corresponding to the dialogue information whose similarity with the first input information reaches a first threshold in the process library is determined as the response process corresponding to the first input information, and the process library includes dialogue information and the response process corresponding to the dialogue information.

3. The method according to claim 1, wherein the corresponding target execution step is determined based on the response process corresponding to the first input information and the current response state. include: The similarity between the intention of the first input information and the intention of the historical conversation meets a second threshold, and the next response step of the historical response step in the response process is determined as the target execution step; If the similarity between the intention of the first input information and the intention of the historical conversation does not meet the second threshold, the response step related to the intention of the first input information in the response process is determined as the target execution step, or the target execution step that needs to be executed after the current response state is generated based on the intention of the first input information.

4. The method according to claim 1, wherein the step of executing the target generates a response prompt information corresponding to the first input information. include: The response process, the current response status and the target execution step are spliced ​​based on the conjunction to generate response prompt information corresponding to the first input information.

5. The method according to claim 1, wherein the step of executing the target generates a response prompt information corresponding to the first input information. include: Based on preset filling rules, the response process, the current response status and the target execution steps are filled into a prompt information template to generate response prompt information corresponding to the first input information.

6. The method according to any one of claims 1 to 5, further comprising: include: receiving feedback information for the response information, the feedback information including at least one of a degree of matching between the response information and the first input information and a response step to be performed based on second input information for the response information; The feedback information is generated by a feedback model based on the matching degree, the response process and the target execution step determined by the second input information.

7. The method according to claim 6, further comprising: include: Based on the feedback information, the response process and the current response state corresponding to the second input information, response prompt information corresponding to the second input information is generated.

8. An information processing device, the device include: A first determination module, configured to determine a current response state based on the historical dialogue and the first input information, wherein the current response state includes completed historical response steps and the intention of the first input information; A second determination module, configured to determine a corresponding target execution step based on a response process corresponding to the first input information and the current response state; A generating module, configured to generate response prompt information corresponding to the first input information based on the target execution step; An input module is used to input the response prompt information into the large model to generate response information corresponding to the first input information.

9. An electronic device, include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to execute: Determine a current response state based on the historical dialogue and the first input information, wherein the current response state includes completed historical response steps and the intention of the first input information; Determine a corresponding target execution step based on the response process corresponding to the first input information and the current response state; Based on the target execution step, generating response prompt information corresponding to the first input information; The response prompt information is input into the large model to generate response information corresponding to the first input information.

10. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute: Determine a current response state based on the historical dialogue and the first input information, wherein the current response state includes completed historical response steps and the intention of the first input information; Determine a corresponding target execution step based on the response process corresponding to the first input information and the current response state; Based on the target execution step, generating response prompt information corresponding to the first input information; The response prompt information is input into the large model to generate response information corresponding to the first input information.