Methods, apparatuses, devices, media, and products for data generation

By receiving demand descriptions and utilizing Large Language Model (LLM) and atomic capabilities to generate data, the problem of low data generation efficiency and insufficient accuracy in existing technologies is solved, achieving efficient and user-compliant automated data generation.

CN123138779APending Publication Date: 2026-11-20BYTEDANCE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510656135.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-20
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing technologies suffer from low data generation efficiency. Data generated manually or through mocking methods is out of touch with actual needs and cannot cover all application scenarios, leading to high development costs and increased risk of defects.

Method used

By receiving the requirement description for generating data, the system determines the structured data that matches the requirement description based on the Large Language Model (LLM), calls atomic capabilities to generate data, and utilizes the collaborative work of the interaction layer, model layer, and execution layer to achieve automated data generation.

Benefits of technology

It improves the efficiency and accuracy of data generation, making the generated data better meet user needs, covering more application scenarios, and reducing development costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123138779A_ABST
    Figure CN123138779A_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method, apparatus, device, medium and product for data generation. The method comprises: receiving a requirement description for generating data to be analyzed; retrieving structured data matching the requirement description based on a vector representation of the requirement description; determining at least one atomic capability associated with the data to be analyzed using a large language model (LLM) based on the structured data, wherein the atomic capability represents a basic function for constructing the data to be analyzed; and in response to confirmation of parameters associated with the at least one atomic capability, invoking the at least one atomic capability to generate the data to be analyzed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and more specifically to methods, apparatus, computing devices, computer storage media, and computer program products for data generation. Background Technology

[0002] In today's large-scale internet business scenarios, data construction is a crucial step in ensuring product development, but it faces multiple complex challenges. Existing technologies generally rely on manual construction or extensive mocking to generate data, which is time-consuming, has low reusability, and incurs high development and maintenance costs. This accounts for a significant portion of the workload in the overall execution phase. Therefore, there is an urgent need for a new data generation method to improve the efficiency and quality of generated data, thereby better meeting the needs of software development. Summary of the Invention

[0003] In a first aspect of the embodiments of this disclosure, a method for data generation is provided. The method includes: receiving a requirement description for generating data to be analyzed; retrieving structured data matching the requirement description based on a vector representation of the requirement description; determining at least one atomic capability associated with the data to be analyzed using a Large Language Model (LLM) based on the structured data, wherein the atomic capability represents the basic functionality used to construct the data to be analyzed; and in response to confirmation of parameters associated with the at least one atomic capability, invoking the at least one atomic capability to generate the data to be analyzed.

[0004] In a second aspect of the embodiments of this disclosure, an apparatus for data generation is provided. The apparatus includes: a receiving unit configured to receive a requirement description for generating data to be analyzed; a retrieving unit configured to retrieve structured data matching the requirement description based on a vector representation of the requirement description; a determining unit configured to determine, based on the structured data, at least one atomic capability associated with the data to be analyzed using a Large Language Model (LLM), wherein the atomic capability represents basic functionality used to construct the data to be analyzed; and an invoking unit configured to invoke at least one atomic capability to generate the data to be analyzed in response to confirmation of parameters associated with at least one atomic capability.

[0005] In a third aspect of embodiments of this disclosure, an electronic device is provided. It includes: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the computing device to perform the method as described in the first aspect of this disclosure.

[0006] In a fourth aspect of embodiments of this disclosure, a non-transient computer storage medium is provided. It includes machine-executable instructions that, when executed by a device, cause the device to perform the method as described in the first aspect of this disclosure.

[0007] In a fifth aspect of embodiments of this disclosure, a computer program product is provided. It includes machine-executable instructions that, when executed by a device, cause the device to perform the method as described in the first aspect of this disclosure.

[0008] The summary section is provided to present the chosen concepts in a simplified form, which will be further described in the detailed description below. The summary section is not intended to identify key or principal features of the claimed subject matter, nor is it intended to limit the scope of the claimed subject matter. Attached Figure Description

