Table creation method and device and storage medium

By receiving user requirements and calling the language model in the form interface, the form is automatically created, which solves the problem of low efficiency of form creation in the existing technology, achieves efficient and flexible form creation, and reduces labor costs.

CN118657128AActive Publication Date: 2024-09-17BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311562595.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-21
Publication Date
2024-09-17
Estimated Expiration
2043-11-21

AI Technical Summary

Technical Problem

The existing technology is inefficient when creating tables, especially in scenarios with a large amount of information, which requires a lot of time and energy and wastes labor costs.

Method used

Receive the form creation requirement information input by the user through the form interface, and call the language model to automatically create a form that meets the requirements to achieve efficient and flexible creation of forms.

Benefits of technology

It reduces labor costs and improves the efficiency and convenience of form creation. Users only need to input required information to automatically generate forms that meet their needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657128A
    Figure CN118657128A
Patent Text Reader

Abstract

The embodiment of the invention provides a table creation method and device and a storage medium, a first user input instruction is received through an interaction component in a table interface, and the first user input instruction comprises table creation demand information; according to the first user input instruction, calling a language model to create a target table meeting the table creation demand information; and presenting the target table in the table interface. In the embodiment of the invention, the user only needs to input the table creation demand information, and the table meeting the user demand can be automatically created by means of the language model, so that efficient and flexible creation of the table is realized, the labor cost is reduced, and convenience is provided for the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer and network communication technology, and in particular, to a table creation method, device, and storage medium. Background Art

[0002] With the rapid development of science and technology and the increasing value of data, tables have become a commonly used form of data presentation and data recording in all walks of life.

[0003] In the prior art, when creating a table, the creator usually designs the table according to his or her own needs, including the table subject, field name, format, etc., but the process of designing the table is inefficient, especially for some scenarios with a large amount of information, designing the table requires a lot of time and energy, and wastes manpower costs. Summary of the invention

[0004] The embodiments of the present disclosure provide a table creation method, device, and storage medium to achieve efficient and flexible table creation, reduce labor costs, and provide convenience for users.

[0005] In a first aspect, an embodiment of the present disclosure provides a table creation method, including:

[0006] Receiving a first user input instruction through an interactive component in the table interface, wherein the first user input instruction includes table creation requirement information;

[0007] According to the first user input instruction, calling the language model to create a target table that meets the table creation requirement information;

[0008] The target table is presented in the table interface.

[0009] In a second aspect, an embodiment of the present disclosure provides a table creation device, including:

[0010] An input unit, configured to receive a first user input instruction through an interactive component in the table interface, wherein the first user input instruction includes table creation requirement information;

[0011] A processing unit, configured to call a language model to create a target table that meets the table creation requirement information according to the first user input instruction;

[0012] A display unit is used to present the target table in the table interface.

[0013] In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor and a memory;

[0014] The memory stores computer-executable instructions;

[0015] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the table creation method as described in the first aspect and various possible designs of the first aspect.

[0016] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the table creation method described in the first aspect and various possible designs of the first aspect is implemented.

[0017] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including computer execution instructions. When a processor executes the computer execution instructions, it implements the table creation method described in the first aspect and various possible designs of the first aspect.

[0018] The table creation method, device and storage medium provided by the embodiment of the present disclosure receive a first user input instruction through an interactive component in a table interface, wherein the first user input instruction includes table creation requirement information; according to the first user input instruction, a language model is called to create a target table that meets the table creation requirement information; and the target table is presented in the table interface. In the embodiment of the present disclosure, only the user needs to input the table creation requirement information, and the language model can be used to automatically create a table that meets the user's needs, thereby achieving efficient and flexible creation of the table, reducing labor costs, and providing convenience to users. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0020] Figure 1 An example diagram created for a form in the prior art;

[0021] Figure 2 A flowchart of a table creation method provided in one embodiment of the present disclosure;

[0022] Figure 3 A schematic diagram of a table interface provided in an embodiment of the present disclosure;

[0023] Figure 4 A schematic diagram of a table interface provided for another embodiment of the present disclosure;

[0024] Figure 5 A schematic diagram of a table interface provided for another embodiment of the present disclosure;

[0025] Figure 6 A schematic diagram of a table interface provided for another embodiment of the present disclosure;

[0026] Figure 7 A schematic diagram of a table interface provided for another embodiment of the present disclosure;

[0027] Figure 8 A schematic diagram of a table interface provided for another embodiment of the present disclosure;

[0028] Fig. 9 A structural block diagram of a table creation device provided in an embodiment of the present disclosure;

[0029] Fig.10 A schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present disclosure. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0031] In the prior art, when creating a table, the creator usually designs the table according to his or her own needs, including the table subject, field name, format, etc., but the process of designing the table is inefficient, especially for some scenarios with a large amount of information, designing the table requires a lot of time and energy, and wastes manpower costs.

[0032] In order to solve the above technical problems, the present disclosure hopes to realize the automatic creation of tables. Users only need to input the table creation requirements to automatically create tables that meet the table creation requirements. In order to achieve the above purpose, considering that the table creation requirements input by users are usually based on natural language, and the language model has natural language understanding capabilities, and can achieve specific processing tasks after training, especially the Large Language Model (LLM) has very powerful natural language understanding capabilities, and performs close to or even exceeds human levels in many natural language tasks. Therefore, the present disclosure uses a language model to automatically create tables that meet user needs, thereby achieving efficient and flexible creation of tables without the need for manual design of tables, reducing labor costs, and providing convenience to users.

[0033] The table creation method provided by the present disclosure may be executed by an electronic device such as a terminal device or a server, wherein a language model is locally deployed on the terminal device or the server, and a first user input instruction is received through an interactive component in a table interface, wherein the first user input instruction includes table creation requirement information; according to the first user input instruction, the language model is called to create a target table that meets the table creation requirement information; and the target table is displayed in the table interface.

[0034] Optionally, the language model may not be deployed on the terminal device or the server and other electronic devices, and the language model may be deployed on the server side, such as Figure 1 As shown, an electronic device such as a terminal device or a server can receive a first user input instruction through an interactive component in a table interface, wherein the first user input instruction includes table creation requirement information, and then send the first user input instruction to a server, which calls a language model based on the first user input instruction to obtain target table data that meets the table creation requirement information, and sends the target table data to the electronic device; the electronic device creates a target table based on the target table data and displays it in the table interface.

