Information processing and application configuration method and device, equipment, storage medium and product

By introducing preset response mode into the application, the inaccurate response problem when the model is difficult to handle user input is solved, the accuracy and user experience of the interactive function are improved, and the controllability is ensured when replies cannot be obtained.

CN119088438AInactive Publication Date: 2024-12-06BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411133043.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-18
Publication Date
2024-12-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing applications may get inaccurate or uncontrollable response results when encountering user input that the model is difficult to process, resulting in uncertainty in interaction functions and degradation of user experience.

Method used

Provide an information processing method, which uses the preset function to obtain the reply entered by the user, and when the preset function fails to obtain the reply, it responds according to the preset response mode to ensure the controllability and accuracy of the interactive process. The method includes receiving user input, calling a machine learning model, determining the reply acquisition situation, and responding in a preset response mode when the reply cannot be retrieved.

Benefits of technology

Through the use of preset response modes, uncertainty in model output is avoided, the accuracy and user experience of application interaction functions are improved, and controllability and stability are ensured when the model is difficult to process input.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088438A_ABST
    Figure CN119088438A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an information processing and application configuration method and device, equipment, a storage medium and a product. The information processing method comprises the steps that in response to the received user input, a reply for the user input is obtained through one or more preset functions, and at least one preset function in the one or more preset functions is configured to call a machine learning model; determining whether a reply is obtained by using one or more preset functions; and responding to the user input according to the preset response mode in response to the fact that the reply is not obtained by using the one or more preset functions. Therefore, uncontrollable output and content randomness of the application to the user can be reduced, and controllability of reply content is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to information processing and application configuration methods, apparatuses, devices, storage media, and products. Background Art

[0002] With the development of information technology, the function of automatically replying based on user input has been widely used in many applications. Applications usually use machine learning models to respond to user input. However, since the output of the model itself is uncertain, when encountering input that is difficult for the model to handle, uncontrollable results may be obtained. Summary of the invention

[0003] In a first aspect of the present disclosure, an information processing method is provided. The method includes: in response to receiving a user input, obtaining a reply to the user input using one or more preset functions, at least one of the one or more preset functions being configured to call a machine learning model; determining whether a reply is obtained using the one or more preset functions; and in response to not obtaining a reply using the one or more preset functions, responding to the user input according to a preset response mode.

[0004] In a second aspect of the present disclosure, an application configuration method is provided. The method includes: receiving an instruction to add a preset response mode to a target application, the preset response mode is used to respond to user input when one or more preset functions in the target application do not obtain a reply to the user input, and at least one of the one or more preset functions is configured to call a machine learning model; in response to the instruction, determining configuration information of the preset response mode; and adding the preset response mode to the target application based on the configuration information.

[0005] In a third aspect of the present disclosure, an information processing device is provided. The device includes: a reply acquisition module, configured to obtain a reply to the user input using one or more preset functions in response to receiving the user input; a reply determination module, configured to determine whether a reply is obtained using the one or more preset functions; and a preset response module, configured to respond to the user input according to a preset response mode in response to not obtaining a reply using the one or more preset functions.

[0006] In a fourth aspect of the present disclosure, an application configuration device is provided. The device includes: an instruction receiving module configured to receive an instruction to add a preset response mode to a target application, wherein the preset response mode is used to respond to the user input when a reply to the user input is not obtained by using one or more preset functions in the target application; a configuration information determining module configured to determine configuration information of the preset response mode in response to the instruction; and a preset response adding module configured to add the preset response mode to the target application based on the configuration information.

[0007] In a fifth aspect of the present disclosure, an electronic device is provided. The device includes: at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit, and when the instructions are executed by the at least one processing unit, the electronic device executes the method of the first aspect or the second aspect.

[0008] In a sixth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect or the second aspect.

[0009] In a seventh aspect of the present disclosure, a computer program product is provided, which includes computer executable instructions, and when the computer executable instructions are executed by a processor, the method of the first aspect or the second aspect is implemented.

[0010] It should be understood that the contents described in the summary of the present invention are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they 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

[0011] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0012] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;

[0013] Figure 2 A flowchart showing a process for information processing according to some embodiments of the present disclosure is shown;

[0014] Figure 3 A flowchart showing a process for application configuration according to some embodiments of the present disclosure is shown;