[0009] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Wherein:

[0010] Figure 1 A schematic diagram of the structure of a system for data generation according to some embodiments of the present disclosure is shown;

[0011] Figure 2 A flowchart of a method for data generation according to some embodiments of the present disclosure is shown;

[0012] Figure 3 A signaling diagram of a method for data generation according to some embodiments of the present disclosure is shown;

[0013] Figure 4 A flowchart of a method for constructing a search engine according to some embodiments of the present disclosure is shown;

[0014] Figure 5 A flowchart is shown illustrating a method for generating a response to a requirement description according to some embodiments of the present disclosure;

[0015] Figure 6 A block diagram of an apparatus for data generation according to some embodiments of the present disclosure is shown; and

[0016] Figure 7 A block diagram of a device capable of implementing several embodiments of the present disclosure is shown.

[0017] In all the accompanying figures, the same or similar reference numerals denote the same or similar elements. Detailed Implementation

[0018] It is understood that all user-related data involved in this technical solution should be obtained and used only after authorization from the user. This means that if it is necessary to use a user's personal information in this technical solution, the user's explicit consent and authorization are required before obtaining this data; otherwise, no related data collection and use will be carried out. It should also be understood that when implementing this technical solution, relevant laws and regulations should be strictly followed in the process of data collection, use, and storage, and necessary technical measures should be taken to protect user data security and ensure the secure use of data.

[0019] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0020] For example, upon receiving a user's proactive request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.

[0021] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0022] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0023] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0024] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc., may refer to different or the same objects unless explicitly stated. Other explicit and implicit definitions may also be included below.

[0025] The inventors noted that existing data generation methods typically rely on manual processing or mocking. However, manually creating data or generating data using mocking methods is inefficient, and the data often suffers from insufficient accuracy and scenario coverage. For example, due to differences in individual experience, manually created or mock-generated data may not match the actual application scenarios of the application product, leading to a disconnect between data and actual needs. Furthermore, manually created or mock-generated data usually cannot cover all possible application scenarios, increasing the risk of missed bugs in the application product. Therefore, designing a new method for generating data is urgently needed.

[0026] To this end, this disclosure provides a method for data generation. In this method, a requirement description for generating data is received. The requirement description refers to a specific data construction request made by a user to the system via natural language, the core objective of which is to clearly express the user's intent and trigger the system to automatically generate the required response. Next, the system retrieves structured data matching the requirement description from a knowledge base based on the vector representation (Embeddings) of the requirement description. Based on the structured data, a Large Language Model (LLM) is used to determine at least one atomic capability associated with the data. In this document, atomic capabilities represent the basic functions used to construct the data, such as basic operations like creating an account or modifying user attributes. Structured data refers to data organized in a predefined format with clearly defined fields and types, typically described and managed using a fixed schema. In this document, structured data can be knowledge about atomic capabilities pre-stored in a knowledge base, including but not limited to capability owner, parameters, and limitations. Finally, in response to confirmation of the parameters associated with at least one atomic capability, at least one atomic capability is invoked to generate the data to be analyzed. For example, in the process of creating an account, the parameter could be, for example, the number of accounts to be created; in the process of modifying user attributes, the parameter could be, for example, the user's nationality, gender, age, etc. It should be understood that the above description of parameters is merely illustrative, and the types of parameters associated with atomic capabilities can include many more categories, which are not limited here. In this paper, the generated data may also be referred to as data to be analyzed, which can be used for any purpose, including but not limited to: test data for software testing purposes, training data for model training, etc.

[0027] This method leverages existing knowledge related to the requirement description to assist a large language model with semantic understanding in identifying atomic capabilities that match the requirement description. Data is then automatically generated based on these matching atomic capabilities, improving data generation efficiency and ensuring the generated data better meets user needs. Furthermore, the retrieval process allows the generated data to cover a wider range of application scenarios.