[0035] It should be noted that the user information and data involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0036] The table creation method disclosed in the present invention will be described in detail below in conjunction with specific embodiments.

[0037] refer to Figure 2 , Figure 2 A flowchart of a table creation method provided in an embodiment of the present disclosure is provided. The method of this embodiment can be applied in electronic devices such as terminal devices or servers, and the table creation method includes:

[0038] S201. Receive a first user input instruction through an interactive component in a table interface, wherein the first user input instruction includes table creation requirement information.

[0039] In this embodiment, an interactive component can be configured in the table interface, which is an interface for calling the language model to automatically create a table function. The user can input input instructions including various requirement information in the interactive component. When the user needs to create a table, the user can enter a first user input instruction through the interactive component. The first user input instruction includes table creation requirement information. The table creation requirement information may include but is not limited to the subject information, format information, required fields, required data, etc. of the table. For example, the table creation requirement information may be to create a table with the theme of "Recruitment Management System".

[0040] In some embodiments of the present disclosure, the table may be a database table, an online table, or a spreadsheet.

[0041] Optionally, an input box control may be provided in the interactive component, such as Figure 3 As shown, in the table interface 300, an input box control 311 may be provided in the interactive component 310, and the user may input the natural language-based instruction content in the input box control 311. For example, the user may input "help me build a recruitment management system" in the input box control 311 and click to confirm. The electronic device may receive the natural language-based instruction content input in the input box control 311 and determine the instruction content as the first user input instruction. The method of inputting the instruction content in the input box control includes but is not limited to keyboard input, voice input, handwriting input, etc.

[0042] Optionally, a preset shortcut command control may also be provided in the interactive component, for example Figure 3 As shown, the interactive component 300 is provided with preset shortcut control 312, including shortcut control of "create business system", shortcut control of "create questionnaire", etc. The user can directly select and trigger the desired preset shortcut control, and the electronic device responds to the user's triggering operation of the preset shortcut control, and directly uses the preset shortcut corresponding to the preset shortcut control as the first user input instruction. The triggering operation may include but is not limited to triggering by input devices such as a mouse (such as clicking, etc.), voice triggering, gesture triggering, etc.

[0043] Optionally, some preset shortcut command controls require the user to provide some more parameters or information. When the user triggers these preset shortcut command controls, the electronic device displays preset prompt corpus in the input box control in the interactive component in response to the triggering operation of these preset shortcut command controls. The preset prompt corpus is used to prompt the user for the content that needs to be input. The user can continue to enter natural language-based instruction content in the input box control. After the user clicks to confirm, the electronic device can determine the preset prompt corpus and the instruction content entered by the user as the first user input instruction. For example, a "Create Data Table" shortcut command control is provided in the interactive component. After the user triggers the "Create Data Table" shortcut command control, the preset prompt corpus "Create Data Table, Subject is:" can be displayed in the input box control of the interactive component. The user can continue to enter the subject of the required data table "Subject A" in the data box. After the user clicks to confirm, all the contents in the input box control, including the preset prompt corpus and the instruction content entered by the user "Create Data Table, Subject is: Subject A", can be determined as the first user input instruction.

[0044] Optionally, when the user is inputting natural language-based instruction content in an input box control, the electronic device can search for a matching preset shortcut instruction control in real time based on the current instruction content in the input box control, and display the matching preset shortcut instruction control in the interactive component for the user to select. The user can stop inputting in the input box control and directly select and trigger the desired preset shortcut instruction control. The electronic device responds to the user's triggering operation on the preset shortcut instruction control and directly uses the preset shortcut instruction corresponding to the preset shortcut instruction control as the first user input instruction.

[0045] It should be noted that the interactive control can provide one or more of the above input methods without conflict to facilitate user input. In addition, the above input method of the interactive control is not limited to obtaining the first user input instruction when creating a table, but is also applicable in other scenarios, and can collect any user input instruction, such as the second user input instruction, the third user input instruction, etc. in the following embodiments.

[0046] S202: According to the first user input instruction, call a language model to create a target table that meets the table creation requirement information.

[0047] In this embodiment, after the first user input instruction is acquired through the interactive component, the language model may be called to automatically create a target table that meets the table creation requirement information in the first user input instruction through the language model.

[0048] Among them, the language model can be a large language model (LLM), which is a new language model built based on deep learning in the field of natural language. Its characteristics are that the parameter scale is very large (usually more than 1 billion) and it is trained with a very large natural language corpus. Thanks to these characteristics, the large language model has a very strong natural language understanding ability and performs close to or even beyond the level of humans in multiple natural language tasks. In this embodiment, through training, the large language model can automatically create a table based on the table creation requirement information.

[0049] Further, in S202, when the language model is called to create a target table that meets the table creation requirement information according to the first user input instruction, it may specifically include:

[0050] S2021. Generate model input data using a preset template according to the first user input instruction;

[0051] S2022: Process the model input data based on the language model to obtain target table data that meets the table creation requirement information;

[0052] S2023: parse the target table data, and create the target table in the table interface according to the parsing result.

[0053] In this embodiment, since the first user input instruction may be a natural language or a preset shortcut instruction, in order to facilitate the understanding of the language model, a preset template may be used to process the first user input instruction to generate model input data. For example, for a large language model, a prompt word (prompt) template may be used to generate model input data according to the first user input instruction, wherein the prompt word is a structured text used as the input of the large language model, and the prompt word template specifies a fixed format of the prompt word, which contains some variable parts of replaceable content, and the variable parts in the prompt word template may be extracted from the first user input instruction and replaced to finally obtain the model input data. Of course, other feasible language models may also be used in this embodiment, which are not limited here.

[0054] Furthermore, the model input data is input into the language model, and the model input data is semantically understood with the help of the powerful natural language understanding ability of the language model, and the target table data that meets the table creation requirement information is obtained, where the target table data includes one or more of the following:

[0055] The target table includes the number of tables and the subject of each table, the field name in the table, the alternatives for at least one field, the sample data in the table, and the real data in the table.

