Content processing method, apparatus, device, storage medium, and program product
By displaying prompts and interactive text for data analysis elements in the dialog interface of data analysis tools, the problem of non-professional users having difficulty efficiently inputting data for analysis is solved, thereby improving the efficiency and accuracy of data analysis.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2026-02-11
- Publication Date
- 2026-06-02
Smart Images

Figure CN122131950A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a content processing method, apparatus, device, storage medium, and program product. Background Technology
[0002] With the continuous development of network technology, data analysis capabilities have become a core element of organizational decision-making efficiency and business competitiveness. To reduce the difficulty of data analysis, tools have emerged to assist relevant personnel in performing data analysis. These tools can receive data analysis requests from relevant personnel and perform data query and analysis operations accordingly to obtain data analysis results such as charts.
[0003] However, these data analytics tools remain difficult to use for non-professionals. For example, when faced with data analytics tools, relevant personnel may not know how to better input appropriate data analysis requirements, resulting in lower efficiency and accuracy of data analysis. Summary of the Invention
[0004] To address the aforementioned technical problems, this application provides a content processing method, apparatus, device, storage medium, and program product.
[0005] Firstly, this application provides a content processing method, which includes: The dialog interface is displayed in response to the triggering operation corresponding to the data analysis function; Based on the first input content within the dialog interface, a first prompt content is displayed in the dialog interface; the first prompt content includes at least one data analysis element, which is presented in the form of interactive text. In response to a triggering operation on the data analysis element, at least one first field value is displayed; the first field value corresponds to the triggered data analysis element. In response to the selection operation of the first field value, a second input content is obtained based on the first input content and the selected first field value, and the second input content is displayed in the dialog interface to cover the first input content.
[0006] Secondly, this application also provides a content processing apparatus, which includes: The dialog interface display module is used to display the dialog interface in response to the trigger operation corresponding to the data analysis function; The first prompt content display module is used to display first prompt content in the dialog interface based on the first input content in the dialog interface; the first prompt content includes at least one data analysis element, and the data analysis element is presented in the form of interactive text. The first field value display module is used to display at least one first field value in response to a trigger operation on the data analysis element; the first field value corresponds to the triggered data analysis element. The second input content display module is used to respond to the selection operation of the first field value, obtain the second input content based on the first input content and the selected first field value, and display the second input content in the dialog interface to cover the first input content.
[0007] Thirdly, this application also provides an electronic device comprising: processor; Memory, used to store executable instructions; The processor is used to read executable instructions from memory and execute the executable instructions to implement the content processing method described in any embodiment of this application.
[0008] Fourthly, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to implement the content processing method described in any embodiment of this application.
[0009] Fifthly, this application also provides a computer program product for executing the content processing methods described in any embodiment of this application.
[0010] The content processing method, apparatus, device, storage medium, and program product of this application are capable of displaying a dialog interface in response to a trigger operation corresponding to a data analysis function; displaying first prompt content in the dialog interface based on first input content within the dialog interface; the first prompt content includes at least one data analysis element, which is presented in interactive text form; displaying at least one first field value in response to a trigger operation on the data analysis element; the first field value corresponds to the triggered data analysis element; and obtaining second input content based on the first input content and the selected first field value in response to a selection operation on the first field value, and displaying the second input content in the dialog interface to cover the first input content. The system introduces a second input method. This method displays initial prompts to users during data analysis tool usage, guiding them to input or refine their questions based on data analysis elements. This leads to more relevant second inputs, lowering the barrier to entry for data analysis tools and improving the quality of the second input. Furthermore, the system displays data analysis elements as interactive text, prompting users to quickly input their questions by interacting with the initial prompts. This shortens the question-asking process, improves the efficiency of second input, and ultimately enhances the efficiency and accuracy of subsequent data analysis based on the second input.
[0011] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse. Attached Figure Description
[0012] The above and other features, advantages, and aspects of the embodiments of this application will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.
[0013] Figure 1 This is a schematic diagram of the scenario architecture to which the content processing method provided in this application applies; Figure 2 A schematic diagram showing a dialog interface for a data analysis function provided in this application; Figure 3 A flowchart illustrating a content processing method provided in this application; Figure 4A schematic diagram illustrating the process of inputting second input content in a content processing method provided in this application; Figure 5 A schematic diagram illustrating the preview of a local file in a content processing method provided in this application; Figure 6 A schematic diagram illustrating the addition of a second input content in a content processing method provided in this application; Figure 7 A schematic diagram of the structure of a content processing device provided in this application; Figure 8 This is a schematic diagram of the structure of an electronic device provided in this application. Detailed Implementation
[0014] Embodiments of this application will now be described in more detail with reference to the accompanying drawings. While some embodiments of this application are shown in the drawings, it should be understood that this application 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 application. It should be understood that the drawings and embodiments of this application are for illustrative purposes only and are not intended to limit the scope of protection of this application.
[0015] It should be understood that the steps described in the method embodiments of this application may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this application is not limited in this respect.
[0016] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0017] It should be noted that the concepts of "first" and "second" mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0018] It should be noted that the terms "a" and "a plurality of" used in this application are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0019] The names of the messages or information exchanged between multiple devices in the embodiments of this application are for illustrative purposes only and are not intended to limit the scope of these messages or information.
[0020] The content processing method provided in this application is mainly applicable to scenarios involving data analysis based on generative models.
[0021] In one situation, Figure 1 This is a schematic diagram of a scenario architecture for the content processing method provided in this application. Figure 1 As shown, the scenario architecture provided in this application embodiment includes: a first device corresponding to the server and a second device corresponding to the client.
[0022] The server is configured to communicate with the client and execute core data analysis processes, such as data querying and data analysis. These core processes can be implemented based on generative models or other algorithms. The first device is used to host and implement the server functions, and it can take various forms, such as a server 110 or a server cluster.
[0023] The client is configured to provide a user interface (such as a dialog box) to receive and display user actions. The second device carries and implements the client's functions and can take various forms, such as hardware or software. When the second device is hardware, it can be various electronic devices with human-computer interaction and display functions, including but not limited to smartphones 121, personal digital assistants (PDAs), tablet computers 122, laptops 123, or desktop computers 124. When the second device 120 is software, it can be installed on the aforementioned electronic devices. It can be implemented as multiple software programs or software modules, or as a single software program or software module. No specific limitations are made here.
[0024] In another scenario, the content processing method of this application can be executed by the first device. In this way, the first device can comprehensively perform the functions of both the aforementioned server and client.
[0025] In another scenario, the content processing method of this application can be executed by a second device. In this way, the second device can comprehensively perform the functions of both the aforementioned server and client.
[0026] Numerous data analysis tools based on generative models of a certain scale have emerged in related technologies. These tools provide input interfaces to receive user-inputted data analysis requests (also known as questions for data analysis) and then execute data analysis processes based on these requests. However, due to the specialized nature of data analysis, some users are unclear about what kind of questions accurately express their data analysis needs and trigger the correct data analysis process. In other words, data analysis tools in related technologies have a high threshold for asking questions, making it difficult for users to efficiently and accurately input their data analysis requests, thus reducing the efficiency and accuracy of these tools. Figure 2 As shown in (a), the data analysis tool provides a dialog interface, which includes dropdown menus 210 for multiple data processing functions and an input box 220 as the input interaction interface. After the user selects a data analysis function through the dropdown menu 210, the user can enter their question through the input box 220. However, many users are unclear about what specific content they should enter to obtain the data analysis results they need, making the questioning threshold of the data analysis tool relatively high.
[0027] Based on the above, this application provides a content processing technical solution to display, in a timely manner, the first prompt containing data analysis elements in the dialog interface corresponding to the data analysis function, so as to assist the user in inputting question content containing necessary data analysis elements and improve the accuracy and quality of the question content; in addition, the data analysis elements can be displayed in the form of interactive text, shortening the input path and improving the input efficiency of the question content.
[0028] Figure 3 A flowchart illustrating a content processing method provided in this application is shown. The content processing method provided in this application can be executed by a content processing device, which can be implemented by software and / or hardware, and can be integrated into an electronic device with human-computer interaction and display functions. This electronic device can be the first device or the second device described in the foregoing embodiments. Figure 3 As shown, this content processing method may include the following steps: S310: In response to the trigger operation corresponding to the data analysis function, a dialog interface is displayed.
[0029] Among them, the data analysis function is the data processing function corresponding to the data analysis function.
[0030] Specifically, to reduce the difficulty of using data analysis, this application provides a product with data analysis capabilities based on a generative model. This product presents the data analysis functions through a human-computer dialogue interface. Therefore, if a user launches a client (such as an application, mini-program, or webpage) and is automatically exposed to this product, or if the user triggers the product through other pages (such as a product introduction page, a product promotion page, etc.), or if the user selects the data analysis function from multiple data processing functions and launches the product, then the electronic device integrating this product can detect the triggering operation of the data analysis function and then display the corresponding dialogue interface for the data analysis function to present relevant information about the data analysis function to the user through this dialogue interface.
[0031] In one scenario, the data processing functions are displayed in a tiled manner in the third area of the dialog interface; an input box and a data range configuration control are displayed in the fourth area of the dialog interface; at least one of the second input content and the first prompt content is displayed; and a third prompt content is displayed in the fifth area of the dialog interface.
[0032] The third, fourth, and fifth areas correspond to three different display areas in the dialog interface. Data range configuration controls are interactive controls used to configure the range of data participating in data processing; these can be dropdown lists, checkboxes, etc. The first input content refers to the question content entered into the dialog interface before the current moment for data analysis. The second input content refers to the updated first input content. The first prompt content refers to the input prompts provided for the question initiating data analysis. The third prompt content refers to the recommended, complete question content.
[0033] Specifically, through Figure 2 (a) It can be seen that the dialog interface for the data analysis function provided in the relevant technology is relatively simple, and it has the following problems: First, the various data processing functions are displayed in a collapsed manner as drop-down boxes 210. When users are unfamiliar with the product, it makes it difficult for them to quickly understand the data processing functions provided by the product, increasing the difficulty for users to select the appropriate data processing function; Second, it fails to provide a clear and effective introduction or guidance on the functions of different data processing functions, making it difficult for users to understand the functions of each data processing function and thus making it difficult for users to efficiently select the data processing function that suits their needs; Third, it does not provide effective input prompts for each data processing function. For example, the input box 220 only indicates that questions can be entered, but does not clearly indicate the specific content type or example that can be entered, making it difficult for users to know how to efficiently enter accurate questions. All of these factors increase the difficulty for users to use the product's data analysis function.
[0034] Based on the above, see Figure 2(b) The electronic device can display various types of information in different areas within the dialog interface. In the third area 230, data processing functions are displayed in a tiled manner, such as data analysis functions (e.g., question-and-answer functions), knowledge-based question-and-answer functions, and in-depth research functions. The knowledge-based question-and-answer function is used to search for answers to questions from multiple information channels. The in-depth research function is used to conduct in-depth retrieval and data analysis from multiple information channels, ultimately generating a data analysis report. This directly presents the product's main data processing capabilities to the user, facilitating the rapid exposure of each data processing function.
[0035] Additionally, an input box 240 and a data range configuration control 250 are displayed in the fourth area. The input box 240 primarily handles user input in the dialog interface. It can display the first input content, the first prompt content, the first input content and the first prompt content, or the second input content, etc. The first prompt content displayed in the input box 240 can adapt to the data processing results corresponding to different data processing functions, conveying relevant information about the data processing output, improving the user's understanding of the data processing functions, and guiding the user to accurately use the data processing functions and correctly input the question content. The data range associated with the data range configuration control 250 can also adapt to different data processing functions. For example, taking the default first prompt content when the data analysis function is started as an example... Figure 2 (b) When the data analysis function is selected, the input box 240 can display the first prompt corresponding to the output of the data analysis function, such as "Please enter your question to obtain visual chart data. I can accurately identify questions containing 'time, conditions, indicators, and dimensions'", while the data range configuration control 250 selects the entire dataset by default; for example Figure 2 (c) When the knowledge Q&A function is selected, the input box 240 can display the first prompt content corresponding to the output of the knowledge Q&A function, such as "Enter the business question you are interested in to get comprehensive answers from multiple information sources," while the data range configuration control 250 selects the entire knowledge base by default; for example... Figure 2 (d) When the in-depth research function is selected, the input box 240 can display the first prompt content corresponding to the product of the in-depth research function, such as "Enter the question to obtain a data analysis report that has been deeply searched and has insight, or you can use the instruction template to create it quickly", while the data range configuration control 250 is selected by default to the Internet, knowledge base and other data ranges that can support in-depth search.
[0036] In addition, at least one third prompt is displayed in the fifth area 260 to suggest or guide the user's input of a question. Figure 2 (b) ~ Figure 2As can be seen from (d), the content of the third prompt can be changed according to the data processing function in order to provide a more accurate third prompt.
[0037] It should be noted that the data range configuration control 250 in the fourth area can be replaced according to business needs, or related interactive controls can be expanded according to business needs. For example, it can be an interactive control that affects the overall data processing process, such as a configuration control for the data processing method.
[0038] It should also be noted that, such as Figure 2 (b) ~ Figure 2 As shown in (d), the electronic device can also adapt to different data processing functions and display different digital human images 270 in the dialog interface to convey the data processing capabilities through images, thereby further enhancing the user's understanding of the data processing functions.
[0039] S320. Based on the first input content in the dialog interface, display the first prompt content in the dialog interface; the first prompt content includes at least one data analysis element, and the data analysis element is presented in the form of interactive text.
[0040] In this context, data analysis elements refer to the key items that need to be clearly defined when performing data analysis. They are used to transform vague analytical needs into actionable, quantifiable, and executable analytical actions. For example, data analysis elements may include core time elements, indicator elements, dimensional elements, or conditional elements. Indicator elements are specific numerical values that quantify and measure business results / status; they are the core objects of data analysis and can also be understood as the specific content that can be analyzed. Dimensional elements are the perspectives from which indicators are broken down, compared, and filtered, used to reflect the analytical value of the indicators. The time dimension is the temporal attribute of the indicator. Conditional dimensions further refine the indicators, dimensions, and time; they are a secondary filtering based on dimensions and time, used to narrow the scope of data analysis, focusing on specific business scenarios or specific groups, and avoiding overly general data analysis results. Interactive text refers to text with interactive characteristics. For example, interactive text is a touch-sensitive or clickable text control.
[0041] Specifically, the electronic device can obtain the first prompt content based on the specific content of the first input displayed in the dialog interface, either locally or by sending the first input content to a server for processing. For example, the first input content can be matched with various data analysis elements, and the first prompt content can be generated based on the data analysis elements that fail to match, ensuring that the first input content and the first prompt content cover the necessary data analysis elements, thereby ensuring that the subsequent data analysis results are relatively complete and accurate. After obtaining the first prompt content, the electronic device can display the first prompt content in the dialog interface. For example, the first prompt content can be displayed in the input box of the dialog interface to prompt the user to continue entering the question content according to the first prompt content to improve the first input content.
[0042] To further improve input efficiency, electronic devices can present the data analysis elements in the first prompt in the form of interactive text, providing an interactive channel for users to quickly input the specific field values (i.e., the first field values) corresponding to the data analysis elements.
[0043] In one scenario, S320 includes: in response to the first input being empty, displaying a first prompt in the dialog interface, the first prompt including various data analysis elements.
[0044] Specifically, see Figure 4 (a) When the electronic device detects that the first input content is empty, it can identify all the data analysis elements of the first input content locally or on the server. Therefore, the electronic device or server can use a generative model or other content generation algorithm to generate the first prompt content using each data analysis element as input data. The electronic device displays the obtained first prompt content in the input box of the dialog interface. This can provide a more comprehensive prompt to the user on how to enter the question content.
[0045] In another scenario, S320 includes: in response to the first input content being non-empty and lacking key information, displaying a first prompt in the dialog interface, the first prompt including data analysis elements corresponding to the key information.
[0046] Specifically, see Figure 4(b) When the electronic device detects that the first input content is not empty, it matches it with each data analysis element locally or on the server to determine whether the first input content is missing key information. If the first input content matches all data analysis elements successfully, it means that it is not missing key information, and the first prompt content does not need to be generated. If the first input content is missing at least one data analysis element (as shown in the figure, missing indicator element and dimension element), it means that it is missing key information, and the first prompt content is generated using the unmatched data analysis elements. The electronic device displays the obtained first prompt content in the input box of the dialog interface. This can effectively prompt the user to continue to input the content corresponding to the missing data analysis elements, so as to more efficiently assist the user in improving the question content.
[0047] In one scenario, in response to the first input content being non-empty and lacking key information, the data analysis elements corresponding to the key information are displayed in the dialog interface. This includes: in response to the interruption duration of the input operation reaching a preset duration, and the first input content being non-empty and lacking key information, the first prompt content is displayed in the dialog interface, and the first prompt content includes the data analysis elements corresponding to the key information.
[0048] Interruption duration refers to the length of time during which no user input is detected. Preset duration refers to a pre-set duration that can be set according to business needs or user input preferences.
[0049] Specifically, for users who frequently use data analysis functions or possess strong data analysis expertise, their input process is less likely to be interrupted. However, for users who don't frequently use data analysis functions or lack data analysis expertise, their input process is more likely to be interrupted. Therefore, electronic devices can avoid providing initial prompts to the first type of user to prevent input interference, while providing initial prompts to the second type of user to offer effective guidance during their input. Thus, if the electronic device detects that the initial input is not empty but lacks key information, it can further detect the duration of the input interruption and compare it to a preset duration. If the interruption duration is greater than or equal to the preset duration, it obtains the initial prompt and displays it in the input box of the dialog interface. This allows for targeted initial prompts to be provided to users who require input assistance, enhancing the personalization of the initial prompts.
[0050] S330. In response to a triggering operation on a data analysis element, display at least one first field value; the first field value corresponds to the triggered data analysis element.
[0051] Specifically, users can perform trigger actions (such as hovering or clicking) on data analysis elements presented in interactive text format, and the electronic device can respond to these trigger actions by displaying the corresponding values of each first field. For example... Figure 4 As shown in (a), the electronic device can display multiple specific times (such as today, last two weeks, etc.) in response to a user's click on the "time" element. Figure 4 As shown in (b), the electronic device can respond to the user's click on the "metric" element and display multiple specific metrics contained in the selected dataset (i.e., the first dataset), such as the number of calls to processing units (tokens), sales revenue, etc.
[0052] S340. In response to the selection operation of the first field value, based on the first input content and the selected first field value, obtain the second input content and display the second input content in the dialog interface to cover the first input content.
[0053] Specifically, the user can select any of the first field values displayed above. In response to this selection, the electronic device can fill the selected first field value into the input position (such as an input box) of the dialog interface to concatenate it with the first input content to obtain the second input content. Then, the second input content is displayed on top of the first input content in the input position of the dialog interface.
[0054] For example, for Figure 4 (a) If the user selects "last two weeks", then this can be used as the second input content to populate and display in the input box, such as... Figure 4 As shown in (b). For Figure 4 (b) If the user selects "Processing Unit Call Quantity", then the second input content can be obtained by concatenating the first input content with "Upper Bi-weekly" and displayed in the input box, such as... Figure 4 As shown in (c).
[0055] By repeating the above steps, a more complete second input can be obtained. This second input can then be used to initiate a call to the data analysis function and trigger the execution of the data analysis process.
[0056] In one scenario, after displaying the second input content, the method further includes: displaying data analysis results in a dialog interface; the data analysis results are obtained by performing data analysis on the second or fourth input content using a generative model; the fourth input content is obtained by supplementing the second input content.
[0057] The fourth input content is a more complete question obtained by further refining (such as supplementing, completing, or expanding) the second input content.
[0058] Specifically, when the user believes that the second input content or the fourth input content is complete, they can trigger the "Send" button in the dialogue interface to trigger the data analysis process. The electronic device or the server that receives the second input content / fourth input content can use the second input content or the fourth input content as input data and call the generative mode with data analysis capabilities to execute the data analysis process and obtain the data analysis result. Then, the electronic device can display the obtained data analysis result in the dialogue interface to complete the data analysis process. This can execute the data analysis process with more accurate question content, thereby improving the accuracy and integrity of the data analysis result.
[0059] In one case, the content processing method further includes: in response to the first input content not being empty and the end text matching at least one field included in the first data set, displaying the successfully matched field (i.e., the recommended field) and the data set identifier of the first data set in the first area as the first prompt content; in response to the selection operation on the recommended field, obtaining the second input content based on the first input content and the selected recommended field.
[0060] Among them, the first area includes the adjacent display area of the end text. The end text includes the text of the first input content at the current input position. The recommended field belongs to the first data set. The recommended field is obtained by matching the end text and each field included in the first data set. The first data set includes the data set participating in the data analysis, which can be the system default data set or the data set selected by the user themselves.
[0061] Specifically, when the electronic device detects that the first input content is not empty, it can match the end text of the first input content with each field included in the first data set. For the successfully matched field (referred to as the recommended field), it can be considered that it may be the field that the user wants to continue to input. In this case, the electronic device can display each recommended field and the data set identifier of the first data set to which each recommended field belongs (such as the data set name or number, etc.) as the first prompt content in the first area corresponding to the end text. As Figure 4 shown in (c), when the electronic device detects that there is a recommended field in Data Set 1 that successfully matches the end text "customer", it can display the recommended field, the data set identifier, and the data analysis element identifier together as the first prompt content in the first area of the end text "customer".
[0062] If the user performs a selection operation on any recommended field, then the electronic device can fill the selected recommended field to the input position and splice it with the first input content to obtain the second input content, and display the second input content covering the first input content. This setting of automatically associating the recommended fields in the first data set and inputting fields in a selection manner can further improve the input efficiency and accuracy.
[0063] The content processing methods provided in the above embodiments can display a dialog interface in response to a trigger operation corresponding to a data analysis function; display first prompt content in the dialog interface based on first input content within the dialog interface; the first prompt content includes at least one data analysis element, which is presented in interactive text form; display at least one first field value in response to a trigger operation on the data analysis element; the first field value corresponds to the triggered data analysis element; and obtain second input content based on the first input content and the selected first field value in response to a selection operation on the first field value, and display the second input content in the dialog interface to cover the first input content. This achieves the goal of timely displaying first prompt content to users during the use of data analysis tools, prompting users to input or improve their questions from the dimensions of data analysis elements to obtain second input content that better meets the user's data analysis needs, thereby lowering the input threshold for data analysis tools and improving the quality of the second input content. Furthermore, data analysis elements can be displayed in interactive text form to prompt users to quickly input questions through interaction with the first prompt content, thereby shortening the questioning path, improving the input efficiency of the second input content, and ultimately improving the efficiency and accuracy of subsequent data analysis based on the second input content.
[0064] In one embodiment, after displaying the dialog interface, the content processing method further includes: displaying at least one third prompt in the dialog interface; and, in response to a triggering operation on the third prompt, obtaining second input content based on the triggered third prompt.
[0065] The third prompt is updated in real time based on interactions with the dialog interface. These interactions include at least one of the following: configuring the dataset, inputting data in the dialog interface, and uploading a local file.
[0066] Specifically, see Figure 4 (a) ~ Figure 4 (b) The display area below the input box (corresponding to the fifth area) can always display third prompt content that updates according to the user's interaction in the dialog interface. This third prompt content, as a complete question adapted to the current operation state, can be used directly as the second input content, or used as an input reference to obtain the second input content. Therefore, the electronic device can display various third prompt contents in the dialog interface. After the user performs a trigger operation on a certain third prompt content, the triggered third prompt content can be used as the basis to obtain the second input content.
[0067] In one scenario, displaying at least one third prompt in the dialog interface includes: displaying the third prompt in response to a display command from the dialog interface; the third prompt is obtained based on data analysis functionality. In this scenario, such as... Figure 2 As shown in (b), when the electronic device displays the dialog interface, it displays by default the third prompt content (which can also be understood as recommended prompt content) that is adapted to the data analysis function and has a high frequency of questions in the fifth area.
[0068] In another scenario, displaying at least one third prompt in the dialog interface includes: displaying the third prompt in response to a triggering action on the dataset configuration control; the third prompt is generated based on the first dataset and / or historical data from the data analysis; the first dataset includes the selected dataset.
[0069] Historical data refers to data related to data analysis processes triggered by the current user or similar users within a historical time period. For example, it could be historical questions or historical browsing data analysis cases.
[0070] Specifically, see [link to relevant documentation] Figure 2 (b) If the user performs a trigger operation on the dataset configuration control 250 and selects the first dataset, then... Figure 4 As shown in (a), the electronic device displays the dataset identifier (e.g., dataset 1) of the first dataset at the dataset configuration control. The electronic device or server can then generate adapted third prompt content based on relevant information and historical data of the first dataset. The electronic device can then update and display the newly generated third prompt content in the fifth area. For example, the electronic device can... Figure 2 (b) shows the replacement of "Questions 1-3" as follows: Figure 4 (a) shows "Question 4~6". This allows for the dynamic acquisition of third prompt questions that fit the dataset, thereby improving the compatibility between the third prompt questions and the user's data analysis needs, and thus increasing the probability of the third prompt questions being selected and the ease of inputting the question content.
[0071] In another scenario, displaying at least one third prompt in the dialog interface includes: displaying the third prompt in response to an input operation in the dialog interface; the third prompt is generated based on at least one of a first dataset, a third input content corresponding to the input operation, and historical data.
[0072] The third input content refers to the input content corresponding to various input operations in the dialog interface. For example, if the input operation includes input operations on the input boxes displayed in the dialog interface (such as text input, voice input, etc.), then the first input content is used as the third input content; if the input operation includes triggering operations on data analysis elements or selecting recommended fields, then the second input content is used as the third input content.
[0073] Specifically, the process of a user performing various input operations on the input box can be understood as the user expressing their data analysis needs. Therefore, the electronic device can respond to changes in the third input content caused by each input operation and update the corresponding third prompt content in real time. This update process involves the electronic device or server using at least one of the relevant information from the first dataset, the third input content, and historical data as input data, calling a generative model with the function of generating complete prompt content to obtain the third prompt content. Then, the electronic device can use the newly obtained third prompt content to display it in the fifth area in an overlay manner.
[0074] See Figure 4 (a) ~ Figure 4 (b) After the electronic device updates the empty first input content to the second input content "last even-week", it can update "Question number 4~6" in the fifth area to the corresponding third prompt content starting with "last even-week". See also Figure 4 (b) ~ Figure 4 (c) After the electronic device updates the second input content of "the previous two weeks" to "the top five customers in terms of processing unit call volume in the previous two weeks", it can update the corresponding third prompt content starting with "the previous two weeks" in the fifth area to the corresponding third prompt content starting with "the top five customers in terms of processing unit call volume in the previous two weeks". This allows for the dynamic acquisition of third prompt questions that adapt to the dataset and the third input content, thereby further improving the adaptability of the third prompt questions to the user's data analysis needs, and further improving the hit rate of the third prompt questions and the ease of inputting the question content.
[0075] In another scenario, at least one third prompt is displayed in the dialog interface, including: in response to a local file upload operation, the third prompt is displayed in the dialog interface; the third prompt is generated based on at least one of the uploaded file, the first dataset, the third input content, and historical data.
[0076] Specifically, during data analysis, users can upload local files as one of the parameters for data analysis, which also represents a process of expressing the user's data analysis needs. Therefore, the electronic device can respond to the local file upload operation and update the corresponding third prompt content in real time. The update process is as follows: the electronic device or server uses at least one of the following as input data: the file parsing results of the uploaded local file (such as the specific text and data contained in the file), relevant information of the first dataset, the third input content, and historical data. It then calls a generative model with the function of generating complete prompt content to obtain the third prompt content. The electronic device can then use the newly obtained third prompt content to display it in the fifth area in an overlay manner.
[0077] See also Figure 2 (b) If the user triggers the file upload control 280, the electronic device can receive the uploaded local file and parse it to obtain the file parsing result. Then, as... Figure 5 As shown, the electronic device can directly display at least part of the file parsing results 510 in a structured chart format within a certain display area of the dialog interface, enabling automatic preview processing of local files after upload without manual interaction. Afterwards, the electronic device can... Figure 2 (b) shows the replacement of "Questions 1-3" as follows: Figure 5 The example shown is "Questions 7-9". This allows for the dynamic acquisition of third-party prompts based on the dataset, third-party input content, and local files, thereby further improving the adaptability of the third-party prompts to the user's data analysis needs, and consequently, further improving the hit rate of the third-party prompts and the ease of inputting the question content.
[0078] In one scenario, in response to a triggering operation on third prompt content, obtaining second input content based on the triggered third prompt content includes: in response to a selection operation on third prompt content, using the selected third prompt content as the second input content.
[0079] Specifically, see Figure 4 (c) The electronic device can display a content selection control 410 and a content extraction control 420 at each third prompt. If the user approves a certain third prompt, they can trigger an operation on its corresponding content selection control 410. In response to this trigger operation, the electronic device can directly use the selected third prompt as the second input content and fill it into the input box to cover the first input content. This can further improve input efficiency.
[0080] In another scenario, in response to a triggering operation on the third prompt content, a second input content is obtained based on the triggered third prompt content, including: in response to a content extraction operation on the third prompt content, filling and displaying the third prompt content in the input box, and in response to a modification operation on the third prompt content, using the modification result as the second input content.
[0081] Specifically, see [link to relevant documentation] Figure 4 (c) If the user approves a certain third prompt, they can trigger an operation on the corresponding content extraction control 420. In response to this trigger operation, the electronic device extracts the corresponding third prompt and fills it into the input box, overwriting the first input content. Then, in response to the user's modification of the third prompt displayed in the input box, the electronic device displays the modified result as the second input content in the input box. This improves input efficiency while further enhancing the accuracy and quality of the second input content.
[0082] In one embodiment, after displaying the second input content in the dialog interface, the content processing method further includes: displaying the second prompt content and at least one second field value corresponding to the second prompt content in the dialog interface; in response to a selection operation on the second field value, obtaining the fourth input content based on the second input content and the selected second field value, and displaying the fourth input content in the dialog interface.
[0083] The second prompt content is used to supplement (e.g., improve, refine, supplement, or complete) the second input content and / or historical input content. Historical input content is related to the second input content; it refers to input content previously displayed in the dialog interface that initiated the data analysis process, and can be understood as the contextual question content of the second input content. The second field value refers to the specific field value of the second prompt content. If the second prompt content includes a question, the second field value includes the answer to that question; if the second prompt content includes data analysis elements, the second field value includes the specific element field value of the corresponding data analysis element. The fourth input content refers to the input content obtained by supplementing the second input content.
[0084] Specifically, if the electronic device or server determines that key information is still missing in the second input content, it can analyze the second input content and / or its corresponding historical input content to identify the missing key information. Then, based on the local content in the second input content related to the missing key information, a second prompt is generated. Furthermore, based on the second prompt content and the aforementioned key information, the corresponding second field values are obtained. For example, if the second prompt content corresponds to a question, a generative model can be used to generate the answer to the question, which serves as the corresponding second field value. Similarly, if the second prompt content corresponds to a missing data analysis element, the specific field value suitable for that data analysis element can be determined from the first dataset, serving as the corresponding second field value. The electronic device then obtains the second prompt content and its corresponding second field values and displays them in the dialog interface. Subsequently, if a user selection operation on a certain second field value is detected, the electronic device or server can use the second input content and the selected second field value as input data to obtain a complete fourth input content using a generative model. The electronic device can then continue to display the fourth input content in the area below the second prompt content. This allows for a more convenient and intuitive way to refine the second input content, and by processing the display of the fourth input content, it enhances the user's sense of control over the question content and reduces the user's memory cost of the question in context.
[0085] like Figure 6 As shown, if multiple second prompts exist, the electronic device can display each second prompt 610 in a form below the second input content, and below each second prompt, display the corresponding second field value 620 and a matching field selection control 630 (such as a radio button, checkbox, etc.). The user can select a second field value by triggering the field selection control 630, and use the selected second field value to further refine the second input content.
[0086] In one scenario, the electronic device can obtain the recommended second field value for each second prompt and pre-display the recommended second field as selected in the dialog interface. This saves the user the interactive operation of selecting the second field value and further reduces the cost of interaction.
[0087] Referring again to 6, if a second prompt exists, the electronic device can display it in the area below the second input content, and show the corresponding second field values in the style of interactive button 630'. This further reduces the cost of interactive operations and enables one-click addition of second input content.
[0088] In another scenario, the electronic device can display an interactive control 640 with a custom second field value in the display area immediately below and adjacent to each second prompt and its corresponding second field value. In response to a triggering operation on the interactive control 640, the electronic device can display an input control in the display area immediately adjacent to the interactive control; in response to a triggering operation on the input control, it can receive the input custom field value and display the custom field value as the second field value in the area where the corresponding second prompt is located. For example, Figure 6 If the user triggers the interactive control 640 below the second prompt content of "Supplementary Time", and the user enters a specific date through the input control, the electronic device can display that date as a new second field value below the second prompt content of "Supplementary Time".
[0089] In another scenario, the electronic device can display each second field value in interactive text format; in response to a triggering operation on a second field value, the electronic device can display the traceability information of that second field value in the display area immediately adjacent to the triggered second field value (which may be referred to as the sixth area). For example... Figure 6 If a user triggers the second field value of "Channel 4", its source information can be displayed in a floating style in the surrounding area. For example, it can display the field name, field type, and dataset identifier of the first dataset to which the field belongs. This provides a quick way to query fields and further reduces the cost of interactive operations.
[0090] In another scenario, after the fourth input content is displayed in the dialog interface, the content processing method further includes: in response to a triggering operation on a local content in the fourth input content, displaying the source information of the local content in a second area.
[0091] The second region includes the adjacent display area of the local content.
[0092] Specifically, see [link to relevant documentation] Figure 6 The electronic device presents key local content (such as field values corresponding to data analysis elements) from the fourth input content in an interactive text format. Users can trigger an action on any local content. In response to this trigger, the electronic device displays the source information of that local content within a second area corresponding to the triggered local content. This source information includes the field name, field type, dataset identifier of the first dataset to which the field belongs, and the field's origin. The field origin indicates whether the local content originates from the second input content or is a supplementary field value. This enhances the user's understanding of each local content within the fourth input content, further increases the user's sense of control over the question content, and further reduces the user's memory burden regarding the context of the question.
[0093] It should be noted that an editing control 650 can be displayed in the display area where the fourth input content is located. The electronic device can respond to a trigger operation on the editing control 650, switch the fourth input content to edit mode, receive modifications to the fourth input content, obtain the new fourth input content, and update the displayed fourth input content. This allows for more convenient customization of the fourth input content, thereby further improving its accuracy.
[0094] The following are embodiments of the content processing apparatus provided in this application. This apparatus and the content processing methods of the above embodiments belong to the same inventive concept. For details not described in detail in the embodiments of the content processing apparatus, please refer to the embodiments of the above content processing methods.
[0095] Figure 7 A schematic diagram of the structure of a content processing apparatus provided in this application is shown. Figure 7 As shown, the content processing device 700 may include: The dialog interface display module 710 is used to display the dialog interface in response to the trigger operation corresponding to the data analysis function; The first prompt content display module 720 is used to display first prompt content in the dialog interface based on the first input content in the dialog interface; the first prompt content includes at least one data analysis element, and the data analysis element is presented in the form of interactive text; The first field value display module 730 is used to display at least one first field value in response to a trigger operation on a data analysis element; the first field value corresponds to the triggered data analysis element. The second input content display module 740 is used to respond to the selection operation of the first field value, obtain the second input content based on the first input content and the selected first field value, and display the second input content in the dialog interface to cover the first input content.
[0096] The content processing apparatus provided in the above embodiments enables the timely display of first prompts to users during the use of data analysis tools. These prompts allow users to input or refine their questions from the dimensions of data analysis elements, resulting in second input content that better meets the user's data analysis needs. This lowers the input threshold for data analysis tools and improves the quality of the second input content. Furthermore, the data analysis elements can be displayed in interactive text format, prompting users to quickly input their questions through interaction with the first prompts. This shortens the question-asking path, improves the input efficiency of the second input content, and ultimately enhances the efficiency and accuracy of subsequent data analysis based on the second input content.
[0097] In one scenario, the first prompt content display module 720 is specifically used for: In response to the first input being empty, the first prompt is displayed in the dialog interface, which includes various data analysis elements; Alternatively, in response to the first input being non-empty and lacking key information, a first prompt is displayed in the dialog interface, which includes the data analysis elements corresponding to the key information.
[0098] Optionally, data analysis elements may include time elements, indicator elements, dimension elements, or conditional elements.
[0099] In one scenario, the first prompt content display module 720 is also used for: In response to the first input content being non-empty, at least one recommended field and the dataset identifier of the first dataset are displayed in the first area as the first prompt content; the first area includes a display area adjacent to the end text, which includes the text of the first input content at the current input position; the recommended field belongs to the first dataset; the recommended field is obtained by matching the end text with the fields contained in the first dataset; the first dataset includes the datasets participating in the data analysis; In response to the selection operation of the recommended field, the second input content is obtained based on the first input content and the selected recommended field.
[0100] In one scenario, the content processing device 700 further includes a third prompt content display module, used for: Display at least one third prompt in the dialog interface; the third prompt is updated in real time based on the interaction with the dialog interface; the interaction includes at least one of the following: configuration of the dataset, input in the dialog interface, and upload of a local file; In response to the triggering operation of the third prompt content, the second input content is obtained based on the triggered third prompt content.
[0101] In one scenario, the third prompt content display module is specifically used to display at least one third prompt content in the dialog interface through any of the following: In response to the display command of the dialog interface, a third prompt is displayed in the dialog interface; the third prompt is obtained based on the data analysis function. In response to a triggering action on the dataset configuration control, a third prompt is displayed in the dialog interface; the third prompt is generated based on the first dataset and / or historical data from the data analysis; the first dataset includes the selected dataset; In response to an input operation in the dialog interface, a third prompt is displayed in the dialog interface; the third prompt is generated based on at least one of the first dataset, the third input content corresponding to the input operation, and historical data. In response to a local file upload operation, a third prompt is displayed in the dialog interface; the third prompt is generated based on at least one of the uploaded file, the first dataset, the third input content, and historical data.
[0102] In one scenario, the third prompt content display module is specifically used for: In response to the selection operation of the third prompt content, the selected third prompt content is used as the second input content; Alternatively, in response to the extraction operation of the third prompt content, the third prompt content is filled into and displayed in the input box, and in response to the modification operation of the third prompt content, the modification result is used as the second input content.
[0103] In one scenario, the content processing device 700 further includes: The second field value display module is used to display at least one second field value corresponding to the second prompt content in the dialog interface; the second prompt content is used to supplement the second input content and / or the historical input content; the historical input content is related to the second input content; The fourth input content display module is used to respond to the selection operation of the second field value, obtain the fourth input content based on the second input content and the selected second field value, and display the fourth input content in the dialog interface.
[0104] In one scenario, the content processing device 700 further includes a source tracing information display module, used for: In response to a triggering operation on a local content in the fourth input content, the source information of the local content is displayed in the second area; the local content is presented in the form of interactive text; the second area includes the adjacent display area of the local content.
[0105] In one scenario, the content processing device 700 further includes a region information display module, used for: In the third area of the dialog interface, the various data processing functions are displayed in a tiled manner; The fourth area of the dialog interface displays an input box and a data range configuration control; the input box is used to display at least one of the first input content, the second input content, and the first prompt content; The third prompt is displayed in the fifth area of the dialog interface.
[0106] In one scenario, the content processing device 700 further includes a data analysis results display module, used for: The data analysis results are displayed in the dialog interface; the data analysis results are obtained by using a generative model to analyze the second or fourth input content; the fourth input content is obtained by supplementing the second input content.
[0107] The content processing apparatus provided in this application can execute the content processing method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects of executing the method.
[0108] It is worth noting that in the embodiments of the above-mentioned content processing device, the modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional module are only for easy differentiation and are not used to limit the scope of protection of this application.
[0109] This application also provides an electronic device that may include a processor and a memory, the memory being used to store executable instructions. The processor can be used to read the executable instructions from the memory and execute the executable instructions to implement the content processing method described in the above embodiments.
[0110] Figure 8 A schematic diagram of the structure of an electronic device provided in this application is shown.
[0111] like Figure 8 As shown, the electronic device 800 may include a processing unit 801 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 802 or a program loaded from storage device 808 into random access memory (RAM) 803. The RAM 803 also stores various programs and data required for the operation of the electronic device 800. The processing unit 801, ROM 802, and RAM 803 are interconnected via a bus 804. An input / output interface (I / O interface) 805 is also connected to the bus 804.
[0112] Typically, the following devices can be connected to I / O interface 805: input devices 806 including, for example, touch screens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 807 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 808 including, for example, magnetic tapes, hard disks, etc.; and communication devices 809. Communication device 809 allows electronic device 800 to communicate wirelessly or wiredly with other devices to exchange data.
[0113] It should be noted that, Figure 8 The illustrated electronic device 800 is merely an example and should not impose any limitations on the functionality or scope of this application. That is, although... Figure 8An electronic device 800 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0114] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 809, or installed from storage device 808, or installed from ROM 802. When the computer program is executed by processing device 801, it performs the functions defined in the content processing methods of any embodiment of this application.
[0115] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to implement the content processing method in any embodiment of this application.
[0116] It should be noted that the computer-readable medium described above in this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. Computer-readable storage media can be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. The transmitted data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, radio frequency (RF), etc., or any suitable combination thereof.
[0117] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol, such as Hypertext Transfer Protocol (HTTP), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include Local Area Networks (LANs), Wide Area Networks (WANs), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0118] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0119] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the content processing methods described in any embodiment of this application.
[0120] In this application, computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof. These programming languages include, but are not limited to, object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0121] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of devices, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that 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 consecutively indicated 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, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0122] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Parts (ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), and so on.
[0123] The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this application.
[0124] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. Multitasking and parallel processing may be advantageous in certain environments. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this application. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0125] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A content processing method, comprising: The dialog interface is displayed in response to the triggering operation corresponding to the data analysis function; Based on the first input content in the dialog interface, the first prompt content is displayed in the dialog interface; The first prompt includes at least one data analysis element, which is presented in the form of interactive text; In response to a triggered operation on the data analysis element, at least one first field value is displayed; The first field value corresponds to the data analysis element that was triggered; In response to the selection operation of the first field value, a second input content is obtained based on the first input content and the selected first field value, and the second input content is displayed in the dialog interface to cover the first input content.
2. The method according to claim 1, wherein displaying a first prompt based on the first input content within the dialog interface includes: In response to the first input being empty, the first prompt content is displayed in the dialog interface, the first prompt content including each of the data analysis elements; Alternatively, in response to the first input content being non-empty and lacking key information, the first prompt content is displayed in the dialog interface, the first prompt content including the data analysis element corresponding to the key information.
3. The method according to claim 2, wherein the data analysis elements include time elements, indicator elements, dimension elements, or condition elements.
4. The method according to claim 1, further comprising: In response to the first input content not being empty, at least one recommended field and the dataset identifier of the first dataset are displayed in the first area as the first prompt content; The first region includes a display area adjacent to the end text, which includes the text of the first input content at the current input position; the recommended field belongs to the first dataset; the recommended field is obtained by matching the end text with each field contained in the first dataset; the first dataset includes datasets participating in data analysis; In response to the selection operation of the recommended field, the second input content is obtained based on the first input content and the selected recommended field.
5. The method according to claim 1, further comprising: At least one third prompt is displayed in the dialog interface; The third prompt content is updated in real time based on the interactive operation of the dialog interface; The interactive operation includes at least one of the following: a dataset configuration operation, an input operation on the dialog interface, and a local file upload operation. In response to the triggering operation of the third prompt content, the second input content is obtained based on the triggered third prompt content.
6. The method according to claim 5, wherein displaying at least one third prompt in the dialog interface includes any one of the following: In response to a display command on the dialog interface, the third prompt content is displayed on the dialog interface; the third prompt content is obtained based on the data analysis function. In response to a triggering operation on the dataset configuration control, the third prompt content is displayed in the dialog interface; The third prompt content is generated based on the first dataset and / or historical data from data analysis; the first dataset includes the selected dataset; In response to an input operation on the dialog interface, the third prompt content is displayed on the dialog interface; The third prompt content is generated based on at least one of the first dataset, the third input content corresponding to the input operation, and the historical data; In response to the upload operation of a local file, the third prompt content is displayed in the dialog interface; The third prompt content is generated based on at least one of the uploaded file, the first dataset, the third input content, and the historical data.
7. The method according to claim 5, wherein obtaining the second input content based on the triggered third prompt content in response to the triggering operation of the third prompt content includes: In response to the selection operation of the third prompt content, the selected third prompt content is used as the second input content; Alternatively, in response to the content extraction operation of the third prompt content, the third prompt content is filled into and displayed in the input box, and in response to the modification operation of the third prompt content, the modification result is used as the second input content.
8. The method according to claim 1, further comprising: The dialog interface displays a second prompt and at least one second field value corresponding to the second prompt; The second prompt is used to supplement the second input content and / or the historical input content; the historical input content is related to the second input content. In response to the selection operation of the second field value, a fourth input content is obtained based on the second input content and the selected second field value, and the fourth input content is displayed in the dialog interface.
9. The method according to claim 8, further comprising: In response to a triggering operation on a local content within the fourth input content, source information of the local content is displayed in the second area; The local content is presented in the form of interactive text; the second region includes the adjacent display area of the local content.
10. The method according to any one of claims 1 to 9, wherein the method further comprises: In the third area of the dialog interface, each data processing function is displayed in a tiled manner; The fourth area of the dialog interface displays an input box and a data range configuration control; The input box is used to display at least one of the first input content, the second input content, and the first prompt content; The third prompt is displayed in the fifth area of the dialog interface.
11. The method according to any one of claims 1 to 9, wherein the method further comprises: The data analysis results are displayed in the dialog interface; The data analysis results are obtained by performing data analysis on the second or fourth input content using a generative model; the fourth input content is obtained by supplementing the second input content.
12. A content processing apparatus, comprising: The dialog interface display module is used to display the dialog interface in response to the trigger operation corresponding to the data analysis function; The first prompt content display module is used to display first prompt content in the dialog interface based on the first input content in the dialog interface; The first prompt includes at least one data analysis element, which is presented in the form of interactive text; The first field value display module is used to display at least one first field value in response to a trigger operation on the data analysis element; The first field value corresponds to the data analysis element that was triggered; The second input content display module is used to respond to the selection operation of the first field value, obtain the second input content based on the first input content and the selected first field value, and display the second input content in the dialog interface to cover the first input content.
13. An electronic device, comprising: processor; Memory, used to store executable instructions; The processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the content processing method according to any one of claims 1-11.
14. A computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to implement the content processing method according to any one of claims 1-11.
15. A computer program product for implementing the content processing method according to any one of claims 1-11.