[0028] Figure 1 A schematic diagram of a system 100 for generating data according to some embodiments of the present disclosure is shown. For example... Figure 1 As shown, system 100 includes an interaction layer 102, a model layer 104, an execution layer 106, and a base 108. System 100 can be implemented by a single computing device or by a computing cluster.

[0029] In System 100, the interaction layer 102 provides chatbot dialogue services to users. The structure of interaction layer 102 includes dialogue management, command parsing management, user feedback management, and user data management. Dialogue management maintains the contextual logic of multi-turn dialogues, ensuring the chatbot can coherently understand user needs and dynamically adjust response strategies based on the current dialogue state. For example, dialogue management can record historical dialogue information (such as parameters already provided by the user) to avoid repeated questioning. Furthermore, dialogue management can define dialogue flows (such as "account creation → follower count modification → confirmation submission") to guide users in confirming their needs regarding the data to be generated. Command parsing management transforms users' natural language commands into structured operation commands, enabling precise matching of atomic capabilities or service interfaces within the system. User feedback management processes user responses to system outputs (such as confirmation, correction, and supplementary commands) in interaction layer 102 and transforms them into executable adjustment commands, driving iterative system optimization. User data management is the core module responsible for the full lifecycle management of user input data, covering the entire process control from data collection, verification, storage to secure transmission. Its core objective is to ensure efficient processing, secure compliance, and accurate transmission of user data.

[0030] Model layer 104 provides retrieval and generation services. It includes Retrieval Augmented Generation (RAG) and LLM. RAG is an AI framework that combines retrieval techniques with generative models, aiming to enhance the generative capabilities of language models by leveraging retrieval results from external knowledge bases or documents. Its core idea is to first retrieve relevant information from massive amounts of data when generating content (such as answering questions or generating text), and then input this information into the generative model, enabling the model to output based on the latest and most relevant knowledge. LLM is a deep learning-based AI model that, through training on massive amounts of text data (typically with billions to trillions of parameters), possesses powerful natural language understanding and generation capabilities. In some implementations, LLM can be used to implement agents to perform specific tasks.

[0031] The execution layer 106 can perform data generation tasks based on the user's response to the LLM-generated answer and the confirmation of parameters associated with the response. The execution layer 106 includes data synchronization, tool execution, and result verification. Data synchronization can utilize specific techniques (such as incremental updates, event-driven processes, and batch transfers) to transfer and update data between different platforms or modules, ensuring data consistency across multiple parties. Tool execution can invoke specific data construction tools or interfaces to generate data according to the response generated by the model layer 104 and the user's confirmation of parameters associated with atomic capabilities. Result verification can check the tools or data generation process invoked by the execution layer 106 to ensure that the generated data complies with relevant regulations and technical specifications.

[0032] Base 108 represents a unified technical infrastructure or platform. Its core function is to provide an efficient, reusable, and compliant support environment for complex business scenarios by integrating disparate toolchains, standardized data interaction processes, and coordinating atomic capabilities. Base 108 includes Tool Platform A, Tool Platform B, Tool Platform C, and more tool platforms. It should be understood that this disclosure does not limit the number of tool platforms; there may be more or fewer tool platforms. A tool platform refers to a series of independent but integrable software tools or services that focus on specific functions (such as data generation, compliance checks, and approval process management) and interface with the core system (such as Base 108) through standardized interfaces to jointly support the efficient operation of complex business scenarios. A tool platform can include multiple atomic capabilities. For example, atomic capabilities in tool platform A could include creating a type A account, activating live streaming permissions, and constructing a specified number of followers; atomic capabilities in tool platform B could include updating a user's historical follower count, constructing a specified number of followers, and constructing specified intimacy data; atomic capabilities in tool platform C could include constructing several type B accounts, activating live streaming permissions, and generating different types of content. It should be understood that a tool platform can include many more different types and numbers of atomic capabilities, which are not limited here.