[0015] Figure 4A schematic diagram showing a first interface for configuring a preset response mode according to some embodiments of the present disclosure is shown;

[0016] Figure 5 A schematic diagram showing a second interface for configuring a preset response mode according to some embodiments of the present disclosure is shown;

[0017] Figure 6 A block diagram of an apparatus for information processing according to some embodiments of the present disclosure is shown;

[0018] Figure 7 A block diagram showing an apparatus for application configuration according to some embodiments of the present disclosure; and

[0019] Figure 8 A block diagram of an electronic device is shown in which one or more embodiments of the present disclosure may be implemented. DETAILED DESCRIPTION

[0020] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0021] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.

[0022] Herein, unless explicitly stated, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.

[0023] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition, use, storage or deletion of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0024] It is understandable that before using the technical solutions disclosed in the various embodiments of the present disclosure, the types, scopes of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to relevant users and their authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. The relevant users may include any type of right holders, such as individuals, enterprises, and groups.

[0025] For example, in response to receiving an active request from a user, a prompt message is sent to the relevant user to clearly prompt the relevant user that the operation requested to be performed will require obtaining and using the information of the relevant user, so that the relevant user can independently choose whether to provide information to software or hardware such as an electronic device, application, server or storage medium that executes the operation of the technical solution of the present disclosure based on the prompt message.

[0026] As an optional but non-limiting implementation, in response to receiving an active request from a relevant user, a prompt message is sent to the relevant user, for example, in the form of a pop-up window, in which the prompt message may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide information to the electronic device.

[0027] It is understandable that the above notification and the process of obtaining user authorization are only illustrative and do not limit the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure. The activation of the digital assistant related functions, the acquired data, the processing and storage of the data, etc. in the embodiment of the present disclosure shall obtain the prior authorization of the user and other rights holders associated with the user, and shall comply with the relevant laws and regulations and the agreement rules between the rights holders.

[0028] As used herein, the term "model" can learn the association between the corresponding input and output from the training data, so that after the training is completed, the corresponding output can be generated for a given input. The generation of the model can be based on machine learning technology. Deep learning is a machine learning algorithm that processes inputs and provides corresponding outputs by using multi-layer processing units. A neural network model is an example of a model based on deep learning. In this article, "model" may also be referred to as "machine learning model", "learning model", "machine learning network" or "learning network", and these terms are used interchangeably in this article.

[0029] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. Environment 100 involves an application management platform 110, which can support the creation of applications and / or the running of applications. In some embodiments, the portion of the application management platform 110 that supports the creation of applications can also be referred to as an application creation portion. In some embodiments, the portion of the application management platform 110 that supports the running of applications can also be referred to as an application running portion.

[0030] As shown in the figure, the application creation part can provide a user 105 with an environment for creating and publishing applications. User 105 can be referred to as an application creation user or creator. In some embodiments, the application creation part can be a low-code platform that provides a collection of tools for application creation. The application creation part can support visual development of various types of applications, so that developers can skip the process of manual coding and speed up the development cycle and cost of applications. The application creation part can support any appropriate platform for users to develop one or more types of applications, for example, it can include a platform based on application platform as a service (aPaaS). Such a platform can support users to efficiently develop applications and realize operations such as application creation and application function adjustment.

[0031] The application creation part can be deployed locally on the terminal device of user 105, and / or can be supported by a server-side device. For example, the terminal device of user 105 can run a client of the application creation part, which can support the interaction between the user and the application creation part provided by the server. In the case where the application creation part runs locally on the user's terminal device, the user 105 can directly interact with the local application creation part using the terminal device. In the case where the application creation part runs on the server-side device, the server-side device can, based on the communication connection with the terminal device, implement service provision for the client running in the terminal device. The application creation part can present a corresponding page 130 to the user 105 based on the operation of the user 105, so as to output to the user 105 and / or receive from the user 105 information related to application creation.

[0032] In some embodiments, the application creation part can be associated with a corresponding database, which stores data or information required for the application creation process supported by the application creation part. For example, the database can store the code and description information corresponding to each functional module that constitutes the application. The application creation part can also perform operations such as calling, adding, deleting, and updating the functional modules in the database. The database can also store operations that can be performed on different functional blocks. Exemplarily, in a scenario where an application is to be created, the application creation part can call the corresponding functional blocks from the database to build the application.