[0056] For example, if the form creation requirement information is to create a form with the theme of "Recruitment Management System", the language model can determine to generate multiple forms around the theme of "Recruitment Management System", where each form can have its own theme, such as the first form is "Position List", the second form is "Candidate Resume Form", and the third form is "Interview Record Form"; and the language model can also determine the field names in each table, such as the "Position List" of the first table may include field names such as position ID, position name, position type, salary range, position description, etc., the "Candidate Resume Form" of the second table may include field names such as resume ID, name, job position, etc., and the "Interview Record Form" of the third table may include record ID, candidate resume ID, interview time, interviewer, interview result, etc. field name; in addition, for a certain field, the language model can also give options, for example, the options for the job position field include sales position, R&D position, management position, etc., and the options for the interview result field include passed, failed, pending, etc.; in addition, the language model can also give several sample data for each table (several sample records, one record is a row of data in the table), for example, give several virtual data; of course, for some table creation requirements, the language model can also give some real data, for example, the table creation requirement is to create a comparison table of provinces and provincial capitals, the language model can give the real data of provinces and provincial capitals, for example, the table creation requirement is to recommend 5 business management books, then the language model can give the real data of 5 business management books based on the corpus.

[0057] The language model can output the target table data in a predetermined format. Furthermore, the target table data can be parsed, and the target table can be created in the table interface according to the parsing results. The specific creation process can adopt a streaming process. If there are multiple tables, they can be created one by one, that is, after creating one table, the next table is created; in the process of creating any table, the fields are generated one by one in the table, and then the sample data or real data are filled in line by line in the table according to the fields to obtain the target table.

[0058] S203: Present the target table in the table interface.

[0059] In this embodiment, the final target table can be directly displayed in the table interface, for example Figure 4 As shown, if there are multiple tables, the name (or subject) of each table can be shown in a list format, and one of the tables can be displayed in the table interface. The user can also select the table to be displayed from the list.

[0060] Of course, the above streaming process can also be displayed in the table interface, and the final target table can be displayed after the streaming process is completed.

[0061] The table creation method provided in this embodiment receives a first user input instruction through an interactive component in a table interface, wherein the first user input instruction includes table creation requirement information; according to the first user input instruction, a language model is called to create a target table that meets the table creation requirement information; and the target table is presented in the table interface. In this embodiment, only the user needs to input the table creation requirement information, and the language model can be used to automatically create a table that meets the user's needs, thereby achieving efficient and flexible creation of the table, reducing labor costs, and providing convenience for users.

[0062] Based on any of the above embodiments, after the target table is presented in the table interface, the method may further include:

[0063] Receiving a second user input instruction through the interactive component, wherein the second user input instruction includes field modification requirement information of the target table, and the field modification requirement information includes requirement information for modifying an existing field, deleting an existing field, or adding a new field;

[0064] According to the second user input instruction, the language model is called to modify the field of the target table based on the field modification requirement information.

[0065] In this embodiment, after the target table is displayed in the table interface, if the user needs to modify the fields in the target table, such as modifying existing fields, deleting existing fields, adding new fields, etc., a second user input instruction can be entered in the interactive component, where the second user input instruction includes any of the above-mentioned field modification requirement information.

[0066] The method of receiving the second user input instruction through the interactive component is similar to the method of receiving the first user input instruction in the above embodiment. The user can directly input the natural language-based instruction content in the input box control of the interactive component as the second user input instruction; or a preset shortcut instruction control related to field modification can be set in the interactive component for user selection, such as recommending a preset shortcut instruction control for a new field; or after triggering the preset shortcut instruction control related to field modification, the preset prompt corpus is displayed in the input box control, and the user can continue to enter the instruction content in the input box control according to the preset prompt corpus, and the preset prompt corpus and the instruction content entered by the user are used as the second user input instruction, etc. The specific process will not be repeated here. Figure 5 As described above, the interactive component 310 can be expanded by triggering the thumbnail mark 321 of the interactive component in the toolbar 320, or the interactive component can be triggered to be displayed in other ways.

[0067] Furthermore, according to the second user input instruction, the language model is called to modify the fields of the target table to meet the field modification requirement information. Specifically, similar to the above embodiment, according to the second user input instruction, the preset model is used to generate model input data, the model input data is processed based on the language model, and the target table data is updated according to the field modification requirement information. For example, the target table may modify existing fields, delete existing fields, or add new fields. At the same time, correspondingly, the example data or real data corresponding to the existing fields may be modified, the example data or real data corresponding to the existing fields may be deleted, and the example data or real data corresponding to the new fields may be added, and the target table in the table interface may be updated based on the updated target table data.

[0068] Based on any of the above embodiments, after the target table is presented in the table interface, the method further includes:

[0069] Receiving a third user input instruction through the interactive component, wherein the third user input instruction includes data adding requirement information for the target table, and the data adding requirement information includes data to be added based on natural language;

[0070] According to the third user input instruction, the language model is called to add the data information to be added to a row of the target table according to the fields.

[0071] In this embodiment, when the user is using the target table, if he needs to add a row of data, this can also be achieved through the interactive component. The user can input a third user input instruction through the interactive component, which includes data adding requirement information for the target table, which is used to indicate the need to add data to the target table and what specific data to add. The data adding requirement information includes data information to be added based on natural language.

[0072] The method of receiving the third user input instruction through the interactive component is similar to the method of receiving the first user input instruction in the above embodiment. The user can directly input the data information to be added based on natural language in the input box control of the interactive component as the third user input instruction; or a preset shortcut instruction control related to adding data can be set in the interactive component for the user to select. After the user triggers the preset shortcut instruction control related to adding data, the preset prompt corpus is displayed in the input box control, for example, "Enter a row of records and disassemble them into corresponding fields", and the user can continue to enter the data information to be added based on natural language in the input box control according to the preset prompt corpus, and use the preset prompt corpus and the data information to be added based on natural language entered by the user as the third user input instruction, and so on. The specific process will not be repeated here.

[0073] Furthermore, according to the third user input instruction, the language model can be called to identify and split the data information to be added according to the fields in the target table, and the data corresponding to each field is added to the cell corresponding to each field in a row of the target table.

[0074] Optionally, when the user needs to add a row of data to the target table, the user can trigger any cell in any row of the target table. For example, the user can click on an index column cell in an empty row of the target table. In response to the user's triggering operation on the cell, the electronic device can display a thumbnail identifier of the interactive component in the cell, such as Figure 6 As shown, a thumbnail mark 330 of the interactive component is displayed on the right or left side of the cell. After the user triggers the thumbnail mark 330, the electronic device displays the interactive component 310 in response to the triggering operation of the thumbnail mark 330. The user can further input a third user input instruction through the interactive component 310, and finally add a row of data to the row through the language model.