[0033] In some embodiments, the interaction layer 102 may receive a requirement description for generating data, parse the requirement description, and generate a vector representation of the requirement description. The model layer 104 may use RAG to retrieve structured data matching the requirement description based on the vector representation of the requirement description. Based on the structured data, the model layer 104 may use LLM to determine at least one atomic capability associated with the data and return the at least one atomic capability associated with the data and its parameters to the interaction layer 102, where the parameters are used to construct the data. In response to user confirmation of the at least one atomic capability and its parameters, the execution layer 106 verifies the at least one atomic capability and its parameters to confirm that data can be generated. Then, based on the at least one atomic capability, the interface of the base 108 is invoked to determine the tool platform associated with the at least one atomic capability, and the corresponding at least one atomic capability is selected from the associated tool platform to generate the data.

[0034] It should be understood that the above description of the structure of the system used to generate data is merely an example. System 100 may include more or fewer layers and different layers may include more or fewer modules. For example, the interaction layer 102 may also include multilingual management, which is not limited here.

[0035] It should also be understood that the device used to generate data can be an electronic device with data processing capabilities, including but not limited to mobile phones, tablets, wearable devices, in-vehicle devices, augmented reality / virtual reality devices, laptops, super mobile personal computers, netbooks, personal digital assistants, Internet of Things devices, industrial terminals, desktop computers, servers, computing clusters, cloud computing centers, and various electronic devices with computing capabilities. This disclosure does not impose any restrictions on the specific type of electronic device.

[0036] Figure 2 A flowchart of a method 200 for generating data according to some embodiments of the present disclosure is shown. Method 200 may be performed by a device, for example.

[0037] like Figure 2 As shown, in box 202, a request description for generating data to be analyzed is received. In some embodiments, the device may use the interaction layer 102 to receive user input of a request description text about the data to be analyzed, such as "create an account for a user in country A with 1000 followers and send a system message".

[0038] In box 204, structured data matching the requirement description is retrieved based on its vector representation. Structured data refers to data organized in a predefined format with clearly defined fields and types, typically described and managed using a fixed schema. In some embodiments, the requirement vector, determined based on the requirement description "create an account in country A with 1000 followers and send a system message," comprises three sub-vectors: creating an account, modifying the number of followers, and sending a message. Based on these three sub-vectors, matching structured data is retrieved using RAG.

[0039] In some embodiments, descriptive information of multiple atomic capabilities is extracted from at least one tool platform of base 108, and the descriptive information of the multiple atomic capabilities is preprocessed to obtain structured data. Based on the obtained structured data, a vector representation of the structured data is generated for RAG retrieval. In some embodiments, based on the vector representation of the requirement description and the vector representation of the structured data, structured data similar to the requirement description can be determined.

[0040] In box 206, based on structured data, a Large Language Model (LLM) is used to determine at least one atomic capability associated with the data to be analyzed, where an atomic capability represents a basic function used to construct the data to be analyzed. In some embodiments, based on structured data similar to the requirement description, at least one atomic capability associated with the data to be analyzed is determined using LLM by using prompt words. In some embodiments, LLM may be integrated into an agent, which is provided with structured data, the requirement description, and prompt words, and the agent responds to or determines the atomic capabilities associated with the data to be analyzed.

[0041] In block 208, in response to confirmation of parameters associated with at least one atomic capability, at least one atomic capability is invoked to generate the data to be analyzed. For example, the agent notifies the user of the determined atomic capabilities through the interaction layer, allowing the user to confirm whether these atomic capabilities and their parameters truly match the requirements for constituting the data to be analyzed. In some embodiments, in response to confirmation of parameters associated with at least one atomic capability, a task for generating the data to be analyzed is determined. The task may be specified or associated with a tool platform that provides atomic capabilities that meet the user's needs; for example, the task's identifier (ID) may implicitly specify the tool platform. Then, at the execution layer, based on the task's identifier (ID), a tool platform for generating the data to be analyzed is determined from a plurality of tool platforms at base 108, and the determined tool platform (e.g., tool platform A) invokes at least one atomic capability to generate the data to be analyzed.