[0033] In an embodiment of the present disclosure, a user 105 can create a target application 120 as needed on the application creation part and publish the target application 120. The target application 120 can be published to any appropriate application running part, as long as the application running part can support the operation of the target application 120. After publishing, the target application 120 can be used to be operated by one or more terminal users 145. The terminal user 145 can operate the target application 120 through an associated terminal device 146, and then interact with the application management platform 110. The terminal user 145 can be referred to as the terminal user of the target application 120. In some embodiments, the target application 120 may include or be implemented as a digital assistant 122.

[0034] The digital assistant 122 can be configured to have the ability of intelligent dialogue. In the example shown in the figure, the digital assistant 122 can be integrated into the target application 120, as part of the target application 120 to assist in the task processing within the target application 120. In other examples, the digital assistant 122 can be configured as an independently running application, such as a web application or other types of applications. In such an example, the digital assistant 122 and the target application 120 can be regarded as the same application. The digital assistant 122 is provided to assist users in various task processing requirements in different applications and scenarios. In the interaction process with the digital assistant 122, the user inputs an interactive message, and the digital assistant 122 provides a reply message in response to the user input. Typically, the digital assistant 122 can support users to input questions in a natural language, and perform tasks and provide replies based on the understanding of natural language input and logical reasoning ability.

[0035] In some embodiments, digital assistant 122 can interact with end user 145 as a contact of end user 145. For example, digital assistant 122 can be implemented in an instant messaging (IM) application. Digital assistant 122 can interact with end user 145 in a single chat session with end user 145. In some embodiments, digital assistant 122 can interact with multiple users in a group chat session including multiple users.

[0036] For each terminal user 145, the client of the application running part can present an interactive window 142 of the target application 120 or the digital assistant 122 in the client interface, such as a conversation window with the digital assistant 122. The terminal user 145 can enter a conversation message in the conversation window, and the target application 120 can determine the reply message of the digital assistant 122 based on the created configuration information and present it to the user in the interactive window 142. In some embodiments, depending on the configuration of the target application 120, the interactive message with the target application 120 may include a message in a multimodal form, such as a text message (e.g., a natural language text), a voice message, an image message, a video message, and the like.

[0037] Similar to the application creation part, the application running part can be deployed locally on the terminal device of each terminal user 145, and / or can be supported by the server device. For example, the terminal device of the terminal user 145 can run a client with the application running part, and the client can support the interaction between the user and the application running part provided by the server. In the case where the application running part runs locally on the user's terminal device, the terminal user 145 can directly use the terminal device to interact with the local application running part. In the case where the application running part runs on the server device, the server device can realize the service supply to the client running in the terminal device based on the communication connection with the terminal device. The application running part can present the corresponding application page to the terminal user 145 based on the operation of the terminal user 145, so as to output and / or receive information related to the use of the application to the terminal user 145.

[0038] In some embodiments, the implementation of at least part of the functions of the target application 120 and / or the implementation of at least part of the functions of the digital assistant 122 in the target application 120 can be implemented based on the model. During the creation or operation of the target application 120, one or more models 155, such as the capabilities of the model 155, can be called. In the target application 120, the digital assistant 122 can use the model 155 to understand the user input and provide a reply to the user based on the output of the model 155.

[0039] During the creation process, the application management platform 110 needs to use the model 155 to determine whether the operation result of the target application 120 meets expectations when testing the target application 120. During the operation process, in response to different operation requests of the user of the target application 120, the application operation part may need to use the model 155 to determine the response result to the user.

[0040] Although shown as being independent of the application management platform 110, one or more models 155 may run on the application management platform 110, or other remote servers. In some embodiments, the model 155 may be a machine learning model, a deep learning model, a learning model, a neural network, etc. In some embodiments, the model may be based on a language model (LM). The language model can have question-answering capabilities by learning from a large amount of corpus. The model 155 may also be based on other appropriate models.