[0075] Optionally, when the user does not specify a row to which the data to be added is added, the data to be added may be added to the last row of the target table by default.

[0076] Based on any of the above embodiments, in step S202, according to the first user input instruction, the process of calling the language model to create a target table that meets the table creation requirement information further includes:

[0077] The interactive component displays creation status prompt information and a preset operation instruction control for the current creation process, wherein the preset operation instruction control for the creation process includes a retry control and / or an interrupt control.

[0078] Among them, Figure 7 As shown, the interactive component 310 displays creation status prompt information 313, which is used to prompt the user that the target table is in the process of being created. For example, the creation status prompt information can be "a table is being created for you". In addition, the preset operation instruction control for this creation process displayed in the interactive component is used to control this creation process, including but not limited to retry and / or interruption, that is, the preset operation instruction control for the creation process may include but not limited to a retry control and / or an interrupt control, for example Figure 7 The interactive component 310 includes a retry control 314 and an interrupt control 315 .

[0079] When the user triggers the retry control, the electronic device responds to the triggering operation of the retry control, stops the current creation process, cancels the generated target table, and re-creates the target table that meets the table creation requirement information based on the first user input instruction. Since the language model is uncertain, the language model may create a different target table when retrying if the first user input instruction remains unchanged.

[0080] When the user triggers the interrupt control, the electronic device responds to the triggering operation of the interrupt control and stops the current creation process. The generated target table can be retained or revoked. In addition, the interactive component can be closed or hidden, or it can be kept or not.

[0081] On the basis of any of the above embodiments, after the target table is presented in the table interface in S203, the method further includes:

[0082] A preset operation instruction control for the target table is displayed in the interactive component, wherein the preset operation instruction control for the target table includes one or more of an accept control, a retry control, and a give up control.

[0083] In this embodiment, the preset operation instruction control for the target form is used by the user to perform operations on the target form, including but not limited to adopting the target form, abandoning the target form, and regenerating the target form. That is, the preset operation instruction control for the target form includes but is not limited to one or more of the adopt control, retry control, and abandon control. Figure 8 As shown, the interactive component 310 includes an adoption control 316, a retry control 317, and a abandonment control 318.

[0084] Among them, if the user is satisfied with the target table, the adoption control can be triggered, and the electronic device responds to the triggering operation of the adoption control, completes the creation of the target table, and exits the interactive component. Optionally, before the target table is adopted, it can be in a highlighted state, that is, S203 displays the target table in a highlighted state in the table interface after the target table is created, and before the user triggers the adoption control, the target table remains in a highlighted state until the user triggers the adoption control, and the target table returns to a normal state, that is, changes from a highlighted state to a non-highlighted state, indicating that the target table has been created.

[0085] If the user is not satisfied with the target form, a retry control may be triggered. In response to the triggering operation of the retry control, the electronic device cancels the target form and re-creates the target form that meets the form creation requirement information by calling the language model according to the first user input instruction.

[0086] If the user is not satisfied with the target form, the abandonment control may be triggered. In response to the triggering operation of the abandonment control, the electronic device cancels the target form and exits (or hides) the interactive component. Of course, the interactive component may not be closed or hidden.

[0087] On the basis of any of the above embodiments, during or after the creation of the target table, when the user triggers other areas outside the interactive component, the electronic device may display a first prompt message in response to the triggering operation on other areas outside the interactive component, wherein the first prompt message includes prompt message for adopting or abandoning the generated target table, or prompt message for interrupting the current creation process. If the user triggers other areas outside the interactive component after creating the target table, the first prompt message is displayed to ask the user whether to adopt or abandon the generated target table; if the user triggers other areas outside the interactive component during the creation of the target table, the first prompt message is displayed to ask the user whether to interrupt the current creation process. Optionally, the first prompt message may be displayed in the form of a pop-up window, etc., and the pop-up window may include a confirmation control or a rejection control for the first prompt message.

[0088] In addition, other exit methods can be provided, such as triggering a specified key on the keyboard (such as the Esc key, etc.), or triggering a specified key on the keyboard (such as the Delete key, etc.) when the input box control is empty. Examples are not given here one by one.

[0089] On the basis of any of the above embodiments, considering that the capabilities of the language model are limited, it may not be possible to process all user input instructions and obtain appropriate results. Therefore, for any user input instruction based on natural language input in the input box control in the interactive component, including but not limited to the above-mentioned first user input instruction, second user input instruction, and third user input instruction, if it is determined that the language model cannot process (cannot be processed in the current table creation scenario), a second prompt message is displayed in the interactive component, wherein the second prompt message is used to show that the user input instruction cannot be processed, or to prompt the user to enter other instructions. For example, in the table creation scenario, if the user input instruction is to query the current weather, and the language model determines that it cannot be processed in the current table creation scenario, a second prompt message may be displayed in the interactive component to inform the user that the user input instruction cannot be processed, or the user may be prompted to enter other instructions, such as prompting the user to enter other instructions in the form of questions and answers. Of course, the language model may also display the current weather in the interactive component. The above scheme is applicable to situations where the language model cannot process or where the question and answer intention escapes.

[0090] In any of the above embodiments, different entrances to the interactive components may be set in the table interface according to different situations.

[0091] For example, in an optional case, a thumbnail logo of an interactive component can be displayed at a preset position in the table interface, such as displaying a thumbnail logo of the interactive component in a toolbar of the table interface. When a user triggers the thumbnail logo of the interactive component displayed at the preset position, the electronic device displays the interactive component in response to the triggering operation of the thumbnail logo, wherein the interactive component can be displayed at a preset fixed position, or can be displayed within a preset range near the thumbnail logo, or the interactive component can be suspended above the table interface. In addition, the user can also drag or scale the interactive component.

[0092] For example, in another optional situation, when a new table is created, the interactive components or abbreviated identifiers of the interactive components are displayed at the bottom of a blank table in the table interface.