[0042] By implementing the above method, data related to the requirement description can be retrieved to determine at least one atomic capability. Data can then be automatically generated based on this atomic capability, improving the efficiency of data generation and ensuring that the generated data better meets user needs. Furthermore, the retrieval process allows the generated data to cover a wider range of application scenarios.

[0043] Figure 3 Signaling diagram 300 is shown as a method for generating data according to some embodiments of the present disclosure. Signaling diagram 300 can be executed, for example, by a device. Figure 3 This includes User 301, Interaction Layer 302, Model Layer 303, Execution Layer 304, Tool Platform A 305, and Tool Platform B 306. It should be understood that... Figure 3 It can be Figure 2 An exemplary implementation.

[0044] The device can obtain the user 302's requirement description. Based on the obtained requirement description, the interaction layer 302 can call the interface of the model layer 303 to perform RAG retrieval. Based on the vector representation of the user 302's requirement description, the interaction layer 302 performs RAG retrieval to determine the structured data that matches the vector representation of the requirement description. Based on the matching structured data, prompt words are assembled. For example, the prompt word template may include the role that the LLM is expected to play, the goal to be generated, relevant constraints, content output format, examples, and atomic capabilities, etc. Based on this prompt word template, prompt words are generated in combination with structured data. Based on the generated prompt words, the LLM is used to determine at least one atomic capability associated with the data. The model layer 303 returns the generated at least one atomic capability to the interaction layer 302 and displays it to the user 301 to request the user 301's confirmation. The user 301 confirms the generated at least one atomic capability and the parameters associated with that atomic capability. For example, when the atomic capability is "construct number of followers", the parameter can be a quantity, such as 5000. In response to user 301's confirmation, model layer 303 confirms the start of data generation and returns the necessary data generation information to interaction layer 302.

[0045] The interaction layer 302 extracts confirmation information and information returned by the model layer 303, and calls the execution layer 304 to generate data. The execution layer 304 confirms the completeness of parameters associated with at least one atomic capability. When the parameters are complete, if at least one atomic capability is located on tool platform A 305, the execution layer 304 calls tool platform A 305 to obtain the at least one atomic capability; if at least one atomic capability is located on tool platform B 306, the execution layer 304 calls tool platform B 306 to obtain the at least one atomic capability; if at least one atomic capability is located on both tool platform A 305 and tool platform B 306, the execution layer 304 obtains the relevant at least one atomic capability from both tool platform A 305 and tool platform B 306 respectively. Data is constructed based on the obtained at least one atomic capability, and the execution result of each atomic capability is verified. If the execution result of each atomic capability passes verification, the data is returned to the user 301. If the execution result of at least one atomic capability fails verification, an error message is returned to the user 301. By implementing the above method, relevant data can be automatically generated based on the user's requirement description. Users only need to describe their requirements to obtain data related to those requirements, thus improving the efficiency of data generation.

[0046] It should be understood that the above description of the execution layer calling a tool platform is merely an example. The execution layer can call one or more tool platforms, and the number of tool platforms is not limited. Figure 3 The two in the word can include more or fewer, and there is no limit here.

[0047] Figure 4 A flowchart of a method 400 for constructing a retriever according to some embodiments of the present disclosure is shown. Method 400 may be performed, for example, by a device. It should be understood that... Figure 4 Can be used for Figure 3 The process of building a search engine for RAG search.

[0048] like Figure 4 As shown, the device can extract descriptive information of multiple atomic capabilities included in at least one tool platform from the atomic capability information database 401. For example, it can extract descriptive information of multiple atomic capabilities from tool platform A 402, tool platform B 403, and tool platform X 404. The extracted descriptive information of multiple atomic capabilities is preprocessed to generate a tool content structure. Based on the generated tool content structure, structural processing is performed on each tool content, such as data cleaning to ensure structured output, generating a standardized content structure 406 and storing it. LLM is invoked to establish an embedding for the standardized content structure 406, i.e., the structured data, generating a vector representation of the structured data.