[0041] The application management platform 110 can run on appropriate electronic devices. The electronic devices here can be any type of device with computing capabilities, including terminal devices or server devices. The terminal device can be any type of mobile terminal, fixed terminal or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication systems (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio broadcast receivers, e-book devices, gaming devices, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. The server device can include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. In some embodiments, the management platform 110 can be implemented based on cloud services.

[0042] It should be understood that the structure and functionality of the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure. For example, although a single user interacting with the application creation portion and a single user interacting with the application execution portion are shown, in reality multiple users can access the application management platform 110 to each create a digital assistant, and each digital assistant can be used to interact with multiple users.

[0043] Currently, various applications usually respond to user input based on machine learning models, but since the output of the model itself is uncertain, inaccurate and uncontrollable results may be obtained when encountering input that is difficult for the model to handle. However, in some scenarios, the requirement for controllability is higher.

[0044] In an embodiment of the present disclosure, an improved scheme for information processing is provided. In this scheme, in response to receiving a user input from a terminal user, one or more preset functions are used to obtain a reply to the user input. At least one of the one or more preset functions is configured to call a machine learning model. Then, it is determined whether a reply can be obtained by using the one or more preset functions. If no reply is obtained by using the one or more preset functions, the user input is responded to according to a preset response mode.

[0045] In this way, when the preset function in the application cannot respond to the user input, the preset response mode is used to respond. Since the preset response mode is fixed, the problem of inaccurate and uncontrollable responses of the digital assistant in the application to the user input is avoided, and the accuracy of the application's interactive function and user experience are improved.

[0046] Some example embodiments of the present disclosure will be described in detail below with reference to the examples of the accompanying drawings. It should be understood that the pages shown in the accompanying drawings are only examples, and various page designs may actually exist. The various graphical elements in the page may have different arrangements and different visual representations, one or more of which may be omitted or replaced, and one or more other elements may also exist. The embodiments of the present disclosure are not limited in this respect.

[0047] The task management process described in the embodiments of the present disclosure may be implemented on an application management platform, a terminal device on which the application management platform is installed, and / or a server corresponding to the application management platform. In the following examples, for the sake of discussion, the description is from the perspective of the application management platform, for example Figure 1 The application management platform 110 shown. The user interface presented by the application management platform 110 can be presented via the terminal device of the user 145, and the application management platform 110 can receive user input via the terminal device of the user 145. In some embodiments of the present disclosure, the user 145 is the terminal user of the target application 120. It should be understood that the user interface presented by the application management platform 110 can also be presented via the terminal device of the user 105, and the application management platform 110 can also receive user input via the terminal device of the user 105. In some embodiments of the present disclosure, the user 105 is the creator, manager or maintainer of the target application 120.

[0048] Example Process

[0049] Figure 2 1 shows a block diagram of an information processing process 200 according to some embodiments of the present disclosure. The information processing process may be implemented by a running part of the application management platform 110, for example, by the target application 120. Figure 1 To describe Figure 2 The information processing process shown. It should be understood that Figure 2 The various steps in the above are merely exemplary and do not limit the solutions of the present disclosure.

[0050] like Figure 2 As shown, in box 210, in response to receiving the user input of the terminal user 145, one or more preset functions are used to obtain a reply to the user input. The preset function may include various built-in and created functions in the target application 120, such as question-and-answer functions, workflows, skills, etc. The preset function may include, but is not limited to, automatically calling a specific function (such as a translation function), automatic reply, etc. For example, the terminal user 145 enters "Please help me translate the following text" in the conversation with the digital assistant 122, and the target application 120 can call the translation function to reply.

[0051] In some embodiments, at least one of the one or more preset functions may be configured to call a machine learning model. For example, one or more operations or one or more nodes in the preset function may utilize a machine learning model.

[0052] In box 220, determine whether a reply is obtained using one or more preset functions. In some embodiments, if the target application 120 has a single preset function, determine whether the preset function can get a reply. In some embodiments, if the target application 120 has multiple preset functions, multiple preset functions can be called in sequence in any suitable order. If the previous preset function fails to obtain a reply or the previous preset function is not available for the user input, the next preset function can be called. For example, it can be determined first whether a skill is hit. If no skill is hit, the question and answer function can be used.

[0053] In some embodiments, when the preset function is configured to call a machine learning model, if the machine learning model does not provide an output to the user input, or the output of the machine learning model includes a failed response to the user input, it can be determined that the preset function has not obtained a reply. For example, if the function calls the machine learning model, but the machine learning model fails to give a result, it can be determined that the preset function has failed to obtain a reply. For another example, if the output of the machine learning model indicates that an answer cannot be given to the user input, it can be determined that the preset function has failed to obtain a reply.

[0054] In response to not obtaining a reply using one or more preset functions, respond to the user input according to a preset response mode at block 230. Continuing with the above example, if it is determined that no answer to the question input by the terminal user 145 can be obtained according to the question-and-answer function, the preset response mode is invoked to respond.

[0055] In some embodiments, the preset response mode may include a fixed reply mode. That is, the digital assistant 122 responds to the input of the terminal user 145 using the preset reply content, and presents the preset reply content in the interactive window 142. The preset reply content can be determined based on the configuration information of the user 105 for the fixed reply mode. For example, the preset reply content can be set to "The assistant cannot answer your question". When the digital assistant 122 determines that no reply can be obtained using one or more preset functions, "The assistant cannot answer your question" is presented in the interactive window 142 to respond to the terminal user 145.

[0056] In some embodiments, the language type of the input content of the terminal user 145 can also be identified, and the preset reply content can be presented in the same language type. In this way, the actual needs of the terminal user 145 can be met, and the accuracy of the interaction between the digital assistant 122 and the terminal user 145 can be further improved. For example, if the user input is Chinese, the preset reply content presented is Chinese content; if the user input is English, the preset reply content presented is English content.

[0057] In some embodiments, the preset response mode may include a fixed function mode, that is, the digital assistant 122 uses a preset function to respond to the input of the terminal user 145, and calls the preset function to perform tasks related to the user input. The preset function can be determined based on the configuration information of the user 105 for the fixed function mode. For example, the preset function can be to establish a group chat, jump to manual customer service, add the user input to the unanswered question record, etc. When one or more preset functions cannot obtain a reply, a group chat can be established or a manual customer service can be jumped to answer the terminal user 145.

[0058] In this embodiment, the uncontrollable output of the model and the randomness of the content are reduced through engineering methods, thereby achieving controllability of the response content.

[0059] Figure 3 FIG. 3 is a block diagram of an application configuration process 300 according to some embodiments of the present disclosure. The application configuration process may be implemented in the application management platform 110 (eg, the application creation part). Figure 1 To describe Figure 3 The application configuration process shown. It should be understood that Figure 3 The various steps in the above are merely exemplary and do not limit the solutions of the present disclosure.

[0060] like Figure 3 As shown, in block 310, the application management platform 110 receives an instruction to add a preset response mode to the target application 120. For example, during the creation process of the target application 120, the creator adds a fallback reply.

[0061] In box 320, the application management platform 110 determines the configuration information of the preset response mode. For example, in response to the user 105's instruction to add the preset response mode to the target application 120, the application management platform 110 presents a configuration interface for the preset response mode. The preset response mode is used to respond to the user input when no reply to the user input is obtained using one or more preset functions in the target application 120. The preset function may include various built-in and created functions in the target application 120, such as question and answer functions, workflows, skills, etc. The preset functions may include, but are not limited to, automatically calling a specific function (such as a translation function), automatic reply, etc.

[0062] In some embodiments, at least one of the one or more preset functions may be configured to call a machine learning model. For example, one or more operations or one or more nodes in the preset function may utilize a machine learning model.

[0063] In some embodiments, the application management platform 110 determines the configuration information of the preset response mode based on the interaction between the user 105 and the configuration interface. In some embodiments, the application management platform 110 receives a selection of a response mode from a plurality of candidate response modes as the preset response mode via the configuration interface, and determines the configuration information of the preset response mode based on the received input for configuring the selected response mode.

[0064] In some embodiments, the plurality of candidate response modes may include a fixed reply mode and a fixed function mode. For example, the fixed reply mode is used to provide preset reply content, and the fixed function mode is used to call one or more preset skills.

[0065] In some embodiments, the preset response mode may be selected as a fixed reply mode, and the configuration information includes preset reply content. In some embodiments, the preset response mode may be selected as a fixed function mode, and the configuration information includes a specified preset function.

[0066] Figure 4 A schematic diagram 400 of a configuration interface for a preset response mode of some embodiments of the present disclosure is shown. Figure 4 In the figure, user 105 can select a candidate response mode through box 401. After selecting a candidate response mode as the preset response mode, the preset response mode can be configured through box 402. For example, box 402 can be clicked to configure the preset response content of the fixed response mode, or to configure the preset function of the fixed function mode.

[0067] In some embodiments, when the preset response mode is a fixed reply mode, the configuration information may further include a language type indicated by the preset reply content.

[0068] Figure 5 A schematic diagram 500 of a configuration interface for a language type of a fixed reply mode in some embodiments of the present disclosure is shown. Figure 5 In the figure, user 105 can set the preset reply content of the fixed reply mode through box 502, and set the language type corresponding to the preset reply content through box 501. The language type may include but is not limited to: fixed use of Chinese, fixed use of English, and the same language as the user input.

[0069] In block 330, the application management platform 110 adds the preset response mode to the target application 120 based on the configuration information. For example, the configuration information is stored as a part of the target application 120. In this way, after the target application 120 is released, it is possible to implement Figure 2 The process shown.

[0070] Example devices and equipment

[0071] Figure 6 A schematic structural block diagram of an apparatus 600 for information processing according to some embodiments of the present disclosure is shown. The apparatus 600 is used for a digital assistant 122. Each module / component in the apparatus 600 may be implemented by hardware, software, firmware, or any combination thereof.

[0072] like Figure 6 As shown, the device 600 includes a reply acquisition module 610, which is configured to obtain a reply to the user input using one or more preset functions in response to receiving the user input, and at least one of the one or more preset functions is configured to call a machine learning model. The device 600 also includes a reply determination module 620, which is configured to determine whether a reply is obtained using one or more preset functions. The device 600 also includes a preset response module 630, which is configured to respond to the user input according to a preset response mode in response to not obtaining a reply using one or more preset functions.

[0073] In some embodiments, the preset response mode may include a fixed reply mode, and the preset response module 630 is further configured to determine preset reply content based on configuration information of the fixed reply mode, and present the preset reply content to respond to user input.

[0074] In some embodiments, the device 600 further includes a language type identification module configured to identify the language type of the user input, wherein the presented preset reply content has the identified language type.

[0075] In some embodiments, the preset response mode may include a fixed function mode, and the preset response module 630 is further configured to determine the specified preset function based on the configuration information of the fixed function mode, and call the preset function to perform the task related to the user input.

[0076] In some embodiments, the reply determination module 620 is further configured to determine that no reply is obtained using at least one preset function in response to the machine learning model not providing an output or the output of the machine learning model including a failed response to the user input.

[0077] Figure 7A schematic structural block diagram of an apparatus 700 for application configuration according to some embodiments of the present disclosure is shown. The apparatus 700 is used in the application management platform 110. Each module / component in the apparatus 700 may be implemented by hardware, software, firmware or any combination thereof.

[0078] like Figure 7 As shown, the device 700 includes an indication receiving module 710, which is configured to receive an indication of adding a preset response mode to a target application, the preset response mode is used to respond to user input when no reply to the user input is obtained using one or more preset functions in the target application, and at least one of the one or more preset functions is configured to call a machine learning model. The device 700 also includes a configuration information determination module 720, which is configured to determine the configuration information of the preset response mode in response to the indication. The device 700 also includes a preset response adding module 730, which is configured to add the preset response mode to the target application based on the configuration information.

[0079] In some embodiments, the configuration information determination module 720 is further configured to receive a selection of a response mode from a plurality of candidate response modes as a preset response mode, and determine configuration information of the preset response mode based on input received for configuring the selected response mode.

[0080] In some embodiments, the plurality of candidate response modes may include a fixed reply mode and a fixed function mode.

[0081] In some embodiments, the preset response mode may include a fixed reply mode, and the configuration information includes preset reply content.

[0082] In some embodiments, the configuration information may also include a language type indicated by the preset reply content.

[0083] In some embodiments, the preset response mode may include a fixed functionality mode, and the configuration information may include the specified preset functionality.

[0084] The units and / or modules included in the apparatus 600 and the apparatus 700 may be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units and / or modules may be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units and / or modules in the apparatus 600 may be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that may be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0085] Figure 8 8 is a block diagram of an electronic device 800 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 8 The electronic device 800 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein.