[0093] For example, in another optional situation, when the user needs to add a row of data to be added to the target table, a thumbnail logo of the interactive component can be displayed in the cell triggered by the user, or when the user triggers the index column cell of a blank row, a thumbnail logo of the interactive component can be displayed in the index column cell of the blank row or in another cell of the blank row. When the user triggers the thumbnail logo of the interactive component displayed at a preset position, the electronic device displays the interactive component in response to the triggering operation of the thumbnail logo, wherein the interactive component can be displayed at a preset fixed position, or can be displayed within a preset range near the thumbnail logo, or the interactive component can be suspended above the table interface, and the user can also drag or scale the interactive component.

[0094] For example, in another optional situation, in the process of creating a target table, the interactive component can be displayed below the target table. Optionally, the interactive component can follow a latest row of sample data or real data generated in the target table and be displayed below the latest row of sample data or real data generated (follow below the field name row when generating fields). Optionally, the position of the interactive component in the table interface changes its Y-axis coordinate following the latest row of sample data or real data generated, while the X-axis coordinate remains unchanged, and it no longer changes when the Y-axis coordinate reaches the bottom of the table interface.

[0095] It should be noted that the different situations in the table interface are not limited to the above examples, and other optional situations will not be described in detail in this embodiment.

[0096] In addition, in any of the above embodiments, different preset shortcut command controls can be displayed in the interactive component according to different situations. For example, before creating a table (the table interface displays a blank table), the interactive component can display preset shortcut command controls for creating the table, such as the shortcut command control of "building a business system" and the shortcut command control of "building a task management table". For example, after creating and displaying the target table, the interactive component can display preset shortcut command controls related to field modification, such as the shortcut command control for deleting existing fields and the shortcut command control for adding new fields. For example, when the user needs to add a row of data to be added to the target table, the interactive component can display preset shortcut command controls related to adding data. For example, in the process of generating the target table, the interactive component can display preset operation instruction controls for this creation process, but not limited to retry controls and / or interrupt controls. For example, after generating the target table, the interactive component can also display preset operation instruction controls for the target table, including but not limited to one or more of the adopt control, retry control and abandon control, etc. It should be noted that the different situations in the table interface are not limited to the above examples, and the preset shortcut command controls in the interactive components in other optional situations are not described in detail in this embodiment.

[0097] Corresponding to the table creation method of the above embodiment, Fig. 9 A structural block diagram of a table creation device provided in an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiment of the present disclosure are shown. Fig. 9 The table creation device 900 includes: an input unit 901, a processing unit 902, and a display unit 903.

[0098] The input unit 901 is used to receive a first user input instruction through an interactive component in the table interface, wherein the first user input instruction includes table creation requirement information;

[0099] A processing unit 902 is configured to call a language model to create a target table that meets the table creation requirement information according to the first user input instruction;

[0100] The display unit 903 is used to present the target table in the table interface.

[0101] In one or more embodiments of the present disclosure, when the processing unit 902 calls the language model to create a target table that meets the table creation requirement information according to the first user input instruction, it is configured to:

[0102] According to the first user input instruction, a preset template is used to generate model input data;

[0103] Processing the model input data based on the language model to obtain target table data that meets the table creation requirement information;

[0104] The target table data is parsed, and the target table is created in the table interface according to the parsing result.

[0105] In one or more embodiments of the present disclosure, the target table data includes one or more of the following:

[0106] The target table includes the number of tables and the subject of each table, the field name in the table, the alternatives for at least one field, the sample data in the table, and the real data in the table.

[0107] In one or more embodiments of the present disclosure, when the input unit 901 receives the first user input instruction through the interactive component in the table interface, it is used to:

[0108] Receiving natural language-based instruction content input into an input box control in the interactive component, and determining the instruction content as the first user input instruction; or

[0109] In response to a triggering operation on a preset shortcut command control in the interactive component, determining that a preset shortcut command corresponding to the preset shortcut command control is the first user input command; or

[0110] In response to a triggering operation on a preset shortcut command control in the interactive component, a preset prompt corpus is displayed in an input box control in the interactive component, and a natural language-based instruction content input by a user in the input box control in response to the preset prompt corpus is received, and the preset prompt corpus and the instruction content are determined as the first user input instruction; or

[0111] Receive natural language-based instruction content input into an input box control in the interactive component, display a preset shortcut instruction control matching the instruction content in the interactive component, and in response to a triggering operation on the preset shortcut instruction control, determine that the preset shortcut instruction corresponding to the preset shortcut instruction control is the first user input instruction.

[0112] In one or more embodiments of the present disclosure, the input unit 901 is further configured to, after presenting the target table in the table interface, receive a second user input instruction through the interactive component, wherein the second user input instruction includes field modification requirement information for the target table, and the field modification requirement information includes requirement information for modifying an existing field, deleting an existing field, or adding a new field;

[0113] The processing unit 902 is further configured to, according to the second user input instruction, call the language model to modify the field of the target table based on the field modification requirement information.

[0114] In one or more embodiments of the present disclosure, the input unit 901 is further configured to, after presenting the target table in the table interface, receive a third user input instruction through the interactive component, wherein the third user input instruction includes data adding requirement information for the target table, and the data adding requirement information includes data information to be added based on natural language;

[0115] The processing unit 902 is further configured to, according to the third user input instruction, call the language model to add the data information to be added into a row of the target table according to the fields.

[0116] In one or more embodiments of the present disclosure, when the input unit 901 receives the third user input instruction through the interaction component, it is used to:

[0117] In response to a triggering operation on any cell of any row in the target table, displaying a thumbnail identifier of the interactive component in the cell;

[0118] In response to triggering the thumbnail mark, the interactive component is displayed, and a third user input instruction is received through the interactive component.

[0119] In one or more embodiments of the present disclosure, the input unit 901 is further used for:

[0120] In response to a triggering operation on a thumbnail identifier of the interactive component displayed at a preset position in the table interface, the interactive component is displayed.

[0121] In one or more embodiments of the present disclosure, in the process of calling the language model to create a target form that meets the form creation requirement information according to the first user input instruction, the input unit 901 is further used to display creation status prompt information and a preset operation instruction control for this creation process in the interactive component, wherein the preset operation instruction control for the creation process includes a retry control and / or an interrupt control;

[0122] The processing unit 902 is further configured to, in response to a triggering operation on the retry control, stop the current creation process, cancel the generated target table, and re-create the target table that meets the table creation requirement information by calling the language model according to the first user input instruction; or

[0123] The processing unit 902 is further configured to, in response to a triggering operation on the interrupt control, stop the current creation process and retain or cancel the generated target table.