[0049] In some embodiments, the user's requirement description is preprocessed to obtain a vector representation of the requirement description. For example, user information in the requirement description may be anonymized, a blacklist policy may be implemented to manage the requirement description, determining whether blacklisted content exists and removing any non-compliant content. Confused terms in the requirement description may also be replaced, and questions in the requirement description may be converted into standardized questions. It should be understood that the above preprocessing of requirement descriptions is merely an example, and the methods for preprocessing requirement descriptions may include more or fewer types, which are not limited here.

[0050] In some embodiments, based on the similarity between the vector representation generated by the standardized content structure 406 and the vector representation of the requirement description, historical requirement descriptions similar to the requirement description in the knowledge base are determined. The knowledge base is a database used to store, manage, and retrieve structured knowledge. Its content is organized according to a predefined pattern, supports efficient querying and dynamic updates, and the stored content includes, but is not limited to, historical requirement descriptions, atomic capability description information, compliance policies, data templates, and other information.

[0051] Figure 5 A flowchart is shown of a method 500 for generating a response to a requirement description, according to some embodiments of the present disclosure. Method 500 may be performed, for example, by a device. It should be understood that... Figure 5 It can be Figure 2 An exemplary implementation of middle frame 204 and frame 206.

[0052] In box 501, similar requests are retrieved from the historical question-and-answer database, which stores historical request descriptions and answers to those descriptions. In box 502, it is determined whether there are historical request descriptions exceeding a threshold X (i.e., the first threshold). If yes, proceed to box 503 to return the answer associated with the request with the shortest vector distance; otherwise, proceed to box 504 to retrieve content from the knowledge base whose vector distance exceeds a threshold Y (i.e., the second threshold), and determine whether there is knowledge content exceeding threshold Y. If no, proceed to box 506 to determine that there is no relevant content in the knowledge base and the user's request description cannot be answered; if yes, proceed to box 507 to sort the structured data retrieved from the knowledge base, including atomic capability information. In box 508, prompts are assembled based on the sorted structured data. In box 509, based on the assembled prompts, an LLM is invoked to generate an answer, where the answer represents at least one atomic capability associated with the data.

[0053] In some embodiments, the LLM-generated answers are optimized to obtain responses that address the requirements description, and these responses are stored in a historical question-and-answer database for future RAG retrieval.

[0054] The above is for reference only. Figures 1 to 5 The described exemplary embodiments provide a method for generating data. Compared to existing technologies, its advantages lie in the ability to determine matching atomic capabilities by retrieving data related to the requirement description constituting the data, and to automatically generate data based on the matching atomic capabilities, thereby improving the efficiency of data generation and enabling the generated data to better meet user needs. Furthermore, retrieval-enhanced generation (RAG) based on a knowledge base allows the generated data to cover a wider range of application scenarios.

[0055] Figure 6 A block diagram of an apparatus 600 for generating data according to some embodiments of the present disclosure is shown. As shown in FIG600, the apparatus 600 includes a receiving unit 602 configured to receive a requirement description for generating data to be analyzed. The apparatus 600 also includes a retrieval unit 604 configured to retrieve structured data matching the requirement description based on a vector representation of the requirement description. The apparatus 600 further includes a determining unit 606 configured to determine, based on the structured data, at least one atomic capability associated with the data to be analyzed using a Large Language Model (LLM), wherein the atomic capability represents the basic functionality used to construct the data to be analyzed. The apparatus 600 also includes a calling unit 608 configured to call at least one atomic capability to generate the data to be analyzed in response to confirmation of parameters associated with at least one atomic capability.

[0056] In some embodiments, the apparatus 600 may also be configured to: extract descriptive information of multiple atomic capabilities from at least one tool platform; preprocess the descriptive information to obtain structured data; and generate a vector representation of the structured data for semantic retrieval.

[0057] In some embodiments, the retrieval unit 604 may also be configured to: preprocess the requirement description to obtain a vector representation of the requirement description; and determine historical requirement descriptions in the knowledge base that are similar to the requirement description based on the vector representation of the structured data and the vector representation of the requirement description.