[0086] like Figure 8 As shown, the electronic device 800 is in the form of a general electronic device. The components of the electronic device 800 may include, but are not limited to, one or more processors or processing units 810, a memory 820, a storage device 830, one or more communication units 840, one or more input devices 850, and one or more output devices 860. The processing unit 810 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 820. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 800.

[0087] The electronic device 800 typically includes a plurality of computer storage media. Such media can be any available media accessible to the electronic device 800, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 820 can be a volatile memory (e.g., register, cache, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory) or some combination thereof. The storage device 830 can be a removable or non-removable medium, and can include a machine-readable medium, such as a flash drive, a disk, or any other medium, which can be used to store information and / or data and can be accessed within the electronic device 800.

[0088] The electronic device 800 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 8 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 820 may include a computer program product 825 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.

[0089] The communication unit 840 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 800 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 800 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0090] The input device 850 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 860 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 800 may also communicate with one or more external devices (not shown) through the communication unit 840 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 800, or communicate with any device that allows the electronic device 800 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0091] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0092] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0093] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0094] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0095] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0096] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.

Claims

1. An information processing method, comprising: In response to receiving a user input, obtaining a reply to the user input using one or more preset functions, at least one of the one or more preset functions being configured to call a machine learning model; Determining whether the reply is obtained by using the one or more preset functions; as well as In response to not obtaining the reply by utilizing the one or more preset functions, responding to the user input according to a preset response mode.

