Method, apparatus, device and storage medium for application creation and information processing
By receiving and configuring the presentation style information of rich text messages, and utilizing predefined computer language formats and machine learning models, the problem of supporting multimodal content was solved, enabling visual editing and improved interaction quality of rich text interactive cards, and increasing the efficiency of application creation and information processing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2024-08-18
- Publication Date
- 2026-06-16
AI Technical Summary
Existing technologies lack effective support for multimodal content. Traditional computer languages have limited expressive power in building rich text interactive cards, making it difficult to create meaningful and data-driven message content, which affects the richness and efficiency of interactive content.
By receiving rich text message presentation style configuration information, configuring message sending operations using a predefined computer language format, and generating response messages, it supports the embedding and interaction of multimodal content, employs a rich text editor with visual editing and real-time preview, defines the syntax rules for rich text interactive cards, and utilizes machine learning models for user interaction.
It improves the quality and efficiency of interaction between end users and applications, enables rich and data-driven interactive content, and provides a consistent experience and an intuitive application creation process.
Smart Images

Figure CN119088436B_ABST
Abstract
Description
Technical Field
[0001] The exemplary embodiments disclosed herein generally relate to the field of computers, and particularly to methods, apparatuses, devices, and computer-readable storage media for task processing of application creation, and methods, apparatuses, devices, and computer-readable storage media for information processing. Background Technology
[0002] With the development of information technology, various terminal devices can provide people with a variety of services in work and life. Applications providing these services can be deployed on these terminal devices. The terminal devices present relevant content and interact with users through the application's user interface, meeting various user needs. In some cases, users may need to create applications for end-users to use in order to process information. Therefore, improving the efficiency of application creation and information processing is a key concern. Summary of the Invention
[0003] In a first aspect of this disclosure, an application creation method is provided. In this method, an instruction to add a messaging operation to a target application is received, the target application being configured to at least partially utilize a machine learning model to perform user interactions. Further, configuration information indicating the presentation style of rich text messages is determined. This configuration information has a format in a predetermined computer language. Furthermore, the messaging operation is added to the target application based on the configuration information.
[0004] In a second aspect of this disclosure, an information processing method is provided. In this method, processing of user input in a target application includes a message sending operation, obtaining configuration information indicating a presentation style for a rich text message. The configuration information has a format of a predetermined computer language. The target application is configured to at least partially utilize a machine learning model to perform user interactions. Based on the configuration information, a response message is generated in response to the user input. The response message has the indicated presentation style. Further, the response message is presented.
[0005] In a third aspect of this disclosure, an apparatus for application creation is provided. The apparatus includes a receiving module, a determining module, and an adding module. The receiving module is configured to receive an instruction to add a message sending operation to a target application, the target application being configured to at least partially utilize a machine learning model to perform user interaction. The determining module is configured to determine configuration information indicating the presentation style of a rich text message, the configuration information having a format in a predetermined computer language. The adding module is configured to add the message sending operation to the target application based on the configuration information.
[0006] In a fourth aspect of this disclosure, an apparatus for information processing is provided. The apparatus includes an acquisition module, a generation module, and a presentation module. The acquisition module is configured to acquire configuration information indicating a presentation style for a rich text message in response to processing user input in a target application, including a message sending operation. The configuration information has a format in a predetermined computer language. The target application is configured to at least partially utilize a machine learning model to perform user interaction. The generation module is configured to generate a response message for user input based on the configuration information. The response message has the indicated presentation style. The presentation module is configured to present the response message.
[0007] In a fifth aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the electronic device to perform the methods of the first or second aspect.
[0008] In a sixth aspect of this disclosure, a computer-readable storage medium is provided. A computer program is stored on the medium, which, when executed by a processor, implements the method of the first or second aspect.
[0009] It should be understood that the description in this section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0010] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0011] Figure 1 A schematic diagram of an example environment in which embodiments of the present disclosure can be implemented is shown;
[0012] Figure 2 A flowchart of a method for application creation according to some embodiments of the present disclosure is shown;
[0013] Figure 3 Example interfaces for creating applications according to some embodiments of this disclosure are shown;
[0014] Figure 4 Example configuration interfaces according to some embodiments of this disclosure are shown;
[0015] Figure 5 Example rich text editing interfaces according to some embodiments of this disclosure are shown;
[0016] Figure 6 An example template selection interface according to some embodiments of this disclosure is shown;
[0017] Figure 7 A flowchart of a method for information processing according to some embodiments of the present disclosure is shown;
[0018] Figure 8 Example procedures for information processing according to some embodiments of this disclosure are shown;
[0019] Figure 9 A block diagram of an example apparatus for application creation according to some embodiments of the present disclosure is shown;
[0020] Figure 10 A block diagram of an example apparatus for information processing according to some embodiments of the present disclosure is shown; and
[0021] Figure 11 A block diagram of an apparatus in which one or more embodiments of the present disclosure may be implemented is shown. Detailed Implementation
[0022] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0023] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based 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.
[0024] In this document, unless explicitly stated otherwise, performing a step in response to A does not mean that the step is performed immediately after A, but may include one or more intermediate steps.
[0025] It is understood 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 related provisions.
[0026] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, relevant users should be informed of the type, scope of use, and usage scenarios of the information involved in this disclosure through appropriate means in accordance with relevant laws and regulations, and authorization should be obtained from the relevant users. Among them, relevant users may include any type of rights holder, such as individuals, enterprises, and groups.
[0027] For example, in response to receiving an active request from a user, a prompt message is sent to the relevant user to clearly inform the user that the requested operation will require obtaining and using the user's information, thereby enabling the relevant user to choose whether to provide information to the software or hardware such as the electronic device, application, server, or storage medium that performs the operation of the technical solution disclosed herein based on the prompt message.
[0028] As an optional but non-restrictive implementation, in response to a user's active request, a prompt message can be sent to the user, such as a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide information to the electronic device.
[0029] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure. The activation of digital assistant-related functions, the acquisition of data, the processing and storage of data, etc., in the embodiments of this disclosure shall all require prior authorization from the user and other rights holders associated with the user, and shall comply with the agreements and rules between relevant laws and regulations and rights holders.
[0030] As used in this paper, the term "model" refers to a model that learns the relationship between inputs and outputs from training data, enabling it to generate corresponding outputs for a given input after training. Model generation can be based on machine learning techniques. Deep learning is a machine learning algorithm that processes inputs and provides corresponding outputs using multiple layers of processing units. A neural network model is an example of a deep learning-based model. In this paper, "model" may also be referred to as a "machine learning model," "learning model," "machine learning network," or "learning network," and these terms are used interchangeably.
[0031] Figure 1A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. Environment 100 relates to an application management platform 110, which can support the creation and / or execution of applications. In some embodiments, the portion of the application management platform 110 used to support application creation may also be referred to as an application creation portion. In some embodiments, the portion of the application management platform 110 used to support application execution may also be referred to as an application execution portion.
[0032] As shown in the figure, the application creation section provides an environment for user 105 to create and publish applications. User 105 can be referred to as the application creation user or creator. In some embodiments, the application creation section can be a low-code platform that provides a collection of tools for application creation. The application creation section can support visual development of various types of applications, allowing developers to skip the manual coding process and accelerate the application development cycle and reduce costs. The application creation section can support any suitable platform for users to develop one or more types of applications, such as an application platform as a service (aPaaS) based platform. Such a platform enables users to efficiently develop applications, enabling operations such as application creation and application function adjustment.
[0033] The application creation component can be deployed locally on user 105's terminal device and / or supported by a server-side device. For example, user 105's terminal device can run a client with the application creation component, which can support interaction between the user and the application creation component provided by the server. When the application creation component runs locally on the user's terminal device, user 105 can directly interact with the local application creation component using the terminal device. When the application creation component runs on a server-side device, the server-side device can provide services to the client running on the terminal device based on the communication connection with the terminal device. The application creation component can present a corresponding page 130 to user 105 based on user 105's actions, to output and / or receive application creation-related information from user 105.
[0034] In some embodiments, the application creation section may be associated with a corresponding database, which stores the data or information required for the application creation process supported by the application creation section. For example, the database may store the code and description information corresponding to the various functional modules that make up the application. The application creation section can also perform operations such as calling, adding, deleting, and updating the functional modules in the database. The database may also store operations that can be performed on different functional blocks. For example, in a scenario where an application needs to be created, the application creation section can call the corresponding functional blocks from the database to build the application.
[0035] In embodiments of this disclosure, user 105 can create and publish target application 120 as needed in the application creation section. Target application 120 can be published to any suitable application runtime section, as long as the application runtime section can support the operation of target application 120. After publication, target application 120 can be operated by one or more end users 145. End user 145 can operate target application 120 through an associated terminal device 146 and thereby interact with application management platform 110. End user 145 can be referred to as the end user of target application 120. In some embodiments, target application 120 may include or be implemented as digital assistant 122.
[0036] Digital assistant 122 can be configured to have intelligent conversational capabilities. In the example shown, digital assistant 122 can be integrated into target application 120, serving as part of target application 120 to assist in task processing within target application 120. In other examples, digital assistant 122 can be configured as a standalone application, such as a web application or other type of application. In such examples, digital assistant 122 and target application 120 can be considered as the same application. Digital assistant 122 is provided to assist users with various task processing needs in different applications and scenarios. During interaction with digital assistant 122, the user inputs interactive messages, and digital assistant 122 responds to the user's input by providing reply messages. Typically, digital assistant 122 can support users inputting questions in natural language and performs tasks and provides replies based on its understanding of natural language input and logical reasoning capabilities.
[0037] In some embodiments, the digital assistant 122 can interact with the end user 145 as a contact. 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 one-on-one chat session. In some embodiments, the digital assistant 122 can interact with multiple users in a group chat session that includes multiple users.
[0038] For each end user 145, the client of the application runtime portion can present an interaction window 142 of the target application 120 or digital assistant 122 in the client interface, such as a conversation window with the digital assistant 122. The end user 145 can enter conversation messages in the conversation window, and the target application 120 can determine the response message from the digital assistant 122 based on the created configuration information and present it to the user in the interaction window 142. In some embodiments, depending on the configuration of the target application 120, the interaction messages with the target application 120 can include multimodal messages, such as text messages (e.g., natural language text), voice messages, image messages, video messages, and so on.
[0039] Similar to the application creation component, the application runtime component can be deployed locally on each end user's (145's) terminal device and / or supported by a server device. For example, the end user's (145's) terminal device can run a client with the application runtime component, which can support interaction between the user and the application runtime component provided by the server. When the application runtime component runs locally on the user's terminal device, the end user (145) can directly interact with the local application runtime component using the terminal device. When the application runtime component runs on a server device, the server device can provide services to the client running on the terminal device based on the communication connection with the terminal device. The application runtime component can present corresponding application pages to the end user (145) based on the user's (145's) actions, outputting and / or receiving application-related information from the user (145).
[0040] In some embodiments, the implementation of at least some functions of the target application 120, and / or the implementation of at least some functions of the digital assistant 122 within the target application 120, may be based on models. During the creation or operation of the target application 120, one or more models 155 may be invoked, such as the capabilities of model 155. In the target application 120, the digital assistant 122 may utilize model 155 to understand user input and provide responses to the user based on the output of model 155.
[0041] During the creation process, the application management platform 110 needs to use model 155 to test the target application 120 to determine whether the running results of the target application 120 meet expectations. During operation, in response to different operation requests from users of the target application 120, the application operation part may need to use model 155 to determine the response results to users.
[0042] Although shown as 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, 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). A language model, by learning from a large corpus, is capable of question answering. Model 155 may also be based on other suitable models.
[0043] The application management platform 110 can run on suitable electronic devices. These electronic devices can be any type of computing-capable device, including terminal devices or server devices. Terminal devices 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 system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. Server devices can include, for example, computing systems / servers, such as mainframes, edge computing nodes, computing devices in cloud environments, and so on. In some embodiments, the management platform 110 can be implemented based on cloud services.
[0044] It should be understood that the structure and function of environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure. For example, although a single user interacting with the application creation section and a single user interacting with the application running section are illustrated, in reality multiple users can access application management platform 110 to each create a digital assistant, and each digital assistant can be used to interact with multiple users.
[0045] Currently, there are some problems in the creation of target applications and the information processing based on them. For example, the lack of effective support for multimodal content (e.g., images, audio, video, files, etc.) limits the richness of interactive content. In addition, traditional computer languages used for application development have limited expressiveness in building rich text interactive cards, making it difficult to create semantically rich and data-driven message content.
[0046] Therefore, embodiments of this disclosure provide an improved application creation scheme. In this scheme, an instruction to add a message sending operation to a target application is received. Further, configuration information indicating the presentation style of a rich text message is determined. This configuration information has a format of a predetermined computer language. Furthermore, the message sending operation is added to the target application based on the configuration information. Additionally, embodiments of this disclosure also provide an improved application creation scheme. In this scheme, in response to processing user input including a message sending operation, configuration information indicating the presentation style of a rich text message is obtained. This configuration information has a format of a predetermined computer language. Based on the configuration information, a response message to the user input is generated and presented. The response message has the indicated rich text message presentation style.
[0047] As will be more clearly understood from the following description, according to various embodiments of this disclosure, a predetermined computer language is used to represent the presentation style of rich text messages. On one hand, configuration information with a predetermined computer language format is determined by interacting with a configuration interface, thereby configuring the presentation style of rich text messages. In this way, application creators can more intuitively construct and edit the presentation style of rich text messages in their applications without needing to delve into the underlying syntactic details, thus facilitating the creation of semantically rich, data-driven interactive content. Furthermore, this helps improve the quality and efficiency of interaction between end users and the created application. On the other hand, response messages to user input are generated based on the configuration information indicating the rich text message presentation style. In this way, interactive content with rich expressive forms (e.g., multimodal content, etc.) can be presented to the user, thereby improving the quality and efficiency of interaction between end users and the created application.
[0048] The following description will detail some exemplary embodiments of this disclosure with reference to the accompanying drawings. It should be understood that the pages shown in the drawings are merely examples, and various page designs are possible in practice. The various graphic elements on the page may have different arrangements and different visual representations, one or more elements may be omitted or replaced, and one or more other elements may also be present. The embodiments of this disclosure are not limited in this respect.
[0049] The task management process described in the embodiments of this disclosure can be implemented on an application management platform, a terminal device with the application management platform installed, and / or a server corresponding to the application management platform. In the examples below, 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 is shown. The user interface presented by the application management platform 110 can be displayed via the terminal device of user 145, and the application management platform 110 can receive user input via the terminal device of user 145. In some embodiments of this disclosure, user 145 is the terminal user of the target application 120. It should be understood that the user interface presented by the application management platform 110 can also be displayed via the terminal device of user 105, and the application management platform 110 can also receive user input via the terminal device of user 105. In some embodiments of this disclosure, user 105 is the creator, manager, or maintainer of the target application 120.
[0050] Figure 2 A flowchart of a method 200 for application creation according to some embodiments of the present disclosure is shown. In some embodiments, method 200 may be performed by, for example... Figure 1The application management platform 110 shown is executed. It should be understood that method 200 may also include additional boxes not shown and / or one (or some) of the boxes shown may be omitted, and the scope of this disclosure is not limited in this respect.
[0051] In box 202, an instruction to add a message sending operation to target application 120 is received. This target application (e.g., target application 120) is configured to at least partially utilize machine learning models to perform user interactions. For example, target application 120 may interact with a user via digital assistant 122. During user interaction, the target application may utilize one or more machine learning models to perform one or more tasks related to user input. For example, the target application may utilize machine learning models based on configured functions or workflows.
[0052] In some embodiments, in response to receiving an instruction to add a message sending operation to the target application 120, a configuration interface for the presentation style of rich text messages can be presented. For example, if application creation user 105 adds a message sending operation to a function or workflow of the target application 120, a configuration interface for the presentation style of rich text messages can be presented.
[0053] Figure 3 Example interface 300 for creating an application is shown according to some embodiments of this disclosure. For example... Figure 3 As shown, if the application creates user 105 and triggers (for example, by clicking, long-pressing, etc.) the node 310 for adding an operation, the application management platform 110 can present a menu 320 for selecting the next operation to be performed. If the application creates user 105 and triggers the message sending control 330, a configuration interface for the presentation style of rich text messages can be presented. Figure 4 An example configuration interface 400 according to some embodiments of the present disclosure is shown. For example... Figure 4 As shown, the interface 400 may include an editable area 410, a control 420 for using a rich text editor, and a control 430 for using a template.
[0054] Return to Reference Figure 2 In box 204, configuration information indicating the presentation style of the rich text message is defined. This configuration information is formatted in a predetermined computer language. This predetermined computer language is capable of describing various elements required in the rich text message, and may be defined by a rich text expression protocol, for example.
[0055] In some embodiments, the predefined computer language may include predefined tags for editing text styles, predefined tags for multimodal content, predefined tags for interface interactive elements, and so on. For example, specific tags may be introduced to support the embedding and interaction of multimodal content such as images, audio / video, and files. Additionally, a set of syntax rules for rich text interactive cards may be defined, enabling user 105 to construct card content containing interactive elements such as buttons, forms, and lists. This will be referenced below. Figure 5 Further details are available.
[0056] For example, the predetermined computer language may include the Markdown language or any other suitable language extended from the Markdown language, such as the Markdown Extension (MDX) language, a rich text protocol based on the Markdown language. It should be understood that the predetermined computer language can be any other suitable computer language, and the scope of this disclosure is not limited in this respect.
[0057] refer to Figure 4 Configuration information can be determined based on the interaction between the application-created user 105 and the configuration interface 400. In some embodiments, the application-created user 105 can directly input source code in the editable area 410 to achieve the desired rich text message presentation style. For example, the source code input by user 105 can be used as configuration information.
[0058] In some alternative embodiments, in response to detecting a predetermined action, a set of editing components specific to a presentation style can be presented. For example, the predetermined action may include a triggering action on a trigger control. The trigger control is used for an editor that predefines a computer language. An example of a trigger control is... Figure 4 The control 420 shown is for use with a rich text editor. If user 105 triggers the control 420, a set of editing components for the presentation style can be rendered.
[0059] refer to Figure 5 This illustrates an example rich text editing interface 500 according to some embodiments of the present disclosure. For example... Figure 5As shown, a set of editing components 515 for presentation styles are presented in the rich text editing area 510. Exemplarily, and not limitingly, this set of editing components 515 may include components for editing text styles. For example, components for bolding characters, components for italicizing characters, components for modifying fonts, components for adjusting indentation, components for highlighting characters, and so on. Additionally or alternatively, this set of editing components 515 may include components for adding multimodal content. Examples of multimodal content include, but are not limited to, files, images, audio, video, hyperlinks, and so on. Furthermore, this set of editing components 515 may also include components for adding interactive elements to the user interface. For example, interactive elements may include buttons, forms, lists, and so on. In this way, the application creator 105 can be provided with the possibility of creating richer interactive content, thereby enriching the functionality of the created target application 120.
[0060] Furthermore, the received interaction with at least one of the editing components in a set of editing components can be converted into configuration information. In some embodiments, each editing component may correspond to a markup in a predetermined computer language. For example, the component for bolding characters may correspond to the markup "". <bold>The component used for highlighting characters can correspond to the tag "". <highlight>The component used to add buttons can correspond to the tag "". <button>". If user 105 triggers a certain component for specific content, a mark corresponding to the component can be added for the specific content in the configuration information. Exemplarily, if the application creates that user 105 triggers a highlighting component for the characters "A, B, C, D" (not shown) in the rich text editing area 510, then in the configuration information, a mark " <highlight>",For example," <highlight>A, B, C, D <highlight>It should be understood that the above examples are for illustrative purposes only, and the scope of this disclosure is not limited in this respect.
[0061] This approach enables the creation of rich text editors that complement the message content in applications, supporting visual editing and real-time preview, providing a WYSIWYG (What You See Is What You Get) message editing experience. Furthermore, it eliminates the need for application creators to master the computer languages used to describe the presentation styles of rich text messages. This allows application creators to more intuitively construct and edit the presentation styles of rich text messages within their applications without needing to delve into the underlying syntax details.
[0062] Furthermore, by triggering control 520, user 105 can switch back to the source code-based interface 400 to further adjust the code generated by the rich text editor. This provides greater freedom and flexibility in adjusting the presentation style of rich text messages, thereby enhancing the personalization of the created application.
[0063] In other embodiments, it can be triggered if user 105 Figure 2 As shown in the control 430 that uses a template, the application management platform 110 can present a selection interface for the presentation style template of rich text messages. Figure 6 An example template selection interface 600 according to some embodiments of the present disclosure is shown. For example... Figure 6 As shown, multiple candidate templates for rich text message presentation styles can be presented to user 105, such as data ranking templates, article list templates, pie chart templates, event push templates, daily / weekly report templates, data list templates, bar chart templates, etc. These templates can be predetermined, automatically generated by the application management platform 110, or obtained from external devices. It should be understood that... Figure 6 The template shown is merely illustrative and not restrictive, and any other suitable templates may be provided to user 105.
[0064] In response to the selection of a presentation style template from among multiple presentation style templates, code expressed in a predetermined computer language corresponding to the selected presentation style template can be presented. For example, if user 105 selects a bar chart template in interface 600, the user can be redirected to configuration interface 400, and the editable area 410 will be automatically populated with code based on a predetermined computer language corresponding to the selected bar chart template.
[0065] Furthermore, configuration information can be determined based on code expressed in a predefined computer language. For example, the code can be directly identified as configuration information. In this way, users can directly determine the presentation style of rich text messages based on templates. This does not require application creators to master the computer language used to describe the presentation style of rich text messages, thus allowing application creators to more intuitively construct and edit the presentation style of rich text messages in their applications without needing to delve into the underlying syntax details.
[0066] In other embodiments, user 105 can further edit the code corresponding to the selected presentation style template. For example, upon receiving an edit operation on the code, application management platform 110 can update the code based on the edit operation and identify the updated code as configuration information. In this way, user 105 can be given more flexibility and freedom in creating applications, thereby facilitating the creation of meaningful, data-driven interactive content.
[0067] Return to Reference Figure 2 In box 206, message sending operations can be added to the target application 120 based on configuration information, thereby completing the configuration of the message sending operation. In some embodiments, messages can be implemented in the form of message cards. Alternatively, messages can be implemented in the form of pop-up windows. The scope of this disclosure is not limited in this respect.
[0068] As described above, according to the embodiments of this disclosure, configuration information in a predetermined computer language format is determined through interaction with a configuration interface, thereby configuring the presentation style of rich text messages. In this way, application creators can more intuitively construct and edit the presentation style of rich text messages in their applications without needing to delve into the underlying grammatical details. This facilitates the creation of semantically rich, data-driven interactive content, thereby improving the quality and efficiency of interaction between end users and the created applications. Furthermore, using a predetermined computer language (e.g., defined by a protocol) enhances the determinism of message content generated using machine learning models, particularly the determinism of the message content format. Consequently, the generated message content can be presented to the user in a stable style, providing a consistent user experience.
[0069] Figure 7 A flowchart of a method 700 for information processing according to some embodiments of the present disclosure is shown. In some embodiments, method 700 may be performed by, for example... Figure 1 The target application 120 shown is executed. It should be understood that method 700 may also include additional boxes not shown and / or one (or some) of the boxes shown may be omitted, and the scope of this disclosure is not limited in this respect.
[0070] In box 702, processing of user input in the target application includes a message sending operation, obtaining configuration information indicating the presentation style of the rich text message. The target application (e.g., target application 120) is configured to at least partially utilize a machine learning model to perform user interactions. For example, it may interact with the user via a digital assistant. The configuration information has a format in a predetermined computer language. The message sending operation may, for example, be based on the above reference. Figures 2 to 6 The described method is configured, and the predefined computer language has been described in detail above, and will not be repeated here.
[0071] In box 704, a response message to user input is generated based on configuration information. This response message has an indicated presentation style. In some embodiments, the response content of the response message can be obtained. This response content has a format in a first computer language. Further, it can be determined based on the configuration information whether the indicated presentation style includes a style defined by a predetermined editing component. In response to the indicated presentation style including a style defined by a predetermined editing component, the style defined by the predetermined editing component can be converted to the first computer language. Furthermore, a response message can be generated based on the response content in the first computer language and the converted style. If user input and a response message occur in a target session, the response content in the format of the first computer language and the converted style can be converted to a format in a second computer language used by the target session to obtain a response message. Exemplarily, the first computer language can be an Artificial Intelligence Domain Specific Language (AIDSL), and the second computer language can be a Card Domain Specific Language (CardDSL). It should be understood that the first and second computer languages can also be any other suitable computer languages, and the scope of this disclosure is not limited in this respect.
[0072] Figure 8 An example process 800 for information processing according to some embodiments of this disclosure is illustrated. The producer of the response message may include built-in functions and / or the references above. Figures 2 to 6 The configured functional message nodes (e.g., nodes in functions or skills created by the application creator). Response content generated by the producer can be expressed in AIDSL, for example. At 810, it is determined whether the AIDSL-expressed response content needs to be converted to CardDSL, i.e., whether the response content needs to be presented as a message card. If conversion is required, further, based on configuration information, it is determined whether the indicated presentation style includes styles defined by predetermined editing components, such as predetermined tags for multimodal content, predetermined tags for interface interaction elements, predetermined tags for edited text styles, widgets, etc. If the indicated presentation style does not include styles defined by predetermined editing components, AIDSL can be directly converted to CardDSL, and the response content expressed in CardDSL can be returned. If the indicated presentation style includes styles defined by predetermined editing components, the MDX describing the defined style can first be converted to AIDSL, and then the AIDSL can be further converted to CardDSL, and the response content expressed in CardDSL can be returned. Additionally, if the response content involves a user ID, the user ID replacement service for each channel can be invoked during the conversion of AIDSL to CardDSL to replace the channel's user ID. This conversion process of computer languages can, for example, be implemented in a Function as a Service (FaaS) platform.
[0073] Furthermore, a card server can be used to generate a card entity corresponding to the rich text message based on the response content expressed in CardDSL; that is, a message card used to present the response message. If end user 145 is using a digital assistant, this card entity can be presented directly in the digital assistant. If application creator 105 is debugging the application, this card entity can be presented in the debugging interface.
[0074] In this way, response messages can be rendered and generated based on the content of the response and configuration information for the presentation style of rich text messages. This enables the presentation of meaningful, data-driven interactive content to users, thereby improving the quality and efficiency of user interaction with the created application.
[0075] As can be seen from the above description, the solutions according to the embodiments of the present disclosure propose a rich text expression protocol based on the extension of Markdown syntax, which supports a what-you-see-is-what-you-get rich text editor and an interactive card rendering solution配套 with it. By extending the Markdown syntax to introduce specific tags to support multi-modalities such as pictures, audio and video, files, etc., messages can support the embedding and interaction of multi-modal content. With the help of a rich text interactive card renderer, a set of syntax rules for rich text interactive cards is defined, enabling users to construct card content containing interactive elements such as buttons, forms, lists, etc. These card components can be tightly integrated with the logic of the digital assistant to implement complex interaction logics. In addition, the rich text editor supports visual editing and real-time preview, which allows users to intuitively construct and edit rich text interactive cards without having to delve into the details of the underlying syntax. Therefore, users can easily create expressive and data-driven interactive content, thereby improving the quality and efficiency of interaction with the digital assistant. On the other hand, using a predetermined computer language (e.g., defined by the protocol) can enhance the certainty of the message content generated using a machine learning model, especially the certainty of the format of the message content. Furthermore, the generated message content can be presented to users in a stable style, giving users a consistent experience.
[0076] Embodiments of the present disclosure also provide corresponding apparatuses and devices for implementing the above methods or processes. Figure 9 The block diagram of an example apparatus 900 for application creation according to some embodiments of the present disclosure is shown. The apparatus 900 can be used, for example, to implement the methods according to the embodiments of the present disclosure. The apparatus 900 may include a receiving module 902, a determining module 904, and an adding module 906.
[0077] The receiving module 902 is configured to receive an instruction to add a message sending operation to a target application. The determining module 904 is configured to: determine configuration information indicating the presentation style of the rich text message, and the configuration information has the format of a predetermined computer language. The adding module 906 is configured to add the message sending operation to the target application based on the configuration information.
[0078] In some embodiments, the determining module 904 is further configured to: in response to detecting a predetermined operation, present a set of editing components for the presentation style; and convert the received interaction with at least one of the set of editing components into configuration information.
[0079] In some embodiments, the set of editing components includes at least one of the following: a component for editing text style, a component for adding multi-modal content, or a component for adding interface interaction elements.
[0080] In some embodiments, the predetermined operation includes triggering a trigger control, which is used for an editor of a predetermined computer language.
[0081] In some embodiments, the determining module 904 is further configured to: in response to the selection of a presentation style template from a plurality of presentation style templates, present code expressed in a predetermined computer language corresponding to the selected presentation style template; and determine configuration information based on the code expressed in the predetermined computer language.
[0082] In some embodiments, determining configuration information based on code expressed in a predetermined computer language includes: updating the code based on the editing operation in response to receiving an editing operation on the code; and determining the updated code as configuration information.
[0083] In some embodiments, the predetermined computer language includes at least one of the following: predetermined tags for multimodal content, or predetermined tags for interface interaction elements.
[0084] Figure 10 A block diagram of an example apparatus 1000 for information processing according to some embodiments of the present disclosure is shown. The apparatus 1000 can, for example, be used to implement methods according to various embodiments of the present disclosure. The apparatus 1000 may include an acquisition module 1002, a generation module 1004, and a presentation module 1006.
[0085] The acquisition module 1002 is configured to acquire configuration information indicating the presentation style of the message content in response to user input processing, including a message sending operation. This configuration information has a format in a predetermined computer language. The generation module 1004 is configured to generate a response message for user input based on the configuration information. The response message has the indicated presentation style. The presentation module 1006 is configured to present the response message.
[0086] In some embodiments, the generation module 1004 is further configured to: obtain the response content of the response message, the response content having a format in a first computer language; determine, based on configuration information, whether the indicated presentation style includes a style defined by a predetermined editing component; in response to the indicated presentation style including a style defined by a predetermined editing component, convert the style defined by the predetermined editing component into the first computer language; and generate a response message based on the response content in the first computer language and the converted style.
[0087] In some embodiments, user input and response messages occur within a target session. Generating a response message based on response content in a first computer language and a converted style includes converting the response content in the format of the first computer language and the converted style into the format of a second computer language used by the target session to obtain the response message.
[0088] In some embodiments, the predetermined computer language includes at least one of the following: predetermined tags for multimodal content, or predetermined tags for interface interaction elements.
[0089] The modules and / or units included in devices 900 and 1000 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to machine-executable instructions, some or all of the units in device 800 can be implemented at least partially by one or more hardware logic components. By way of example and not limitation, exemplary types of hardware logic components that can be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-chips (SoCs), complex programmable logic devices (CPLDs), and so on.
[0090] Figure 9 Forehead Figure 10 The modules and / or units shown can be implemented, in part or in whole, as hardware modules, software modules, firmware modules, or any combination thereof. In particular, in some embodiments, the processes, methods, or procedures described above can be implemented by hardware in a storage system, a host corresponding to the storage system, or other computing devices independent of the storage system.
[0091] Figure 11 A block diagram of a device 1100 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 11 The electronic device 1100 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 11 The electronic device 1100 shown can be used to achieve Figure 1 The application management platform 110, the target application 120, and / or the method described above are shown.
[0092] like Figure 11 As shown, electronic device 1100 is in the form of a general-purpose electronic device. Components of electronic device 1100 may include, but are not limited to, one or more processors or processing units 1110, memory 1120, storage device 1130, one or more communication units 1140, one or more input devices 1150, and one or more output devices 1160. Processing unit 1110 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 1120. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 1100.
[0093] Electronic device 1100 typically includes multiple computer storage media. Such media can be any available media accessible to electronic device 1100, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 1120 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 1130 can be a removable or non-removable medium and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data (e.g., training data for training) and can be accessed within electronic device 1100.
[0094] Electronic device 1100 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 11 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 1120 may include computer program product 1125 having one or more program modules configured to perform various methods or actions of various implementations of this disclosure.
[0095] Communication unit 1140 enables communication with other electronic devices via a communication medium. Additionally, the functionality of components of electronic device 1100 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, electronic device 1100 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0096] Input device 1150 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 1160 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 1100 can also communicate with one or more external devices (not shown) via communication unit 1140 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 1100, or with any device that enables electronic device 1100 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).
[0097] According to exemplary implementations of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to exemplary implementations of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above. According to exemplary implementations of this disclosure, a computer program product is provided that stores a computer program thereon, which, when executed by a processor, implements the methods described above.
[0098] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0099] 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 apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0100] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0101] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0102] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.< / highlight> < / highlight> < / highlight> " can be added for the characters "A, B, C, D" <highlight>",For example," <highlight>A, B, C, D <highlight>It should be understood that the above examples are for illustrative purposes only, and the scope of this disclosure is not limited in this respect.
[0061] This approach enables the creation of rich text editors that complement the message content in applications, supporting visual editing and real-time preview, providing a WYSIWYG (What You See Is What You Get) message editing experience. Furthermore, it eliminates the need for application creators to master the computer languages used to describe the presentation styles of rich text messages. This allows application creators to more intuitively construct and edit the presentation styles of rich text messages within their applications without needing to delve into the underlying syntax details.
[0062] Furthermore, by triggering control 520, user 105 can switch back to the source code-based interface 400 to further adjust the code generated by the rich text editor. This provides greater freedom and flexibility in adjusting the presentation style of rich text messages, thereby enhancing the personalization of the created application.
[0063] In other embodiments, it can be triggered if user 105 Figure 2 As shown in the control 430 that uses a template, the application management platform 110 can present a selection interface for the presentation style template of rich text messages. Figure 6 An example template selection interface 600 according to some embodiments of the present disclosure is shown. For example... Figure 6 As shown, multiple candidate templates for rich text message presentation styles can be presented to user 105, such as data ranking templates, article list templates, pie chart templates, event push templates, daily / weekly report templates, data list templates, bar chart templates, etc. These templates can be predetermined, automatically generated by the application management platform 110, or obtained from external devices. It should be understood that... Figure 6 The template shown is merely illustrative and not restrictive, and any other suitable templates may be provided to user 105.
[0064] In response to the selection of a presentation style template from among multiple presentation style templates, code expressed in a predetermined computer language corresponding to the selected presentation style template can be presented. For example, if user 105 selects a bar chart template in interface 600, the user can be redirected to configuration interface 400, and the editable area 410 will be automatically populated with code based on a predetermined computer language corresponding to the selected bar chart template.
[0065] Furthermore, configuration information can be determined based on code expressed in a predefined computer language. For example, the code can be directly identified as configuration information. In this way, users can directly determine the presentation style of rich text messages based on templates. This does not require application creators to master the computer language used to describe the presentation style of rich text messages, thus allowing application creators to more intuitively construct and edit the presentation style of rich text messages in their applications without needing to delve into the underlying syntax details.
[0066] In other embodiments, user 105 can further edit the code corresponding to the selected presentation style template. For example, upon receiving an edit operation on the code, application management platform 110 can update the code based on the edit operation and identify the updated code as configuration information. In this way, user 105 can be given more flexibility and freedom in creating applications, thereby facilitating the creation of meaningful, data-driven interactive content.
[0067] Return to Reference Figure 2 In box 206, message sending operations can be added to the target application 120 based on configuration information, thereby completing the configuration of the message sending operation. In some embodiments, messages can be implemented in the form of message cards. Alternatively, messages can be implemented in the form of pop-up windows. The scope of this disclosure is not limited in this respect.
[0068] As described above, according to the embodiments of this disclosure, configuration information in a predetermined computer language format is determined through interaction with a configuration interface, thereby configuring the presentation style of rich text messages. In this way, application creators can more intuitively construct and edit the presentation style of rich text messages in their applications without needing to delve into the underlying grammatical details. This facilitates the creation of semantically rich, data-driven interactive content, thereby improving the quality and efficiency of interaction between end users and the created applications. Furthermore, using a predetermined computer language (e.g., defined by a protocol) enhances the determinism of message content generated using machine learning models, particularly the determinism of the message content format. Consequently, the generated message content can be presented to the user in a stable style, providing a consistent user experience.
[0069] Figure 7 A flowchart of a method 700 for information processing according to some embodiments of the present disclosure is shown. In some embodiments, method 700 may be performed by, for example... Figure 1 The target application 120 shown is executed. It should be understood that method 700 may also include additional boxes not shown and / or one (or some) of the boxes shown may be omitted, and the scope of this disclosure is not limited in this respect.
[0070] In box 702, processing of user input in the target application includes a message sending operation, obtaining configuration information indicating the presentation style of the rich text message. The target application (e.g., target application 120) is configured to at least partially utilize a machine learning model to perform user interactions. For example, it may interact with the user via a digital assistant. The configuration information has a format in a predetermined computer language. The message sending operation may, for example, be based on the above reference. Figures 2 to 6 The described method is configured, and the predefined computer language has been described in detail above, and will not be repeated here.
[0071] In box 704, a response message to user input is generated based on configuration information. This response message has an indicated presentation style. In some embodiments, the response content of the response message can be obtained. This response content has a format in a first computer language. Further, it can be determined based on the configuration information whether the indicated presentation style includes a style defined by a predetermined editing component. In response to the indicated presentation style including a style defined by a predetermined editing component, the style defined by the predetermined editing component can be converted to the first computer language. Furthermore, a response message can be generated based on the response content in the first computer language and the converted style. If user input and a response message occur in a target session, the response content in the format of the first computer language and the converted style can be converted to a format in a second computer language used by the target session to obtain a response message. Exemplarily, the first computer language can be an Artificial Intelligence Domain Specific Language (AIDSL), and the second computer language can be a Card Domain Specific Language (CardDSL). It should be understood that the first and second computer languages can also be any other suitable computer languages, and the scope of this disclosure is not limited in this respect.
[0072] Figure 8 An example process 800 for information processing according to some embodiments of this disclosure is illustrated. The producer of the response message may include built-in functions and / or the references above. Figures 2 to 6 The configured functional message nodes (e.g., nodes in functions or skills created by the application creator). Response content generated by the producer can be expressed in AIDSL, for example. At 810, it is determined whether the AIDSL-expressed response content needs to be converted to CardDSL, i.e., whether the response content needs to be presented as a message card. If conversion is required, further, based on configuration information, it is determined whether the indicated presentation style includes styles defined by predetermined editing components, such as predetermined tags for multimodal content, predetermined tags for interface interaction elements, predetermined tags for edited text styles, widgets, etc. If the indicated presentation style does not include styles defined by predetermined editing components, AIDSL can be directly converted to CardDSL, and the response content expressed in CardDSL can be returned. If the indicated presentation style includes styles defined by predetermined editing components, the MDX describing the defined style can first be converted to AIDSL, and then the AIDSL can be further converted to CardDSL, and the response content expressed in CardDSL can be returned. Additionally, if the response content involves a user ID, the user ID replacement service for each channel can be invoked during the conversion of AIDSL to CardDSL to replace the channel's user ID. This conversion process of computer languages can, for example, be implemented in a Function as a Service (FaaS) platform.
[0073] Furthermore, a card server can be used to generate a card entity corresponding to the rich text message based on the response content expressed in CardDSL; that is, a message card used to present the response message. If end user 145 is using a digital assistant, this card entity can be presented directly in the digital assistant. If application creator 105 is debugging the application, this card entity can be presented in the debugging interface.
[0074] In this way, response messages can be rendered and generated based on the content of the response and configuration information for the presentation style of rich text messages. This enables the presentation of meaningful, data-driven interactive content to users, thereby improving the quality and efficiency of user interaction with the created application.
[0075] As can be seen from the above description, the solutions according to the embodiments of the present disclosure propose a rich text expression protocol based on the extension of Markdown syntax, which supports a what-you-see-is-what-you-get rich text editor and an interactive card rendering solution配套 with it. By extending the Markdown syntax to introduce specific tags to support multi-modalities such as pictures, audio and video, files, etc., messages can support the embedding and interaction of multi-modal content. With the help of a rich text interactive card renderer, a set of syntax rules for rich text interactive cards is defined, enabling users to construct card content containing interactive elements such as buttons, forms, lists, etc. These card components can be tightly integrated with the logic of the digital assistant to implement complex interaction logics. In addition, the rich text editor supports visual editing and real-time preview, which allows users to intuitively construct and edit rich text interactive cards without having to delve into the details of the underlying syntax. Therefore, users can easily create expressive and data-driven interactive content, thereby improving the quality and efficiency of interaction with the digital assistant. On the other hand, using a predetermined computer language (e.g., defined by the protocol) can enhance the certainty of the message content generated using a machine learning model, especially the certainty of the format of the message content. Furthermore, the generated message content can be presented to users in a stable style, giving users a consistent experience.
[0076] Embodiments of the present disclosure also provide corresponding apparatuses and devices for implementing the above methods or processes. Figure 9 The block diagram of an example apparatus 900 for application creation according to some embodiments of the present disclosure is shown. The apparatus 900 can be used, for example, to implement the methods according to the embodiments of the present disclosure. The apparatus 900 may include a receiving module 902, a determining module 904, and an adding module 906.
[0077] The receiving module 902 is configured to receive an instruction to add a message sending operation to a target application. The determining module 904 is configured to: determine configuration information indicating the presentation style of the rich text message, and the configuration information has the format of a predetermined computer language. The adding module 906 is configured to add the message sending operation to the target application based on the configuration information.
[0078] In some embodiments, the determining module 904 is further configured to: in response to detecting a predetermined operation, present a set of editing components for the presentation style; and convert the received interaction with at least one of the set of editing components into configuration information.
[0079] In some embodiments, the set of editing components includes at least one of the following: a component for editing text style, a component for adding multi-modal content, or a component for adding interface interaction elements.
[0080] In some embodiments, the predetermined operation includes triggering a trigger control, which is used for an editor of a predetermined computer language.
[0081] In some embodiments, the determining module 904 is further configured to: in response to the selection of a presentation style template from a plurality of presentation style templates, present code expressed in a predetermined computer language corresponding to the selected presentation style template; and determine configuration information based on the code expressed in the predetermined computer language.
[0082] In some embodiments, determining configuration information based on code expressed in a predetermined computer language includes: updating the code based on the editing operation in response to receiving an editing operation on the code; and determining the updated code as configuration information.
[0083] In some embodiments, the predetermined computer language includes at least one of the following: predetermined tags for multimodal content, or predetermined tags for interface interaction elements.
[0084] Figure 10 A block diagram of an example apparatus 1000 for information processing according to some embodiments of the present disclosure is shown. The apparatus 1000 can, for example, be used to implement methods according to various embodiments of the present disclosure. The apparatus 1000 may include an acquisition module 1002, a generation module 1004, and a presentation module 1006.
[0085] The acquisition module 1002 is configured to acquire configuration information indicating the presentation style of the message content in response to user input processing, including a message sending operation. This configuration information has a format in a predetermined computer language. The generation module 1004 is configured to generate a response message for user input based on the configuration information. The response message has the indicated presentation style. The presentation module 1006 is configured to present the response message.
[0086] In some embodiments, the generation module 1004 is further configured to: obtain the response content of the response message, the response content having a format in a first computer language; determine, based on configuration information, whether the indicated presentation style includes a style defined by a predetermined editing component; in response to the indicated presentation style including a style defined by a predetermined editing component, convert the style defined by the predetermined editing component into the first computer language; and generate a response message based on the response content in the first computer language and the converted style.
[0087] In some embodiments, user input and response messages occur within a target session. Generating a response message based on response content in a first computer language and a converted style includes converting the response content in the format of the first computer language and the converted style into the format of a second computer language used by the target session to obtain the response message.
[0088] In some embodiments, the predetermined computer language includes at least one of the following: predetermined tags for multimodal content, or predetermined tags for interface interaction elements.
[0089] The modules and / or units included in devices 900 and 1000 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to machine-executable instructions, some or all of the units in device 800 can be implemented at least partially by one or more hardware logic components. By way of example and not limitation, exemplary types of hardware logic components that can be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-chips (SoCs), complex programmable logic devices (CPLDs), and so on.
[0090] Figure 9 Forehead Figure 10 The modules and / or units shown can be implemented, in part or in whole, as hardware modules, software modules, firmware modules, or any combination thereof. In particular, in some embodiments, the processes, methods, or procedures described above can be implemented by hardware in a storage system, a host corresponding to the storage system, or other computing devices independent of the storage system.
[0091] Figure 11 A block diagram of a device 1100 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 11 The electronic device 1100 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 11 The electronic device 1100 shown can be used to achieve Figure 1 The application management platform 110, the target application 120, and / or the method described above are shown.
[0092] like Figure 11 As shown, electronic device 1100 is in the form of a general-purpose electronic device. Components of electronic device 1100 may include, but are not limited to, one or more processors or processing units 1110, memory 1120, storage device 1130, one or more communication units 1140, one or more input devices 1150, and one or more output devices 1160. Processing unit 1110 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 1120. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 1100.
[0093] Electronic device 1100 typically includes multiple computer storage media. Such media can be any available media accessible to electronic device 1100, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 1120 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 1130 can be a removable or non-removable medium and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data (e.g., training data for training) and can be accessed within electronic device 1100.
[0094] Electronic device 1100 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 11 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 1120 may include computer program product 1125 having one or more program modules configured to perform various methods or actions of various implementations of this disclosure.
[0095] Communication unit 1140 enables communication with other electronic devices via a communication medium. Additionally, the functionality of components of electronic device 1100 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, electronic device 1100 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0096] Input device 1150 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 1160 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 1100 can also communicate with one or more external devices (not shown) via communication unit 1140 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 1100, or with any device that enables electronic device 1100 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).
[0097] According to exemplary implementations of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to exemplary implementations of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above. According to exemplary implementations of this disclosure, a computer program product is provided that stores a computer program thereon, which, when executed by a processor, implements the methods described above.
[0098] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0099] 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 apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0100] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0101] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0102] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.< / highlight> < / highlight> < / highlight> < / button> < / highlight> < / bold>
Claims
1. An application creation method, comprising: Receive an instruction to add a message sending operation to a target application, the target application being configured to at least partially utilize a machine learning model to perform user interactions; Determine configuration information indicating the presentation style of a rich text message, the configuration information being formatted in a predetermined computer language used to describe required elements in the rich text message, and determining the configuration information includes: In response to detecting a predetermined operation, a set of editing components for the presentation style are presented, each of the editing components corresponding to a tag in the predetermined computer language; and The received interaction with at least one of the editing components in the set of editing components is converted into the configuration information; and Based on the configuration information, the message sending operation is added to the target application. The style defined by the predetermined editing component in the presentation style is configured to be converted into a format with a first computer language during the process of the target application generating a response message for the message sending operation, so as to be used by the machine learning model to generate the response message. The first computer language is different from the second computer language used by the session that presents the response message. Generating the response message includes: converting the response content in the format of the first computer language and the converted style into the format of the second computer language to obtain the response message.
2. The method of claim 1, wherein the set of editing components comprises at least one of the following: A component for editing text styles. A component for adding multimodal content, or A component used to add interactive elements to the user interface.
3. The method according to claim 1, wherein the predetermined operation includes a triggering operation on a trigger control, the trigger control being used as an editor for the predetermined computer language.
4. The method according to claim 1, wherein determining the configuration information includes: In response to the selection of a presentation style template from a plurality of presentation style templates, code expressed in the predetermined computer language corresponding to the selected presentation style template is presented; as well as The configuration information is determined based on the code expressed in the predetermined computer language.
5. The method of claim 4, wherein determining the configuration information based on the code expressed in the predetermined computer language comprises: In response to receiving an edit operation on the code, update the code based on the edit operation; as well as The updated code is identified as the configuration information.
6. The method of claim 1, wherein the predetermined computer language comprises at least one of the following: Predefined tags for multimodal content, or Predefined tags for UI interactive elements.
7. An information processing method, comprising: The processing of user input in response to a target application includes a message sending operation, obtaining configuration information indicating a presentation style for a rich text message, the configuration information having a format in a predetermined computer language used to describe required elements in the rich text message, the target application being configured to at least partially utilize a machine learning model to perform user interaction, and the configuration information being determined based on a set of editing components for the presentation style, each of the editing components corresponding to a tag in the predetermined computer language; Based on the configuration information, a response message is generated for the user input. The response message has an indicated presentation style. Generating the response message includes: converting a style defined by a predetermined editing component in the presentation style into a format with a first computer language for use by the machine learning model to generate the response message. The first computer language is different from a second computer language used in the session that presents the response message. Generating the response message also includes: converting the response content in the format of the first computer language and the converted style into the format of the second computer language to obtain the response message. The response message is presented.
8. The method of claim 7, wherein generating a response message for the user input comprises: Obtain the response content of the response message, wherein the response content is formatted in the first computer language; Based on the configuration information, determine whether the indicated presentation style includes the style defined by the predetermined editing component; In response to the indicated rendering style including the style defined by the predetermined editing component, the style defined by the predetermined editing component is converted into the first computer language; as well as The response message is generated based on the response content in the first computer language and the converted style.
9. The method of claim 8, wherein the user input and the response message occur during the session.
10. The method of claim 7, wherein the predetermined computer language comprises at least one of the following: Predefined tags for multimodal content, or Predefined tags for UI interactive elements.
11. An apparatus for application creation, comprising: The receiving module is configured to receive an instruction to add a message sending operation to a target application, the target application being configured to at least partially utilize a machine learning model to perform user interactions; The determining module is configured to: determine configuration information indicating the presentation style of a rich text message, the configuration information having a format in a predetermined computer language used to describe elements required in the rich text message, and the determining module is further configured to: In response to the detection of a predetermined operation, a set of editing components for the presentation style are presented, each of the editing components corresponding to a tag in the predetermined computer language; as well as The received interaction with at least one of the editing components in the set of editing components is converted into the configuration information; as well as An add module is configured to: add the message sending operation to the target application based on the configuration information, wherein the style defined by a predetermined editing component in the presentation style is configured to be converted into a format with a first computer language during the process of the target application generating a response message for the message sending operation, for use by the machine learning model to generate the response message, wherein the first computer language is different from the second computer language used by the session presenting the response message, wherein generating the response message includes: converting the response content in the format of the first computer language and the converted style into the format of the second computer language to obtain the response message.
12. An apparatus for information processing, comprising: The acquisition module is configured to: in response to processing user input in a target application, including a message sending operation, acquire configuration information indicating a presentation style of a rich text message, the configuration information having a format in a predetermined computer language used to describe required elements in the rich text message, the target application being configured to at least partially utilize a machine learning model to perform user interaction, and the configuration information being determined based on a set of editing components for the presentation style, each of the editing components corresponding to a tag in the predetermined computer language; A generation module is configured to: generate a response message for the user input based on the configuration information, the response message having an indicated presentation style, wherein generating the response message includes: converting a style defined by a predetermined editing component in the presentation style into a format having a first computer language for use by the machine learning model to generate the response message, the first computer language being different from a second computer language used in the session presenting the response message, wherein generating the response message includes: converting the response content in the format of the first computer language and the converted style into the format of the second computer language to obtain the response message; and The presentation module is configured to present the response message.
13. An electronic device, comprising: At least one processing unit; as well as At least one memory is coupled to at least one processing unit and stores instructions for execution by the at least one processing unit, which, 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 10.
14. 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 10.