[0058] In some embodiments, the apparatus 600 may also be configured to: recall historical requests from a historical question-and-answer database that have a similarity to the request description greater than or equal to a first threshold; and determine an answer to the request description based on the historical requests.

[0059] In some embodiments, the apparatus 600 may also be configured to: determine whether there is atomic capability information in the knowledge base whose distance from the vector representation of the requirement description is greater than or equal to a second threshold if there is no historical requirement in the knowledge base that has a similarity to the requirement description greater than or equal to a first threshold; determine that an answer to the requirement description cannot be generated if there is no atomic capability information whose distance is greater than or equal to the second threshold; or retrieve structured data of the atomic capability information if there is atomic capability information whose distance is greater than or equal to the second threshold.

[0060] In some embodiments, the apparatus 600 may also be configured to: generate a cue word based on sorted atomic capability information; and, based on the cue word, use LLM to determine at least one atomic capability associated with the data to be analyzed.

[0061] In some embodiments, the apparatus 600 may also be configured to: optimize the content generated by the LLM to obtain an answer to the requirement description, wherein the content includes at least one atomic capability; and store the answer to the requirement description in a historical question-and-answer database.

[0062] In some embodiments, the calling unit 608 may also be configured to: verify the integrity of the parameters of at least one atomic capability; and, after the integrity verification is passed, call at least one atomic capability to generate the data to be analyzed.

[0063] In some embodiments, the invocation unit 608 may also be configured to: determine a task for generating data to be analyzed in response to confirmation of parameters associated with at least one atomic capability; determine a tool platform for generating data to be analyzed from a plurality of tool platforms based on the task identifier; and have the tool platform invoke at least one atomic capability to generate data to be analyzed.

[0064] In some embodiments, the apparatus 600 may also be configured to: verify the execution result of at least one atomic capability; and, if the execution result passes verification, return the data to be analyzed.

[0065] Figure 6 A block diagram of a device 700 capable of implementing various embodiments of the present disclosure is shown. (See diagram for example.) Figure 7 As shown, device 700 includes a computing unit 701, which may be a central processing unit (CPU) and / or a graphics processing unit (GPU). The computing unit 701 can execute various appropriate actions and processes based on computer program instructions stored in read-only memory (ROM) 702 or loaded from storage unit 708 into random access memory (RAM) 703. The RAM 703 may also store various programs and data required for the operation of device 700. The computing unit 701, ROM 702, and RAM 703 are interconnected via bus 704. An input / output (I / O) interface 705 is also connected to bus 704. Although not shown in... Figure 7 As shown, device 700 may also include a coprocessor.

[0066] Multiple components in device 700 are connected to I / O interface 705, including: input unit 706, such as keyboard, mouse, etc.; output unit 707, such as various types of monitors, speakers, etc.; storage unit 708, such as disk, optical disk, etc.; and communication unit 709, such as network card, modem, wireless transceiver, etc. Communication unit 709 allows device 700 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0067] The various methods or processes described above can be executed by computing unit 701. For example, in some embodiments, the methods can be implemented as computer software programs tangibly contained in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program can be loaded and / or installed on device 700 via ROM 702 and / or communication unit 709. When the computer program is loaded into RAM 703 and executed by computing unit 701, one or more steps or actions of the methods or processes described above can be performed.

[0068] In some embodiments, the methods and processes described above can be implemented as a computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for performing various aspects of this disclosure.

[0069] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example, but not limited to, electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination thereof. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

[0070] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, a local area network (LAN), a wide area network (WAN), and / or a wireless network, to an external computer or external storage device. The network may include copper cables, fiber optic cables, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.

[0071] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​and conventional procedural programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving 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). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions to implement various aspects of this disclosure.

[0072] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / poses specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / poses specified in one or more blocks of the flowchart and / or block diagram.

[0073] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to achieve the functions / poses specified in one or more boxes of a flowchart and / or block diagram.