2. The method according to claim 1, wherein the preset response mode comprises a fixed reply mode, and responding to the user input according to the preset response mode comprises: Determining preset reply content based on the configuration information of the fixed reply mode; as well as The preset reply content is presented to respond to the user input.

3. The method according to claim 2, further comprising: The language type of the user input is identified, wherein the preset reply content presented has the identified language type.

4. The method of claim 1 , wherein the preset response mode comprises a fixed function mode, and responding to the user input according to the preset response mode comprises: Determining a specified preset function based on the configuration information of the fixed function mode; as well as The preset function is called to perform a task related to the user input.

5. The method according to claim 1, wherein determining whether the reply is obtained by using the one or more preset functions comprises: In response to the machine learning model not providing an output or the output of the machine learning model including a failed response to the user input, it is determined that the reply is not obtained using the at least one preset function.

6. An application configuration method, comprising: receiving an instruction to add a preset response mode to a target application, the preset response mode being used to respond to a user input when no reply to the user input is obtained by using one or more preset functions in the target application, at least one of the one or more preset functions being configured to call a machine learning model; In response to the indication, determining configuration information of the preset response mode; as well as Based on the configuration information, the preset response mode is added to the target application.

7. The method according to claim 6, wherein determining the configuration information of the preset response mode comprises: receiving a selection of a response mode from a plurality of candidate response modes as the preset response mode; as well as Based on receiving input for configuring the selected response mode, configuration information of the preset response mode is determined. The method of claim 7 , wherein the plurality of candidate response modes include a fixed reply mode and a fixed function mode.

