Application configuration method and device, information processing method and device, equipment and storage medium
By receiving and processing the configuration information of the target application, creating target tasks to generate detailed replies, solving the problem of insufficient interactive flexibility in the prior art and improving the application's responsiveness and user experience.
Patent Information
- Application Number
- CN202411132218.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-18
- Publication Date
- 2024-12-06
AI Technical Summary
Existing interactive applications rely on predefined query or question-and-answer templates, lack flexibility and cannot dynamically adapt to changes in user needs, resulting in the generated reply content being simple and similar, making it difficult to meet the actual needs and expectations of users.
By receiving the target task configuration request in the target application, the configuration information is obtained for the target task. The configuration information indicates the data resources, processing policies and processing rules required to execute the target task. Based on this, the target task is created to achieve detailed and rich user input generation. Reply content.
It improves the interactive flexibility and responsiveness of the application, and can generate multi-dimensional detailed reply content based on simple user input, achieving efficient and intelligent data processing and response.
Smart Images

Figure CN119088366A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly to an application configuration method, an information processing method, an apparatus, a device, and a storage medium. Background Art
[0002] With the development of information technology, various terminal devices can provide various services to people in work and life. Applications that provide services can be deployed in terminal devices. Terminal devices present corresponding content and interact with users through the user interface of the application to meet various needs of users. In some cases, users may initiate queries within the application. Therefore, how to configure the application so that the application generates higher quality query results for user input is a problem of concern. Summary of the invention
[0003] In a first aspect of the present disclosure, an application configuration method is provided. The method includes: receiving a configuration request for a target task in a target application, the target task being used to generate a reply content corresponding to the user input based on the user input. In response to the configuration request, obtaining configuration information for the target task, the configuration information at least indicating at least one data resource required to execute the target task, at least one processing strategy related to the at least one data resource, and a processing rule for the at least one processing strategy. Based on the configuration information, creating the target task.
[0004] In a second aspect of the present disclosure, an information processing method is provided. The method includes: in response to receiving user input, determining a target task for processing the user input in a target application. Obtaining configuration information corresponding to the target task, the configuration information at least indicating at least one data resource required to perform the target task, at least one processing strategy related to the at least one data resource, and a processing rule for the at least one processing strategy. Based on the configuration information, generating a reply content corresponding to the user input.
[0005] In a third aspect of the present disclosure, there is provided a device for application configuration, the device comprising: a configuration interface presentation module, configured to receive a configuration request for a target task in a target application, the target task being used to generate reply content corresponding to the user input based on the user input. A configuration information receiving module, configured to obtain configuration information for the target task in response to the configuration request, the configuration information at least indicating at least one data resource required to execute the target task, at least one processing strategy related to the at least one data resource, and a processing rule for the at least one processing strategy. A target task creation module, configured to create the target task based on the configuration information.
[0006] In a fourth aspect of the present disclosure, there is provided an apparatus for task processing, the apparatus comprising: a target function determination module, configured to determine, in response to receiving user input, a target function for processing user input in a target application. A configuration information acquisition module, configured to acquire configuration information corresponding to the target task, the configuration information at least indicating at least one data resource required to perform the target task, at least one processing strategy related to at least one data resource, and a processing rule for at least one processing strategy. A reply content generation module, configured to generate reply content corresponding to the user input 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. When the instructions are executed by the at least one processing unit, the electronic device executes the method of the first 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 medium, and when the computer program is executed by a processor, the method of the first aspect is implemented.
[0009] It should be understood that the content described in this section is not intended to limit the key features 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
[0010] The above and other features, advantages and aspects of the various 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:
[0011] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;
[0012] Figure 2 A block diagram illustrating an application configuration process according to some embodiments of the present disclosure;
[0013] Figure 3 A schematic diagram showing a configuration interface according to some embodiments of the present disclosure is shown;
[0014] Figure 4 A schematic diagram of a debugging interface according to some embodiments of the present disclosure is shown;
[0015] Figure 5 A schematic diagram showing a task creation interface according to some embodiments of the present disclosure is shown;
[0016] Figure 6 A block diagram showing an information processing process according to some embodiments of the present disclosure;
[0017] Fig. 7A and Figure 7B A block diagram illustrating an application configuration process according to some embodiments of the present disclosure;
[0018] Figure 8 A schematic structural block diagram of an apparatus for information processing according to some embodiments of the present disclosure is shown;
[0019] Fig. 9 A schematic structural block diagram of an apparatus for application configuration according to some embodiments of the present disclosure is shown; and
[0020] Fig.10 A block diagram of an electronic device in which one or more embodiments of the present disclosure may be implemented is shown. DETAILED DESCRIPTION
[0021] The 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 described 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.
[0022] 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.
[0023] 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.
[0024] 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.
[0025] It is understandable that before using the technical solutions disclosed in each embodiment of the present disclosure, the types, scope 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.
[0026] 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.
[0027] 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.
[0028] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on 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.
[0029] 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.
[0030] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. The 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.
[0031] like Figure 1As shown, the application creation part can provide an application creation and publishing environment for user 105. 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 manual coding process and speed up the application development cycle and cost. 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 implement operations such as application creation and application task adjustment.
[0032] The application creation part can be deployed locally on the terminal device of user 105, and / or can be supported by a server 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 device, the server 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 interface 130 to the user 105 based on the operation of the user 105, so as to output and / or receive information related to application creation to the user 105.
[0033] In some embodiments, the application creation part can be associated with a corresponding database, which stores data resources 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 task module used to make up the application. The application creation part can also perform operations such as calling, adding, deleting, and updating the task modules in the database. The database can also store operations that can be performed on different task blocks. Exemplarily, in a scenario where an application is to be created, the application creation part can call the corresponding task block from the database to build the application.
[0034] In an embodiment of the present disclosure, the 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 end users 145. The end user 145 can be referred to as the end user of the target application 120. In some embodiments, the target application 120 may include or be implemented as a digital assistant 122.
[0035] The digital assistant 122 may be configured to have an intelligent conversation. Figure 1 In the example shown, the digital assistant 122 can be integrated into the target application 120 to assist in performing task processing within the target application 120 as part of 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 with various task processing requirements in different applications and scenarios. During the interaction 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 natural language, and perform tasks and provide replies based on the understanding of natural language input and logical reasoning ability.
[0036] In some embodiments, the digital assistant 122 can interact with the end user 145 as a contact of the end user 145. For example, the digital assistant 122 can be implemented in an instant messaging (IM) application. The digital assistant 122 can interact with the end user 145 in a single chat session with the end user 145. In some embodiments, the digital assistant 122 can interact with multiple users in a group chat session including multiple users.
[0037] 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.
[0038] 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 a server device. For example, the terminal device of the terminal user 145 can run a client with an 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 interface 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.
[0039] In some embodiments, the implementation of at least part of the tasks of the target application 120 and / or the implementation of at least part of the tasks 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 can be called, such as the capabilities of the model 155. 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.
[0040] 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.
[0041] 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.
[0042] 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.
[0043] It should be understood that the structure and tasks of environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure. Figure 1 A single user interacting with the application creation portion and a single user interacting with the application running portion are shown, but 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.
[0044] Currently, interactive applications usually rely on predefined query or question-and-answer templates to generate response content. This traditional approach lacks flexibility and cannot dynamically adapt to changes in user needs. In addition, this traditional approach can only provide simple content replies. If faced with different interactive scenarios, the replies generated based on user input tend to be similar and lack variation. As a result, it is difficult to meet users' actual needs and expectations.
[0045] In an embodiment of the present disclosure, an improved scheme for data processing is provided. In the scheme, a configuration request for a target task in a target application is received, and the target task is used to generate a reply content corresponding to the user input based on the user input. In response to the configuration request, configuration information for the target task is obtained, and the configuration information at least indicates at least one data resource required to execute the target task, at least one processing strategy related to the at least one data resource, and a processing rule for the at least one processing strategy. Based on the configuration information, the target task is created.
[0046] In the embodiments of the present disclosure, the target task can be flexibly configured during the application creation phase, so that the target application running on the application management platform can generate detailed and rich reply content based on simple user input. This improved solution not only solves the problem of insufficient interaction flexibility in the prior art, but also improves the processing capability for simple user input. Even for simple user input, multi-dimensional and detailed reply content can be generated. Ultimately, efficient and intelligent data processing and response are achieved.
[0047] 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 interfaces shown in the accompanying drawings are merely examples, and various interface designs may actually exist. The various graphical elements in the interface 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.
[0048] The task management process described in the embodiments of the present disclosure may be implemented in an application management platform, a terminal device installed with the application management platform, 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 end user 145, and the application management platform 110 can receive user input via the terminal device of the end user 145. In some embodiments of the present disclosure, the end user 145 is the end 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.
[0049] Figure 2 A block diagram of a data processing process 200 according to some embodiments of the present disclosure is shown. The data processing process can be implemented on the application management platform 110, and specifically corresponds to the application running part. Figure 1 To describe Figure 2 The task processing process is shown.
[0050] like Figure 2 As shown, in box 201 , the application management platform 110 receives a configuration request for a target task in a target application, where the target task is used to generate reply content corresponding to the user input based on the user input.
[0051] In the target application 120, the model 155 can be called by the digital assistant 122 to understand the user input, and a reply to the user can be provided based on the output of the model 155. Different tasks can be configured in the target application. Exemplarily, the task may include performing intent understanding on the user input, matching other user inputs similar to the user input, and so on. The task may also correspond to different question-and-answer scenarios, such as customer analysis scenarios, sales analysis scenarios, and so on. Each answer scenario represents a specific type of user demand and response. For example, in the customer analysis scenario, the target task needs to generate, based on the user input, such as customer industry analysis, market status analysis of the customer's region, customer case analysis, and so on. In the sales analysis scenario, the target task needs to generate year-on-year sales changes, month-on-month changes, market share, future sales forecasts, and so on based on the user input. For different tasks, the task can be configured to perform data processing corresponding to the task, so that a reply corresponding to the question-and-answer scenario can be obtained based on the user input.
[0052] For the configuration of the target task, a configuration interface of the target task may be presented in response to a configuration request for the target task. Based on the configuration interface, multiple types of configuration information for the target task may be received. An example of receiving the configuration information is described in detail below.
[0053] In block 202, the application management platform 110 obtains configuration information for the target task in response to the configuration request, where the configuration information at least indicates at least one data resource required to execute the target task, at least one processing strategy related to the at least one data resource, and a processing rule for the at least one processing strategy. For example, in response to the configuration request, a configuration interface for the target task may be presented, and the configuration information for the target task may be received through the configuration interface.
[0054] Figure 3 A schematic diagram of a configuration interface 300 according to some embodiments of the present disclosure is shown. Figure 3 The target task corresponding to the configuration page 300 shown is customer case query. The configuration interface 300 includes a configuration area 301 for basic information of the target task. For example, the basic configuration information may include a scenario name corresponding to the target task, a description corresponding to the target task, and an example question corresponding to the target task.
[0055] The role of basic configuration information is to match the user input during the application running process to match the task most relevant to the user input. For example, features can be extracted from the received user input to obtain a feature representation corresponding to the user input. In addition, features can also be extracted from the basic configuration information to obtain a feature representation corresponding to the basic configuration information. The feature representation corresponding to the user input and the feature representation corresponding to the basic configuration information are matched. If the match is successful, it can be determined that the task processes the user input.
[0056] The configuration interface 300 may also include a configuration area 302 for task information of the target task. The configuration area 302 for task information may receive task-related configuration information. The task-related configuration information may indicate at least one data resource that the target task may select based on user input, and at least one processing strategy for each data resource. Figure 3 In the configuration interface, the task-related configuration information includes a task configuration indicating the execution of a query table task on a structured data resource (e.g., a data table, a data object), and a task configuration indicating the execution of a query knowledge task on an unstructured data resource (e.g., a document, a web page, etc.). That is, the query table and the query knowledge may correspond to a processing strategy for the data resource.
[0057] In addition to data resources and processing strategies, processing rules corresponding to the processing strategies can also be included. Processing rules can assist the execution of processing strategies in the form of prompt information. Thus, through flexible configuration, the target task can achieve diversified processing of user input.
[0058] In box 203, the application management platform 110 creates a target task based on the configuration information. The application management platform 110 can automatically update the configuration parameters of the target task based on the received configuration information. The updated target task can better respond to user input and generate reply content that meets user needs. For example, the user input is "Help me check the situation of customer A." The application management platform 110 determines that the user input is processed by the target task, and the target task can obtain information related to the situation of customer A from multiple dimensions based on the configuration information. For example, information such as the primary industry, secondary industry, and region to which customer A belongs can be obtained and displayed in the form of a table. In addition, for example, the associated customers and similar customers of customer A can also be obtained, and the relevant information of the associated customers and similar customers of customer A can be displayed in the form of a knowledge question and answer. Then, the reply content can be determined based on the determined information.
[0059] In this way, the application management platform 110 can flexibly configure and optimize the target tasks in the target application. The configured target tasks can generate detailed and rich (diversified, multi-dimensional) response content based on simple user input, which significantly improves the flexibility and responsiveness of the target application, thereby improving the interaction quality.
[0060] The configuration information of the target task may include various situations, each of which is described in detail below. In some embodiments of the present disclosure, the application management platform 110 receives a selection of a first data resource from at least one data resource, and as at least part of the configuration information, the processing strategy for the first data resource includes data query.
[0061] Still combined Figure 3 As shown, the configuration area 302 of the task information may include a first configuration entry 3021. The first configuration entry 3021 indicates that the processing strategy for the first data resource includes a data query processing strategy, and the first data resource may be a data resource corresponding to a user input.
[0062] The data query processing strategy may include extracting required information from a data source. For example, the data query processing strategy indicates that a structured query statement may be generated based on user input. Based on the structured query statement, data information matching the user input is extracted from the first data resource. The first configuration entry 3021 may receive a selection of a first data resource. The first data resource may be a structured data resource, or may be a data resource containing structured data content.
[0063] Through the above configuration, the application management platform 110 can build target applications according to the specific needs of different business scenarios. In addition, the above configuration supports dynamic adjustment, so that based on the dynamically adjusted data resources and data query processing strategies, more accurate and relevant response content can be generated in response to user input. This not only enhances the responsiveness of the application management platform 110, but also improves the user experience, allowing it to obtain more detailed and personalized response content.
[0064] In addition to configuring the first data resource corresponding to the data query processing strategy, the data query rules corresponding to the data query processing strategy can also be configured. In some embodiments of the present disclosure, the application management platform 110 receives first prompt information for the machine learning model, and the first prompt information indicates the data query rules for the machine learning model to perform data query.
[0065] Based on the needs of intelligent interaction, in the present disclosure, the model 155 can be used to execute the data query processing strategy, and the model 155 can be a machine learning model. Based on this, on the basis of configuring the first data resource and configuring the processing strategy for the first data resource, prompt information for the model 155 can also be configured.
[0066] Still combined Figure 3 As shown, the configuration area 302 of the task information may include a first prompt information receiving entry 3022 corresponding to the first configuration entry 3021. The first prompt information receiving entry 3022 may be a part of the first configuration entry 3021. In the first prompt information receiving entry 3022, the first prompt information of the model 155 may be received.
[0067] The function of the first prompt information may include indicating how the model 155 executes the data query processing strategy. Exemplarily, through the first prompt information, appropriate query rules can be generated based on user input. For example, the first prompt information may include instructions such as query content, instructions for filtering and sorting rules, instructions for display formats, etc.
[0068] Taking the target task corresponding to the customer analysis scenario as an example, for the indication of the query content included in the first prompt information, the first prompt information can instruct the model 155 to determine the corresponding industry (primary industry, secondary industry) or customer name and other extended information based on the user input. Based on the extended information, a corresponding structured query statement is generated to retrieve the data corresponding to the extended information from the first data resource. For the indication of the filtering and sorting rules included in the first prompt information, the first prompt information can instruct the model 155 to filter and sort the query results to ensure that the returned results meet the specified rules. For example, data priority rules, data relevance rules, etc. For the indication of the display format included in the first prompt information, the first prompt information can instruct the model 155 to display the query results in a table. In addition, the field name and the data content corresponding to the name can also be displayed in the table. In addition, the layout and style of the table can be adjusted according to the field name or data content so that users can browse and operate the data more conveniently.
[0069] The application management platform 110 receives a selection of a second data resource from among the at least one data resource, and as at least a part of the configuration information, a processing strategy for the second data resource includes a knowledge question and answer.
[0070] Similar to the first configuration entry 3021, the configuration interface may also include a second configuration entry 3031. Figure 3 As shown, the configuration area 302 of the task information may include a second configuration entry 3031. The second configuration entry 3031 indicates that the processing strategy for the second data resource includes a knowledge question and answer processing strategy, and the second data resource may be a data resource corresponding to the user input. Although the second data resource and the first data resource are included, in an actual scenario, the second data resource and the first data resource may be the same data resource.
[0071] The knowledge question answering processing strategy includes retrieving and processing relevant information from at least one second data resource. For example, the knowledge question answering processing strategy indicates that relevant documents or knowledge fragments can be searched in at least one second data resource based on user input. Such a strategy can enable the target task to accurately retrieve necessary information from the relevant knowledge base based on user input and generate corresponding answers.
[0072] Through the above configuration, in addition to using the data query processing strategy, the knowledge question and answer processing strategy can also be used. Thus, the reply content for the user input can be generated from different dimensions, making the reply content richer and improving the quality of interaction with the user.
[0073] In addition to configuring the second data resource corresponding to the knowledge question and answer processing strategy, the result generation rule corresponding to the knowledge question and answer processing strategy can also be configured. In some embodiments of the present disclosure, the application management platform 110 receives a second prompt information for the machine learning model, and the second prompt information indicates the result generation rule used by the machine learning model to execute the knowledge question and answer.
[0074] Still combined Figure 3 As shown, the configuration area 302 of the task information may include a second prompt information receiving entry 3032 corresponding to the second configuration entry 3031. The second prompt information receiving entry 3032 may be a part of the second configuration entry 3031. The second prompt information receiving entry 3032 may receive the second prompt information for the model 155.
[0075] The second prompt information may include indicating how the model 155 executes the knowledge question answering processing strategy. For example, the second prompt information may include content recommendation instructions, text processing instructions, and the like.
[0076] Still taking the target task corresponding to the customer analysis scenario as an example. Based on the second prompt information including content recommendation instructions, the second prompt information can instruct the model 155 to recommend related content based on the user input. For example, the second prompt information instructs the model 155 to determine the knowledge fragments and cases related to the keywords or themes from the second data resource based on the keywords or themes input by the user. In this way, it can be ensured that the target task can provide high-quality and relevant knowledge recommendations to help users better understand and solve problems. Based on the second prompt information including text processing instructions, the second prompt information instructs the model 155 to perform text processing and display on the retrieved knowledge fragments. For example, for the reply content, by defining text summary rules, the model 155 can be instructed to perform text processing on the knowledge fragments and display them in a concise form. Display rules such as highlighting or bolding can also be defined to highlight key content related to the user input.
[0077] Through the above process, by configuring the data query processing strategy, model 155 can generate corresponding structured query statements based on user input, extract the required information from relevant data resources, and display it in an intuitive form such as a table. This enables users to quickly obtain the required data in order to analyze and make decisions based on the required data. On the other hand, by configuring the knowledge question and answer processing strategy, model 155 can retrieve and recommend relevant knowledge items based on user input, and generate detailed answer content and recommended information. This not only meets the user's demand for knowledge, but also provides multi-angle and diversified reply content, making the interaction with user input more comprehensive and detailed.
[0078] In response to receiving configuration information at the first configuration entry 3021 (including the first prompt information receiving entry 3022) and the second configuration entry 3031 (including the second prompt information receiving entry 3032), the application management platform 110 receives third prompt information for the machine learning model, the third prompt information is used to indicate a content fusion rule for the machine learning model to process multiple candidate answer contents, and the multiple candidate answer contents are obtained based on at least one processing strategy.
[0079] The application management platform 110 may choose to receive the third prompt information for the machine learning model through the third configuration entry in the configuration interface. Exemplarily, the third prompt information received by the third configuration entry 3041 may indicate the content fusion rules of the model 155 for processing multiple candidate reply contents. The candidate reply contents may include first candidate content generated based on the configuration information received by the first configuration entry 3021 (including the first prompt information receiving entry 3022), and second candidate content generated based on the configuration information received by the second configuration entry 3031 (including the second prompt information receiving entry 3032). The first candidate content may correspond to a reply content of a table type, and the second candidate content may correspond to a reply content of a question-and-answer type.
[0080] The content fusion rule may indicate the rules for the mutual fusion of the first candidate content and the second candidate content. For example, the first candidate content corresponds to a table containing customer information, and the second candidate content corresponds to a text description of the customer background. On the one hand, the content fusion rule may indicate that based on the second candidate content, the table data in the first candidate content is supplemented, corrected, or deleted to ensure the accuracy, completeness, and richness of the data. On the other hand, the content fusion rule may also indicate that if specific data is mentioned in the second candidate content, it can be displayed in the form of a table in the first candidate content so that the user can understand it more intuitively. For example, the table in the first candidate content can be inserted into the appropriate position in the second candidate content, making the second candidate content richer and more intuitive. This integration method not only improves the quality of the reply content, but also enhances the user experience, so that the target task can provide a more in-depth and valuable reply.
[0081] Based on the configured target task, it can also be tested. For the test process, in some embodiments of the present disclosure, the application management platform 110 responds to a test request for a specified stage in the multiple stages corresponding to the target task, presents at least one debugging item corresponding to the processing strategy adopted in the specified stage, and a given debugging item in the at least one debugging item is determined based on the configuration information. Based on the received debugging information for the debugging item, the target task is updated.
[0082] The multiple stages corresponding to the target task may include a stage for processing user input, a stage for generating reply content, etc. In response to the test for the target task, a debugging entry corresponding to each of the multiple stages may be presented. The debugging entry of each stage allows the user to select and enter the corresponding debugging interface to perform detailed debugging operations.
[0083] Figure 4 FIG. 4 is a schematic diagram of a debugging interface 400 according to some embodiments of the present disclosure. Figure 4 In the example shown, the stages include the intent recognition and recall stage, the data retrieval and processing stage, and the result generation stage. The debugging interface is an interface corresponding to the data retrieval and processing stage. The debugging entrances are presented in multiple ways on the debugging interface, that is, the user can quickly enter the corresponding debugging interface through these debugging entrances to debug each stage of the target task respectively. Figure 4 In the example shown, the debugging entry corresponding to the data retrieval and processing stage is selected, thereby presenting the debugging page corresponding to the data retrieval and processing stage.
[0084] The debugging interface includes at least one debugging item corresponding to the processing strategy adopted in the specified stage. At least one of these debugging items is determined based on the configuration information. For example, if the configuration information indicates that the corresponding industry or customer name and other extended information are to be determined based on the user input, then the debugging items in the debugging interface can include adjustments to these industries or customer names. The user 105 can verify and adjust the industry information and customer information involved in the target task in the data retrieval and processing stage through the debugging interface to see whether they are accurate or meet expectations.
[0085] The automatic generation of debugging items enables the user 105 to make targeted adjustments without having to manually configure each debugging item. This not only improves debugging efficiency, but also ensures the targeting and accuracy of the debugging process. For example, the user 105 can directly view and adjust industry information and customer information in the debugging interface to ensure their accuracy and consistency.
[0086] In some embodiments of the present disclosure, a specified task may be created based on historical user input. The specified task may be a task that has not been created before, that is, a task that needs to be newly created. For example, in response to the number of historical user inputs matching the specified task exceeding a threshold, the historical user input may be obtained. Based on the historical user input, initial configuration information of the specified task is configured in the task creation interface of the specified task.
[0087] The application management platform 110 can perform statistics on the historical data of user input to determine whether the conditions for creating a specified task are met. Exemplarily, a similarity match can be performed between the newly received user input and the historical data of user input. If, in the historical data of user input, there are historical data exceeding a quantity threshold whose similarity to the user input is not less than a similarity threshold, and a task corresponding to this type of user input has not been created, it can be determined that the conditions for creating a specified task are met. In other words, the specified task is more suitable for processing this type of user input than the existing created tasks.
[0088] In response to satisfying the creation condition of the specified task, the application management platform 110 may present a creation interface corresponding to the specified task. Figure 5 A schematic diagram of a task creation interface 500 according to some embodiments of the present disclosure is shown. The task creation interface 500 may be displayed. The creation interface may display the reason for creating a specified task, for example, "There are many similar queries. If there are many questions under this topic that need to be optimized, it is recommended to create a corresponding question-and-answer task." In addition, a certain amount of historical data with a high degree of similarity to the user input may also be displayed as recalled data in the task creation interface 500.
[0089] In the task creation interface 500, the application management platform 110 will automatically fill in the initial configuration information of the specified task based on the historical data input by the user. These initial configuration information can include multiple aspects such as data selection, processing strategy, prompt information, etc. as recall terms, so as to help the user 105 quickly complete the configuration process. For example, if the user input request is "query customer information", the application management platform 110 will generate initial configurations such as data selection, query strategy, prompt information, etc. based on similar historical requests.
[0090] In this way, the application management platform 110 can greatly improve the efficiency of user configuration tasks. Users do not need to configure tasks from scratch, but can quickly generate initial configuration information based on historical data reference. This not only reduces the user's workload, but also improves the accuracy and rationality of the configuration.
[0091] In some embodiments of the present disclosure, the application management platform 110 may also add the created target task to the workflow of the target application to update the target application. As an example, the association relationship between the task nodes included in the workflow of the target application may be obtained. Then, based on the association relationship and the input data and output data of the target task, the target task may be added to the workflow.
[0092] The task nodes in the workflow can represent different processing steps or task modules, and the complex tasks can be completed through the collaborative work of these task nodes. In these task nodes, the association relationship can indicate the data flow and processing logic. Based on the association relationship, the application management platform 110 can determine how each task node interacts and transfers data.
[0093] When a new target task is created, the application management platform 110 first identifies the existing task nodes and their associations in the current workflow. Based on the associations, the application management platform 110 can determine the input data and output data of the target task. For example, the input data of the target task can come from the output of the previous task node, and the output data can be used as the input of the next task node. By analyzing these data flows, the application management platform 110 can insert the target task into the appropriate position of the workflow to ensure the coherence and consistency of the entire process.
[0094] In this way, the application management platform 110 can flexibly add new target tasks to the existing workflow, so that the target application can be dynamically expanded and optimized to meet the diverse needs of different business scenarios. This not only improves the flexibility and scalability of the workflow, but also enhances the quality of interaction with users and the service level.
[0095] Figure 6 A block diagram of a data processing process 600 according to some embodiments of the present disclosure is shown. The data processing process can be implemented on the application management platform 110, and specifically can correspond to the application running part. Figure 1 To describe Figure 6 The task processing process shown. A target application 120 may be deployed on the application management platform 110, and the target application 120 may include or be implemented as a digital assistant 122. Thus, interaction with the user may be achieved based on the digital assistant 122.
[0096] The application running part may include the following process. In box 601, the application management platform 110 determines a target task for processing the user input in the target application in response to receiving the user input. Generally speaking, the target application will include multiple task modules. For example, each task module can process different types of user input. For another example, each task module can process the user input in different ways.
[0097] The application management platform 110 will match the target task that best suits the user input from multiple task modules based on the specific content and requirements of the user input. For example, the query request input by the user may contain specific keywords or intents, and the application management platform 110 will analyze this information and match it to the target task that best meets the query requirements.
[0098] In block 602 , configuration information corresponding to the target task is obtained, where the configuration information at least indicates at least one data resource required to execute the target task, at least one processing strategy related to the at least one data resource, and a processing rule for the at least one processing strategy.
[0099] Based on the determined target task, the application management platform 110 may obtain configuration information corresponding to the target task. The configuration information may at least indicate at least one data resource corresponding to the user input and at least one processing strategy related to the at least one data resource.
[0100] Exemplarily, the processing strategy may include a data query processing strategy for data resources, a knowledge question and answer processing strategy for data resources, etc. Through these processing strategies, the target task can effectively process the data resources input by the user, and perform corresponding data extraction and data analysis, etc. For example, the data query processing strategy may include generating a structured query statement to retrieve information related to the user input from the data resource. For another example, the knowledge question and answer processing strategy may involve using the model 155 to understand and answer the user's questions. In addition, processing rules corresponding to the processing strategy may also be included. The processing rules can assist the execution of the processing strategy in the form of prompt information.
[0101] In block 603, the target task generates a reply content corresponding to the user input based on the configuration information. Based on the configuration information, the target task can generate a reply content corresponding to the user input. This process may include parsing the user input, retrieving and processing data resources, and generating the final reply content.
[0102] The target task will parse the user input according to the processing strategy specified in the configuration information, and use the corresponding data resources to generate accurate and comprehensive reply content. For example, the target task can retrieve relevant information from the data resources according to the data query processing strategy, and organize it into the format declared in the configuration information as the reply content. For another example, the target task can use the model 155 to determine the knowledge fragments in the data resources according to the knowledge question and answer processing strategy, and generate reply content based on the knowledge fragments.
[0103] By matching target tasks suitable for user input in multiple task modules, the application management platform 110 can process user input more effectively. This process ensures that the selected target task best meets the user's query needs by analyzing the specific content and needs of the user's input. Using the configuration information related to the target task, including data resources and processing strategies, the platform can accurately perform operations such as data query and knowledge question and answer, and generate accurate and comprehensive response content. Ultimately, the application management platform 110 can not only provide richer and more comprehensive responses, but also improve the quality of interaction with users and enhance user experience. In addition, based on the configuration and application of processing strategies, the application management platform 110 can automatically generate replies that are highly relevant to user input, significantly improving the accuracy and intelligence of the replies.
[0104] For different processing strategies, different types of information are determined based on the configuration information to generate reply content. Exemplarily, in some embodiments of the present disclosure, if the processing strategy includes data query, at least one first data resource corresponding to the user input and a data query rule used for the data query can be determined based on the configuration information. Based on the data query rule, a query result is determined from the at least one first data resource. Based on the query result, a reply content corresponding to the user input is generated.
[0105] If the processing strategy indicated in the configuration information includes a data query processing strategy, the configuration information may include indicating at least one first data resource corresponding to the data query processing strategy, and a data query rule corresponding to the data query processing strategy. For example, the configuration information may include "customer information data source" corresponding to the first data resource and "determine the corresponding industry (primary industry, secondary industry), customer name, customer location, customer type and contact person and other extended information based on user input" corresponding to the data query rule.
[0106] For the received user input, the target task can generate prompt information based on the configuration information. For example, the received user input is "Help me check the situation of customer A". Based on the user input and the configuration information, the target task can use the model 155 to determine the industry, region, customer type, and customer contact corresponding to customer A, and these determination results can be used as prompt information.
[0107] Based on the prompt information, a structured query statement can be constructed by the model 155. The structured query statement is used to perform a query in at least one of the determined first data resources to obtain a query result. Based on the query result, the model 155 can further process the data. For example, the query result is converted into a specified table form to generate a reply content corresponding to the user input. That is, the reply content can include one or more dimensions, thereby improving the richness of the reply content.
[0108] In this way, the application management platform 110 can not only accurately understand and process user input, but also generate rich and detailed response content that is highly relevant to user needs, thereby improving user interaction experience and satisfaction.
[0109] For the reply content, other dimensions may also be included. In some embodiments of the present disclosure, if the processing strategy includes knowledge questions and answers, at least one second data resource corresponding to the user input and the result generation rule adopted by the knowledge questions and answers may be determined based on the configuration information. Based on the result generation rule, a knowledge fragment is determined from the at least one second data resource. Based on the knowledge fragment and the result generation rule, a reply content corresponding to the user input is generated.
[0110] If the processing strategy of the data resource indicated in the configuration information includes a knowledge question and answer processing strategy, the configuration information may include an indication of at least one second data resource corresponding to the knowledge question and answer processing strategy, and a result generation rule corresponding to the knowledge question and answer processing strategy. For example, the configuration information may include an "industry knowledge data source" and an "industry case data source" corresponding to the second data resource, and "extracting relevant industry reports, market analysis, development trends and other information based on user input" corresponding to the result generation rule. It should be noted that although the second data resource and the first data resource are used to distinguish here, in actual situations, the second data resource and the first data resource may be the same data resource.
[0111] For the received user input, the target task can generate prompt information based on the configuration information. For example, the received user input is "detailed introduction to the development of a certain industry". Based on the user input and the configuration information, the target task can use the model 155 to determine the industry report, market analysis and development trend, and related cases corresponding to the user input. These determination results can be used as prompt information.
[0112] Based on the prompt information, the model 155 can extract relevant knowledge fragments from the corresponding second data resource. The model 155 generates rules according to the results, and screens, combines and integrates these knowledge fragments to obtain the reply content.
[0113] Based on the knowledge fragments and result generation rules, the model 155 can further process the data. For example, the model 155 can integrate the extracted industry reports, market analysis, and related cases into a detailed industry development report. This report may include the current status of the industry, future development trends, market competition analysis, etc., and can provide the end user 145 with comprehensive and in-depth industry information. In this way, the application management platform 110 can generate reply content from different angles, thereby improving the quality of interaction.
[0114] In some embodiments of the present disclosure, there are multiple processing strategies for the response data resource, and based on the processing strategy of each data resource, candidate reply content corresponding to the processing strategy of the data resource is generated. In this case, the content fusion rule included in the target task can be obtained. Based on the content fusion rule, content fusion can be performed on multiple candidate reply contents to generate reply content corresponding to the user input.
[0115] If there are multiple processing strategies for the data resources indicated in the configuration information, the target task may generate candidate reply content corresponding to the processing strategy of each data resource based on the processing strategy of the data resource.
[0116] In the case where there are multiple candidate reply contents, content fusion can be performed on the multiple candidate reply contents based on the content fusion rules. Taking two candidate reply contents as an example, the first candidate content can be a table containing customer information, and the second candidate content can be a text description about the customer background. The content fusion rules can indicate that based on the second candidate content, the table data in the first candidate content should be supplemented, corrected or deleted to ensure the accuracy, completeness and richness of the data. Alternatively, the content fusion rules can also indicate that based on the first candidate content, the knowledge questions and answers in the second candidate content should be auxiliary displayed. For example, if the second candidate content mentions specific data, the table in the first candidate content can be inserted into the appropriate position in the second candidate content, making the second candidate content more intuitive and enriching the task.
[0117] By integrating different candidate contents, the application management platform 110 can not only provide single-dimensional answers, but also integrate information from multiple dimensions, ensuring that users can obtain complete and multi-faceted answers through a single question-and-answer interaction, thereby enhancing the user experience. By applying content fusion rules, the application management platform 110 can automatically process and optimize different types of reply contents, reducing the user's operational complexity and time consumption. Users can obtain the required information more efficiently.
[0118] Fig. 7A and Figure 7B A schematic flow chart of a data processing method according to some embodiments of the present disclosure is shown. For user input, intent understanding is performed in box 701 and multi-way recall is performed in box 702. Intent understanding includes determining the intent of the user input and determining keywords, etc. Multi-way recall can include recalling frequently asked questions (FAQs), data resources, and data question-answering tasks related to the user input.
[0119] In block 703, based on the result of the intent understanding, a suitable processing method for the user input can be matched in the multi-way recall. For example, if the matching result is a FAQ, then the process can proceed to Figure 7B The block 712-23 shown in FIG. 704 is used to determine the standard answer in the FAQ database. If the matching result is a data question answering task, the data question answering task is executed in block 704.
[0120] In box 705, the scope of obtaining user input can be determined by configuring whether to start multiple rounds of dialogue. If it is configured to start multiple rounds of dialogue, multiple rounds of user input can be obtained in box 706. That is, the context of the user input is obtained. In box 707, similar use case recall, terminology recall and question-and-answer scenario recall can be performed based on the context of the user input. Exemplarily, the question-and-answer scenario can correspond to the target task in the aforementioned example. Generally speaking, there can be multiple question-and-answer scenarios, such as customer analysis scenarios, sales analysis scenarios, and so on.
[0121] In block 708, the recalled content may be parsed to obtain parsing results. Exemplarily, the parsing may include feature extraction and feature encoding. In block 709, based on the parsing results of the recalled content, the user input may be matched with multiple question-and-answer scenarios to determine the most relevant question-and-answer scenario.
[0122] For the matched scenario, it can be configured in box 710, or the default configuration of the scenario can be used to perform the intention decomposition of the user input in box 711. The configuration in box 710 may include the configuration of the processing strategy related to data query, the configuration of the processing strategy related to knowledge question answering, and the configuration of content fusion rules in the above example. Figure 7B Box 712 is shown.
[0123] In box 712, a multi-channel parallel processing strategy for user input can be obtained, such as a processing strategy related to data query. The processing strategy corresponds to query table generation rules (box 712-21), structured query statement generation (box 712-22) and data query execution (box 712-23). Another example is a processing strategy related to knowledge question and answer, which corresponds to the result generation rule of knowledge question and answer (box 712-11) and the execution of retrieved knowledge fragments (box 712-12).
[0124] Based on the multi-channel parallel processing strategy, multiple results can be obtained. In box 713, multiple results can be synthesized. On the one hand, the default generation rules can be adopted, that is, corresponding to box 713-21 or corresponding to box 713-31, and the results are generated according to the default rules. For example, in box 713-21, the default rules may include tables obtained by displaying data queries and texts obtained by retrieving knowledge fragments. For another example, in box 713-31, the default rules may include default scene configurations and result generation requirements. On the other hand, configured generation rules can be adopted. For example, in box 713-11, content fusion rules can be configured to fuse multiple results. In box 714, multiple results can be processed according to the result generation rules to obtain results. Thus, the results can be rendered interactively in box 715.
[0125] Figure 8 A schematic structural block diagram of an application configuration device 800 according to some embodiments of the present disclosure is shown. The device 800 may be implemented in or included in the application management platform 110, for example. Each module / component in the device 800 may be implemented by hardware, software, firmware, or any combination thereof.
[0126] As shown in the figure, the device 800 may include a configuration interface presentation module 801, which is configured to receive a configuration request for a target task in a target application, where the target task is used to generate a reply content corresponding to the user input based on the user input. A configuration information receiving module 802 is configured to obtain configuration information for the target task in response to the configuration request, where the configuration information at least indicates at least one data resource required to execute the target task, at least one processing strategy related to the at least one data resource, and a processing rule for the at least one processing strategy. A target task creation module 803 is configured to create the target task based on the configuration information.
[0127] In some implementations, the configuration information receiving module 802 may be specifically configured to: receive a selection of a first data resource among at least one data resource, as at least a part of the configuration information, and the processing strategy for the first data resource includes data query.
[0128] In some embodiments, the configuration information receiving module 802 can also be specifically configured to: receive first prompt information for a machine learning model, the first prompt information indicating a data query rule for the machine learning model to perform data query.
[0129] In some embodiments, the configuration information receiving module 802 may be specifically configured to: receive a selection of a second data resource from among the at least one data resource, and as at least a part of the configuration information, a processing strategy for the second data resource includes a knowledge question and answer.
[0130] In some embodiments, the configuration information receiving module 802 can also be specifically configured to: receive second prompt information for the machine learning model, the second prompt information indicating the result generation rules used by the machine learning model to execute the knowledge question and answer.
[0131] In some embodiments, the configuration information receiving module 802 can be specifically configured to: receive third prompt information for the machine learning model, the third prompt information is used to indicate the content fusion rules of the machine learning model for processing multiple candidate reply contents, and the multiple candidate reply contents are obtained based on at least one processing strategy.
[0132] In some embodiments, the apparatus 800 may further include a debugging module, which may be configured to: in response to a test request for a specified stage among the multiple stages corresponding to the target task, present at least one debugging item corresponding to the processing strategy adopted in the specified stage, wherein a given debugging item in the at least one debugging item is determined based on the configuration information. Based on the received debugging information for the debugging item, update the target task.
[0133] In some embodiments, the apparatus 800 may further include a quick configuration module, which may be configured to: in response to the number of historical user inputs matching the designated task exceeding a threshold, obtain historical user inputs, and configure initial configuration information of the designated task based on the historical user inputs.
[0134] In some embodiments, the apparatus 800 may further include a workflow update module, which may be configured to: obtain the association relationship between task nodes included in the workflow of the target application, and add the target task to the workflow based on the association relationship and the input data and output data of the target task.
[0135] Fig. 9 A schematic structural block diagram of an information processing device 900 according to some embodiments of the present disclosure is shown. The device 900 may be implemented in or included in the application management platform 110, for example. Each module / component in the device 900 may be implemented by hardware, software, firmware, or any combination thereof.
[0136] As shown in the figure, the device 900 may include a target function determination module 901, which is configured to determine the target function for processing the user input in the target application in response to receiving the user input. A configuration information acquisition module 902 is configured to obtain configuration information corresponding to the target function, and the configuration information at least indicates the data resource corresponding to the user input, at least one processing strategy related to at least one data resource, and the processing rules for at least one processing strategy. A reply content generation module 903 is configured to generate reply content corresponding to the user input based on the configuration information.
[0137] In some embodiments, the reply content generation module 903 may be specifically configured to: in response to the processing strategy including data query, determine at least one data resource corresponding to the user input and a data query rule used for the data query based on the configuration information; determine a query result from the at least one data resource based on the data query rule; and generate reply content corresponding to the user input based on the query result.
[0138] In some embodiments, the reply content generation module 903 may be specifically configured to: in response to the processing strategy including knowledge question and answer, determine at least one data resource corresponding to the user input and the result generation rule adopted by the knowledge question and answer based on the configuration information. Based on the result generation rule, determine the knowledge fragment from the at least one data resource. Based on the knowledge fragment and the result generation rule, generate the reply content corresponding to the user input.
[0139] In some embodiments, there are multiple processing strategies for the response data resource, and based on the processing strategy of each data resource, candidate reply content corresponding to the processing strategy of the data resource is generated, and the reply content generation module 903 can be specifically configured to: obtain the content fusion rule included in the target task. Based on the content fusion rule, perform content fusion on multiple candidate reply contents to generate reply content corresponding to the user input.
[0140] Fig.10 1 shows a block diagram of an electronic device 1000 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Fig.10 The electronic device 1000 shown is merely exemplary and should not be construed as limiting the mission and scope of the embodiments described herein. Fig.10 The electronic device 1000 shown may include or be implemented as Figure 1 Application management platform 110, Figure 8 Device 800 or Fig. 9 Device 900.
[0141] like Fig.10 As shown, the electronic device 1000 is in the form of a general electronic device. The components of the electronic device 1000 may include, but are not limited to, one or more processors or processing units 1010, a memory 1020, a storage device 1030, one or more communication units 1040, one or more input devices 1050, and one or more output devices 1060. The processing unit 1010 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 1020. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 1000.
[0142] The electronic device 1000 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 1000, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 1020 may be a volatile memory (e.g., a register, a cache, a 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 1030 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 1000.
[0143] The electronic device 1000 may further include additional removable / non-removable, volatile / non-volatile storage media. Fig.10 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. Memory 1020 may include a computer program product 1025 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0144] The communication unit 1040 implements communication with other electronic devices through a communication medium. Additionally, the tasks of the components of the electronic device 1000 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 1000 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.
[0145] The input device 1050 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 1060 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 1000 may also communicate with one or more external devices (not shown) through the communication unit 1040 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 1000, or communicate with any device that allows the electronic device 1000 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).
[0146] 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.
[0147] 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.
[0148] 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.
[0149] 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.
[0150] 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.
[0151] 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 application configuration method, comprising: receiving a configuration request for a target task in a target application, the target task being used to generate a reply content corresponding to the user input based on the user input; In response to the configuration request, acquiring configuration information for the target task, the configuration information at least indicating at least one data resource required to execute the target task, at least one processing strategy related to the at least one data resource, and a processing rule for the at least one processing strategy; and Based on the configuration information, the target task is created.
2. The method according to claim 1, wherein receiving configuration information for the target task comprises: A selection of a first data resource of the at least one data resource is received, as at least a portion of the configuration information, a processing strategy for the first data resource comprising a data query.
3. The method according to claim 2, wherein receiving configuration information for the target task further comprises: First prompt information for a machine learning model is received, wherein the first prompt information indicates a data query rule for the machine learning model to perform the data query.
4. The method according to claim 1, wherein receiving configuration information for the target task comprises: A selection of a second data resource among the at least one data resource is received, as at least a portion of the configuration information, a processing strategy for the second data resource comprising a knowledge question.
5. The method according to claim 4, wherein receiving configuration information for the target task further comprises: Second prompt information for the machine learning model is received, and the second prompt information indicates a result generation rule adopted by the machine learning model to execute the knowledge question and answer.
6. The method according to claim 1, wherein receiving configuration information for the target task comprises: Receive third prompt information for the machine learning model, wherein the third prompt information is used to indicate a content fusion rule for the machine learning model to process multiple candidate reply contents, and the multiple candidate reply contents are obtained based on the at least one processing strategy.
7. The method according to claim 1, further comprising: In response to a test request for a specified stage among the multiple stages corresponding to the target task, present at least one debugging item corresponding to the processing strategy adopted in the specified stage, wherein a given debugging item in the at least one debugging item is determined based on the configuration information; as well as The target task is updated based on the received debugging information for the debugging item.
8. The method according to claim 1, further comprising: In response to the number of historical user inputs matching the specified task exceeding a threshold, obtaining the historical user inputs; as well as Based on the historical user input, initial configuration information of the designated task is configured.
9. The method according to claim 1, further comprising: Obtaining the association relationship between each task node included in the workflow of the target application; as well as The target task is added to the workflow based on the association relationship and the input data and output data of the target task.
10. An information processing method, comprising: In response to receiving the user input, determining a target task for processing the user input in the target application; Acquire configuration information corresponding to the target task, the configuration information at least indicating at least one data resource required to execute the target task, at least one processing strategy related to the at least one data resource, and a processing rule for the at least one processing strategy; and Based on the configuration information, a reply content corresponding to the user input is generated.
11. The method according to claim 10, wherein generating a reply content corresponding to the user input comprises: In response to the processing strategy including data query, determining at least one first data resource corresponding to the user input and a data query rule adopted by the data query based on the configuration information; Based on the data query rule, determining a query result from the at least one first data resource; as well as Based on the query result, a reply content corresponding to the user input is generated.
12. The method according to claim 10, wherein generating a reply content corresponding to the user input comprises: In response to the processing strategy including knowledge question and answer, determining at least one second data resource corresponding to the user input and a result generation rule adopted by the knowledge question and answer based on the configuration information; determining a knowledge fragment from the at least one second data resource based on the result generation rule; as well as Based on the knowledge fragments and the result generation rules, a reply content corresponding to the user input is generated.
13. The method according to claim 10, in response to the fact that there are multiple processing strategies for the data resource, generating candidate reply content corresponding to the processing strategy of each data resource based on the processing strategy of the data resource, and generating reply content corresponding to the user input comprises: Obtaining content fusion rules included in the target task; as well as Based on the content fusion rule, content fusion is performed on the plurality of candidate reply contents to generate reply content corresponding to the user input.
14. An apparatus for application configuration, comprising: A configuration interface presentation module, configured to receive a configuration request for a target task in a target application, wherein the target task is used to generate a reply content corresponding to the user input based on the user input; a configuration information receiving module, configured to obtain configuration information for the target task in response to the configuration request, the configuration information at least indicating at least one data resource required to execute the target task, at least one processing strategy related to the at least one data resource, and a processing rule for the at least one processing strategy; as well as The target task creation module is configured to create the target task based on the configuration information.
15. An apparatus for information processing, comprising: a target function determination module, configured to, in response to receiving a user input, determine a target function for processing the user input in a target application; a configuration information acquisition module, configured to acquire configuration information corresponding to the target task, the configuration information at least indicating at least one data resource required to execute the target task, at least one processing strategy related to the at least one data resource, and a processing rule for the at least one processing strategy; and The reply content generation module is configured to generate reply content corresponding to the user input based on the configuration information.
16. 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 to 13.
17. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 13.
Citation Information
Patent Citations
Response statement generation method and device, electronic equipment and storage medium
CN117874207A
Data processing method and device based on large language model and block chain
CN117952212A
Application debugging method and device, equipment and storage medium
CN118170656A
Question answering method and device, equipment and medium
CN118193699A
Intelligent question and answer processing method, device, equipment and program product
CN118394918A
Cited By
Application configuration method and apparatus, information processing method and apparatus, device and storage medium
WO2026040472A1