[0074] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of devices, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0075] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical applications, or technical improvements to the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A method for data generation, comprising: Receive the requirement description for generating data to be analyzed; Based on the vector representation of the requirement description, retrieve structured data that matches the requirement description; Based on the structured data, a Large Language Model (LLM) is used to determine at least one atomic capability associated with the data to be analyzed, wherein the atomic capability represents the basic functionality used to construct the data to be analyzed; and In response to confirmation of a parameter associated with the at least one atomic capability, the at least one atomic capability is invoked to generate the data to be analyzed.

2. The method according to claim 1, further comprising: Extract descriptive information of multiple atomic capabilities from at least one tool platform; Preprocess the description information to obtain the structured data; as well as Generate a vector representation of the structured data for semantic retrieval.

3. The method according to claim 1, wherein, Retrieving structured data that matches the requirement description includes: Preprocess the requirement description to obtain a vector representation of the requirement description; and Based on the vector representation of the structured data and the vector representation of the requirement description, historical requirement descriptions in the knowledge base that are similar to the requirement description are identified.

4. The method according to claim 1, further comprising: Retrieve historical requests from the historical question-and-answer database that have a similarity to the described request that is greater than or equal to a first threshold. as well as The response to the described requirement is determined based on the historical requirements.

5. The method according to claim 4, further comprising: If there are no historical requirements in the knowledge base that have a similarity to the requirement description greater than or equal to the first threshold, determine whether there is atomic capability information in the knowledge base that has a distance to the vector representation of the requirement description greater than or equal to the second threshold. In the absence of atomic capability information with a distance greater than or equal to the second threshold, it is determined that an answer to the requirement description cannot be generated; or If there is atomic capability information with a distance greater than or equal to the second threshold, the structured data of the atomic capability information is retrieved.

6. The method according to claim 5, wherein, At least one atomic capability associated with generating the data to be analyzed using a large language model includes: Based on the sorted atomic capability information, generate prompt words; and Based on the cue words, LLM is used to determine the at least one atomic capability associated with the data to be analyzed.

7. The method according to claim 6, wherein, At least one atomic capability associated with generating the data to be analyzed using a large language model includes: Optimize the content generated by the LLM to obtain a response to the stated requirements description, wherein the content includes the at least one atomic capability; and The answers to the described requirements are stored in the historical question and answer database.

8. The method according to claim 1, wherein, Invoking at least one atomic capability to generate the data to be analyzed includes: Verify the integrity of the parameters of the at least one atomic capability; and After the integrity verification is passed, the at least one atomic capability is invoked to generate the data to be analyzed.

9. The method according to claim 1, wherein, Invoking at least one atomic capability to generate the data to be analyzed includes: In response to confirmation of the parameters associated with the at least one atomic capability, a task is determined to generate the data to be analyzed; Based on the task identifier, a tool platform for generating the data to be analyzed is determined from multiple tool platforms; and The tool platform invokes at least one atomic capability to generate the data to be analyzed.

10. The method according to claim 9, further comprising: Verify the execution result of at least one atomic capability; as well as If the execution result passes verification, the data to be analyzed is returned.

11. An apparatus for data generation, comprising: The receiving unit is configured to receive the requirement description for generating data to be analyzed. The retrieval unit is configured to retrieve structured data that matches the requirement description based on the vector representation of the requirement description; The determining unit is configured to determine, based on the structured data, at least one atomic capability associated with the data to be analyzed using a Large Language Model (LLM), wherein the atomic capability represents the basic functionality used to construct the data to be analyzed; as well as The invocation unit is configured to invoke the at least one atomic capability to generate the data to be analyzed in response to confirmation of a parameter associated with the at least one atomic capability.

12. An electronic device, comprising: processor; as well as A memory coupled to the processor, the memory having instructions stored therein, which, when executed by the processor, cause the electronic device to perform the method according to any one of claims 1-10.

13. A computer-readable storage medium having stored thereon computer-executable instructions, wherein the computer-executable instructions are executed by a processor to implement the method according to any one of claims 1-10.