9. The method according to claim 6, wherein the preset response mode comprises a fixed reply mode, and the configuration information comprises preset reply content.

10. The method according to claim 9, wherein the configuration information further includes a language type indicated by the preset reply content.

11. The method of claim 6, wherein the preset response mode comprises a fixed function mode, and the configuration information comprises the specified preset function.

12. An apparatus for information processing, comprising: a reply acquisition module, configured to, in response to receiving a user input, acquire a reply to the user input using one or more preset functions, at least one of the one or more preset functions being configured to call a machine learning model; a reply determination module, configured to determine whether the reply is obtained by using the one or more preset functions; as well as The preset response module is configured to respond to the user input according to a preset response mode in response to the failure to obtain the reply by using the one or more preset functions.

13. An apparatus for application configuration, comprising: an instruction receiving module, configured to receive an instruction to add a preset response mode to a target application, wherein the preset response mode is used to respond to the user input when no reply to the user input is obtained by using one or more preset functions in the target application, and at least one of the one or more preset functions is configured to call a machine learning model; a configuration information determination module, configured to determine configuration information of the preset response mode in response to the indication; as well as The preset response adding module is configured to add the preset response mode to the target application based on the configuration information.

14. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, cause the electronic device to perform the method according to any one of claims 1-5 or the method according to any one of claims 6-11.

15. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 5 or the method according to any one of claims 6 to 11.

16. A computer program product comprising computer executable instructions, wherein the computer executable instructions, when executed by a processor, implement the method according to any one of claims 1 to 5 or the method according to any one of claims 6 to 11.

Citation Information

Patent Citations

  • User-oriented intelligent customer service method and device, equipment and medium

    CN116521843A