[0124] In one or more embodiments of the present disclosure, after the target table is presented in the table interface, the input unit 901 is further used to display a preset operation instruction control for the target table in the interactive component, wherein the preset operation instruction control for the target table includes one or more of an adopt control, a retry control, and a give up control;

[0125] The processing unit 902 is further configured to complete the creation of the target table and exit the interactive component in response to the triggering operation on the adoption control; or

[0126] The processing unit 902 is further configured to, in response to a triggering operation on the retry control, cancel the target form, and re-create a target form that meets the form creation requirement information by calling a language model according to the first user input instruction; or

[0127] In response to the triggering operation of the abandonment control, the target form is cancelled.

[0128] In one or more embodiments of the present disclosure, the method further includes:

[0129] The input unit 901 is also used to: in response to a trigger operation on other areas outside the interactive component, display a first prompt information, wherein the first prompt information includes prompt information for adopting or abandoning the generated target table, or prompt information for interrupting the current creation process.

[0130] In one or more embodiments of the present disclosure, the input unit 901 is also used to display a second prompt message in the interactive component for any natural language-based user input instruction input into the input box control in the interactive component, if it is determined that the language model cannot process it, wherein the second prompt message is used to indicate that the user input instruction cannot be processed, or to prompt the user to enter other instructions.

[0131] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.

[0132] refer to Fig.10, which shows a schematic diagram of the structure of an electronic device 1000 suitable for implementing the embodiment of the present disclosure, and the electronic device 1000 may be a terminal device or a server. The terminal device may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.10 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0133] like Fig.10 As shown, the electronic device 1000 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1008 to a random access memory (RAM) 1003. Various programs and data required for the operation of the electronic device 1000 are also stored in the RAM 1003. The processing device 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0134] Typically, the following devices may be connected to the I / O interface 1005: input devices 1006 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 1007 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1008 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 may allow the electronic device 1000 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.10 The electronic device 1000 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0135] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 1009, or installed from a storage device 1008, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0136] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0137] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0138] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.

[0139] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may 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 may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0140] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0141] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".

[0142] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

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

[0144] In a first aspect, according to one or more embodiments of the present disclosure, a table creation method is provided, comprising:

[0145] Receiving a first user input instruction through an interactive component in the table interface, wherein the first user input instruction includes table creation requirement information;

[0146] According to the first user input instruction, calling the language model to create a target table that meets the table creation requirement information;

[0147] The target table is presented in the table interface.

[0148] According to one or more embodiments of the present disclosure, calling a language model to create a target table that meets the table creation requirement information according to the first user input instruction includes:

[0149] According to the first user input instruction, a preset template is used to generate model input data;

[0150] Processing the model input data based on the language model to obtain target table data that meets the table creation requirement information;

[0151] The target table data is parsed, and the target table is created in the table interface according to the parsing result.

[0152] According to one or more embodiments of the present disclosure, the target table data includes one or more of the following:

[0153] The target table includes the number of tables and the subject of each table, the field name in the table, the alternatives for at least one field, the sample data in the table, and the real data in the table.

[0154] According to one or more embodiments of the present disclosure, the step of receiving a first user input instruction through an interactive component in a table interface includes:

[0155] Receiving natural language-based instruction content input into an input box control in the interactive component, and determining the instruction content as the first user input instruction; or

[0156] In response to a triggering operation on a preset shortcut command control in the interactive component, determining that a preset shortcut command corresponding to the preset shortcut command control is the first user input command; or

[0157] In response to a triggering operation on a preset shortcut command control in the interactive component, a preset prompt corpus is displayed in an input box control in the interactive component, and a natural language-based instruction content input by a user in the input box control in response to the preset prompt corpus is received, and the preset prompt corpus and the instruction content are determined as the first user input instruction; or

[0158] Receive natural language-based instruction content input into an input box control in the interactive component, display a preset shortcut instruction control matching the instruction content in the interactive component, and in response to a triggering operation on the preset shortcut instruction control, determine that the preset shortcut instruction corresponding to the preset shortcut instruction control is the first user input instruction.

[0159] According to one or more embodiments of the present disclosure, after presenting the target table in the table interface, the method further includes:

[0160] Receiving a second user input instruction through the interactive component, wherein the second user input instruction includes field modification requirement information of the target table, and the field modification requirement information includes requirement information for modifying an existing field, deleting an existing field, or adding a new field;

[0161] According to the second user input instruction, the language model is called to modify the field of the target table based on the field modification requirement information.

[0162] According to one or more embodiments of the present disclosure, after presenting the target table in the table interface, the method further includes:

[0163] Receiving a third user input instruction through the interactive component, wherein the third user input instruction includes data adding requirement information for the target table, and the data adding requirement information includes data to be added based on natural language;

[0164] According to the third user input instruction, the language model is called to add the data information to be added to a row of the target table according to the fields.

[0165] According to one or more embodiments of the present disclosure, the receiving, through the interaction component, a third user input instruction includes:

[0166] In response to a triggering operation on any cell of any row in the target table, displaying a thumbnail identifier of the interactive component in the cell;

[0167] In response to triggering the thumbnail mark, the interactive component is displayed, and a third user input instruction is received through the interactive component.

[0168] According to one or more embodiments of the present disclosure, the method further includes:

[0169] In response to a triggering operation on a thumbnail identifier of the interactive component displayed at a preset position in the table interface, the interactive component is displayed.

[0170] According to one or more embodiments of the present disclosure, in the process of invoking a language model to create a target form that meets the form creation requirement information according to the first user input instruction, the process further includes:

[0171] Displaying creation status prompt information and preset operation instruction controls for the current creation process in the interactive component, wherein the preset operation instruction controls for the creation process include a retry control and / or an interrupt control;

[0172] In response to the triggering operation of the retry control, the current creation process is stopped, the generated target table is cancelled, and the language model is called again to create the target table that meets the table creation requirement information according to the first user input instruction; or

[0173] In response to the triggering operation of the interrupt control, the current creation process is stopped, and the generated target table is retained or cancelled.

[0174] According to one or more embodiments of the present disclosure, after presenting the target table in the table interface, the method further includes:

[0175] Displaying a preset operation instruction control for the target table in the interactive component, wherein the preset operation instruction control for the target table includes one or more of an accept control, a retry control, and a give up control;

[0176] In response to the triggering operation on the adoption control, completing the creation of the target table and exiting the interactive component; or

[0177] In response to the triggering operation of the retry control, the target form is cancelled, and the language model is called again to create a target form that meets the form creation requirement information according to the first user input instruction; or

[0178] In response to the triggering operation of the abandonment control, the target form is cancelled.

[0179] According to one or more embodiments of the present disclosure, the method further includes:

[0180] In response to a trigger operation on other areas outside the interactive component, first prompt information is displayed, wherein the first prompt information includes prompt information for adopting or abandoning the generated target table, or prompt information for interrupting the current creation process.

[0181] According to one or more embodiments of the present disclosure, the method further includes:

[0182] For any natural language-based user input instruction entered into the input box control in the interactive component, if it is determined that the language model cannot process it, a second prompt message is displayed in the interactive component, wherein the second prompt message is used to indicate that the user input instruction cannot be processed, or to prompt the user to enter other instructions.

[0183] In a second aspect, according to one or more embodiments of the present disclosure, a table creation device is provided, including:

[0184] An input unit, configured to receive a first user input instruction through an interactive component in the table interface, wherein the first user input instruction includes table creation requirement information;

[0185] A processing unit, configured to call a language model to create a target table that meets the table creation requirement information according to the first user input instruction;

[0186] A display unit is used to present the target table in the table interface.

[0187] According to one or more embodiments of the present disclosure, when the processing unit calls the language model to create a target table that meets the table creation requirement information according to the first user input instruction, it is configured to:

[0188] According to the first user input instruction, a preset template is used to generate model input data;

[0189] Processing the model input data based on the language model to obtain target table data that meets the table creation requirement information;

[0190] The target table data is parsed, and the target table is created in the table interface according to the parsing result.

[0191] According to one or more embodiments of the present disclosure, the target table data includes one or more of the following:

[0192] The target table includes the number of tables and the subject of each table, the field name in the table, the alternatives for at least one field, the sample data in the table, and the real data in the table.

[0193] According to one or more embodiments of the present disclosure, when the input unit receives the first user input instruction through the interactive component in the table interface, it is used to:

[0194] Receiving natural language-based instruction content input into an input box control in the interactive component, and determining the instruction content as the first user input instruction; or

[0195] In response to a triggering operation on a preset shortcut command control in the interactive component, determining that a preset shortcut command corresponding to the preset shortcut command control is the first user input command; or

[0196] In response to a triggering operation on a preset shortcut command control in the interactive component, a preset prompt corpus is displayed in an input box control in the interactive component, and a natural language-based instruction content input by a user in the input box control in response to the preset prompt corpus is received, and the preset prompt corpus and the instruction content are determined as the first user input instruction; or

[0197] Receive natural language-based instruction content input into an input box control in the interactive component, display a preset shortcut instruction control matching the instruction content in the interactive component, and in response to a triggering operation on the preset shortcut instruction control, determine that the preset shortcut instruction corresponding to the preset shortcut instruction control is the first user input instruction.

[0198] According to one or more embodiments of the present disclosure, the input unit is further used to, after presenting the target table in the table interface, receive a second user input instruction through the interactive component, wherein the second user input instruction includes field modification requirement information for the target table, and the field modification requirement information includes requirement information for modifying an existing field, deleting an existing field, or adding a new field;

[0199] The processing unit is further configured to, according to the second user input instruction, call the language model to modify the field of the target table based on the field modification requirement information.

[0200] According to one or more embodiments of the present disclosure, the input unit is further configured to, after presenting the target table in the table interface, receive a third user input instruction through the interactive component, wherein the third user input instruction includes data addition requirement information for the target table, and the data addition requirement information includes data information to be added based on natural language;

[0201] The processing unit is further configured to, according to the third user input instruction, call the language model to add the data information to be added into a row of the target table according to the fields.

[0202] According to one or more embodiments of the present disclosure, when the input unit receives the third user input instruction through the interaction component, it is used to:

[0203] In response to a triggering operation on any cell of any row in the target table, displaying a thumbnail identifier of the interactive component in the cell;

[0204] In response to triggering the thumbnail mark, the interactive component is displayed, and a third user input instruction is received through the interactive component.

[0205] According to one or more embodiments of the present disclosure, the input unit is further used for:

[0206] In response to a triggering operation on a thumbnail identifier of the interactive component displayed at a preset position in the table interface, the interactive component is displayed.

[0207] According to one or more embodiments of the present disclosure, in the process of calling a language model to create a target form that meets the form creation requirement information according to the first user input instruction, the input unit is further used to display creation status prompt information and a preset operation instruction control for this creation process in the interactive component, wherein the preset operation instruction control for the creation process includes a retry control and / or an interrupt control;

[0208] The processing unit is further configured to, in response to a triggering operation on the retry control, stop the current creation process, cancel the generated target table, and re-create the target table that meets the table creation requirement information by calling the language model according to the first user input instruction; or

[0209] The processing unit is further configured to, in response to a triggering operation on the interrupt control, stop the current creation process and retain or cancel the generated target table.

[0210] According to one or more embodiments of the present disclosure, after the target table is presented in the table interface, the input unit is further used to display a preset operation instruction control for the target table in the interactive component, wherein the preset operation instruction control for the target table includes one or more of an adopt control, a retry control, and a abandon control;

[0211] The processing unit is further configured to complete the creation of the target table and exit the interactive component in response to a triggering operation on the adoption control; or

[0212] The processing unit is further configured to, in response to a triggering operation on the retry control, cancel the target form, and re-create a target form that meets the form creation requirement information by calling a language model according to the first user input instruction; or

[0213] In response to the triggering operation of the abandonment control, the target form is cancelled.

[0214] According to one or more embodiments of the present disclosure, the method further includes:

[0215] The input unit is further used to: in response to a trigger operation on other areas outside the interactive component, display first prompt information, wherein the first prompt information includes prompt information for adopting or abandoning the generated target table, or prompt information for interrupting the current creation process.

[0216] According to one or more embodiments of the present disclosure, the input unit is also used to display a second prompt message in the interactive component for any natural language-based user input instruction input into the input box control in the interactive component, if it is determined that the language model cannot process it, wherein the second prompt message is used to indicate that the user input instruction cannot be processed, or to prompt the user to input other instructions.

[0217] In a third aspect, according to one or more embodiments of the present disclosure, there is provided an electronic device, comprising: at least one processor and a memory;

[0218] The memory stores computer-executable instructions;

[0219] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the table creation method as described in the first aspect and various possible designs of the first aspect.

[0220] In a fourth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer execution instructions. When a processor executes the computer execution instructions, the table creation method described in the first aspect and various possible designs of the first aspect is implemented.

[0221] In a fifth aspect, according to one or more embodiments of the present disclosure, a computer program product is provided, comprising computer execution instructions. When a processor executes the computer execution instructions, the table creation method as described in the first aspect and various possible designs of the first aspect is implemented.

[0222] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0223] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0224] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, 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. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A table creation method, characterized in that: include: Receiving a first user input instruction through an interactive component in the table interface, wherein the first user input instruction includes table creation requirement information; According to the first user input instruction, calling the language model to create a target table that meets the table creation requirement information; The target table is presented in the table interface.

2. The method according to claim 1, characterized in that The step of calling a language model to create a target table that meets the table creation requirement information according to the first user input instruction includes: According to the first user input instruction, a preset template is used to generate model input data; Processing the model input data based on the language model to obtain target table data that meets the table creation requirement information; The target table data is parsed, and the target table is created in the table interface according to the parsing result.

3. The method according to claim 2, characterized in that The target table data includes one or more of the following: The target table includes the number of tables and the subject of each table, the field name in the table, the alternatives for at least one field, the sample data in the table, and the real data in the table.

4. The method according to claim 1, characterized in that: The receiving a first user input instruction through an interactive component in the table interface includes: Receiving natural language-based instruction content input into an input box control in the interactive component, and determining the instruction content as the first user input instruction; or In response to a triggering operation on a preset shortcut command control in the interactive component, determining that a preset shortcut command corresponding to the preset shortcut command control is the first user input command; or In response to a triggering operation on a preset shortcut command control in the interactive component, a preset prompt corpus is displayed in an input box control in the interactive component, and a natural language-based instruction content input by a user in the input box control in response to the preset prompt corpus is received, and the preset prompt corpus and the instruction content are determined as the first user input instruction; or Receive natural language-based instruction content input into an input box control in the interactive component, display a preset shortcut instruction control matching the instruction content in the interactive component, and in response to a triggering operation on the preset shortcut instruction control, determine that the preset shortcut instruction corresponding to the preset shortcut instruction control is the first user input instruction.

5. The method according to claim 1, characterized in that After presenting the target table in the table interface, the method further includes: Receiving a second user input instruction through the interactive component, wherein the second user input instruction includes field modification requirement information of the target table, and the field modification requirement information includes requirement information for modifying an existing field, deleting an existing field, or adding a new field; According to the second user input instruction, the language model is called to modify the field of the target table based on the field modification requirement information.

6. The method according to claim 1, characterized in that After presenting the target table in the table interface, the method further includes: Receiving a third user input instruction through the interactive component, wherein the third user input instruction includes data adding requirement information for the target table, and the data adding requirement information includes data to be added based on natural language; According to the third user input instruction, the language model is called to add the data information to be added to a row of the target table according to the fields.

7. The method according to claim 6, characterized in that The receiving a third user input instruction through the interaction component includes: In response to a triggering operation on any cell of any row in the target table, displaying a thumbnail identifier of the interactive component in the cell; In response to triggering the thumbnail mark, the interactive component is displayed, and a third user input instruction is received through the interactive component.

8. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In response to a triggering operation on a thumbnail identifier of the interactive component displayed at a preset position in the table interface, the interactive component is displayed.

9. The method according to any one of claims 1 to 7, characterized in that: In the process of calling the language model to create a target table that meets the table creation requirement information according to the first user input instruction, the process further includes: Displaying creation status prompt information and preset operation instruction controls for the current creation process in the interactive component, wherein the preset operation instruction controls for the creation process include a retry control and / or an interrupt control; In response to the triggering operation of the retry control, the current creation process is stopped, the generated target table is cancelled, and the language model is called again to create the target table that meets the table creation requirement information according to the first user input instruction; or In response to the triggering operation of the interrupt control, the current creation process is stopped, and the generated target table is retained or cancelled.

10. The method according to any one of claims 1 to 7, characterized in that: After presenting the target table in the table interface, the method further includes: Displaying a preset operation instruction control for the target table in the interactive component, wherein the preset operation instruction control for the target table includes one or more of an accept control, a retry control, and a give up control; In response to the triggering operation on the adoption control, completing the creation of the target table and exiting the interactive component; or In response to the triggering operation of the retry control, the target form is cancelled, and the language model is called again to create a target form that meets the form creation requirement information according to the first user input instruction; or In response to the triggering operation of the abandonment control, the target form is deleted.

11. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: In response to a trigger operation on other areas outside the interactive component, first prompt information is displayed, wherein the first prompt information includes prompt information for adopting or abandoning the generated target table, or prompt information for interrupting the current creation process.

12. The method according to claim 1, characterized in that The method further comprises: For any natural language-based user input instruction entered into the input box control in the interactive component, if it is determined that the language model cannot process it, a second prompt message is displayed in the interactive component, wherein the second prompt message is used to indicate that the user input instruction cannot be processed, or to prompt the user to enter other instructions.

13. A table creation device, characterized in that: include: An input unit, configured to receive a first user input instruction through an interactive component in the table interface, wherein the first user input instruction includes table creation requirement information; A processing unit, configured to call a language model to create a target table that meets the table creation requirement information according to the first user input instruction; A display unit is used to present the target table in the table interface.

14. An electronic device, characterized in that: include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method according to any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the method according to any one of claims 1 to 12 is implemented.

16. A computer program product, characterized in that The method comprises computer-executable instructions, and when a processor executes the computer-executable instructions, the method according to any one of claims 1 to 12 is implemented.

Citation Information

Patent Citations

  • Table generation method, apparatus and device, and storage medium

    CN110688829A

  • Information processing method and device, electronic equipment and storage medium

    CN115658656A

  • Table information extraction method, system and equipment based on compressed pre-training language model

    CN116701619A

  • Information creation method and apparatus, information sending method and apparatus, and storage medium

    US20180260372A1

  • Interaction information display methods and apparatus, and device

    WO2023216948A1