Knowledge extraction method and device based on large model agent, equipment and medium

Through the knowledge extraction method based on large model agents, using the SMART method and natural language processing technology, the accuracy and automation problems of knowledge extraction in the existing technology are solved, a structured knowledge collection is generated, and the accuracy and automation of knowledge extraction are improved. Degree of automation.

CN118674032AInactive Publication Date: 2024-09-20XIAMEN YUANTING INFORMATION TECH CO LTD

Patent Information

Application Number
CN202411155834.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-09-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing knowledge extraction methods show significant limitations when processing complex and diverse natural language texts, are difficult to accurately extract high-quality knowledge, and lack methods to effectively integrate this knowledge into knowledge graphs. Traditional data collection methods The degree of automation is not high, it is time-consuming and labor-intensive, and it is difficult to ensure the comprehensiveness and accuracy of data.

Method used

Adopt a knowledge extraction method based on large model agents, determine task goals and decompose them through the SMART method, combine natural language processing technology to extract key information, and proceed based on the principles of specificity, measurability, achievability, relevance and timeliness. Verify and generate an initial knowledge set to ensure clear task goals and quantified sub-goals, reduce the workload of manual information extraction, and improve the accuracy of knowledge extraction.

Benefits of technology

The SMART method ensures that task goals are clear and specific. Natural language processing technology reduces the workload of manually extracting information, integrates key information into a structured initial knowledge collection, provides a data basis for further analysis and decision-making, and improves the accuracy of knowledge extraction. and degree of automation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118674032A
    Figure CN118674032A
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent decision making, and discloses a knowledge extraction method and device based on a large model agent, equipment and a medium, the method comprises the following steps: determining a task target through an SMART method, and decomposing the task target to generate at least one task sub-target; extracting key information of the task sub-targets through a natural language processing technology, and integrating the key information to generate an initial knowledge set; and verifying the initial knowledge set, and determining the verified initial knowledge set as a target knowledge set. By means of the mode, it is ensured that the task target is clear and specific through the SMART method, the workload of manually extracting information is reduced through application of the natural language processing technology, the extracted key information is integrated into the initial knowledge set, a structured data basis is provided for further analysis and decision making, and the accuracy of knowledge extraction is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent decision-making technology, and in particular to a knowledge extraction method, device, equipment and medium based on a large model intelligent agent. Background Art

[0002] Existing knowledge extraction methods usually rely on rules and shallow machine learning models, which show significant limitations when dealing with complex and diverse natural language texts. Existing technologies have difficulty accurately extracting high-quality knowledge from unstructured texts, and lack methods to effectively integrate this knowledge into knowledge graphs. In addition, traditional data collection methods are not highly automated, and usually require manual use of search engines to search for target websites with keywords, organize target data source websites, analyze website pages, write collection rules, and manually observe and adjust collection rules and codes after acquiring data. This method is time-consuming and labor-intensive, and it is difficult to ensure the comprehensiveness and accuracy of the data. Therefore, how to improve the accuracy of extracted knowledge has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] The present application provides a knowledge extraction method, device, equipment and medium based on a large model intelligent agent to improve the accuracy of extracted knowledge.

[0004] In a first aspect, the present application provides a knowledge extraction method based on a large model agent, the method comprising: Determine the task goal through the SMART method, and decompose the task goal to generate at least one task sub-goal, wherein the SMART method includes the principles of specificity, measurability, achievability, relevance, and timeliness; Extracting key information of each of the task sub-goals through natural language processing technology, and integrating the key information to generate an initial knowledge set; Based on the specificity principle, the measurability principle, the achievability principle, the relevance principle and the time limit principle, each of the initial knowledge sets is verified, and the initial knowledge set that passes the verification is determined as the target knowledge set.

[0005] Furthermore, the SMART method was used to determine the mission objectives, including: Receive a task target extraction instruction; A target text is obtained, and based on a preset task text library and the target text, a task objective in the target text is determined.

[0006] Furthermore, the task objective is decomposed to generate at least one task sub-objective, including: Using the preset task text corresponding to the task target as the task target text; Decomposing the task target text to generate at least one target text segment; At least one of the task sub-goals is generated according to each of the target text segments and the preset task text library.

[0007] Furthermore, the key information of each of the task sub-goals is extracted through natural language processing technology, including: Determine the keywords of each of the task sub-goals by using the NLP technology; The association relationship between the keywords is determined by a syntax analysis tool, and the key information of each task sub-goal is determined based on a predefined template and the association relationship.

[0008] Furthermore, the key information is integrated to generate an initial knowledge set, including: Based on the preset logical relationship, semantic connection and the association relationship, each of the key information is integrated to generate a structured initial knowledge set.

[0009] Furthermore, the task goal is determined by the SMART method, and the task goal is decomposed to generate at least one task sub-goal, wherein the SMART method includes the principles of specificity, measurability, achievability, relevance and timeliness, and includes: Collecting data sources in at least one knowledge field and preprocessing each of the data sources; According to the preset task target list and the preprocessed data sources, the task target corresponding to each data source is determined.

[0010] In a second aspect, the present application further provides a knowledge extraction device based on a large model agent, the device comprising: A task sub-goal generation module, used to determine the task goal through the SMART method, and decompose the task goal to generate at least one task sub-goal, wherein the SMART method includes the principle of specificity, the principle of measurability, the principle of achievability, the principle of relevance and the principle of time limit; An initial knowledge set generation module is used to extract key information of each of the task sub-goals through natural language processing technology, and integrate each of the key information to generate an initial knowledge set; The target knowledge set determination module is used to verify each of the initial knowledge sets based on the specificity principle, the measurability principle, the achievability principle, the relevance principle and the time limit principle, and determine the initial knowledge set that passes the verification as the target knowledge set.

[0011] In a third aspect, the present application also provides a computer device, comprising a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program and implement the knowledge extraction method based on a large model intelligent agent as described above when executing the computer program.

[0012] In a fourth aspect, the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor implements the knowledge extraction method based on the large model intelligent agent as described above.

[0013] The present application discloses a knowledge extraction method, device, equipment and medium based on a large model intelligent agent, wherein the knowledge extraction method based on a large model intelligent agent includes determining a task goal through a SMART method, and decomposing the task goal to generate at least one task sub-goal, wherein the SMART method includes the principle of specificity, the principle of measurability, the principle of achievability, the principle of relevance and the principle of time limit; extracting the key information of each task sub-goal through natural language processing technology, and integrating each key information to generate an initial knowledge set; respectively based on the principle of specificity, the principle of measurability, the principle of achievability, the principle of relevance and the principle of time limit, verifying each initial knowledge set, and determining the initial knowledge set that passes the verification as the target knowledge set. In the above manner, the present application ensures that the task goal is clear and specific through the SMART method, and through measurability, the task goal and sub-goal can be quantified, so that the progress and effect can be tracked and evaluated, and the application of natural language processing technology reduces the workload of manually extracting information, integrates the extracted key information into an initial knowledge set, provides a structured data basis for further analysis and decision-making, and improves the accuracy of extracted knowledge. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0015] Figure 1 is a schematic flow chart of a knowledge extraction method based on a large model agent provided in the first embodiment of the present application; Figure 2 is a schematic flow chart of a knowledge extraction method based on a large model agent provided in the second embodiment of the present application; Figure 3A schematic block diagram of a knowledge extraction device based on a large model agent provided in an embodiment of the present application; Figure 4 A schematic block diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0016] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0017] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0018] It should be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0019] It should also be understood that the term “and / or” used in the specification and appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0020] The embodiments of the present application provide a knowledge extraction method, device, equipment and medium based on a large model intelligent agent. Among them, the knowledge extraction method based on a large model intelligent agent can be applied to a server, and the SMART method is used to ensure that the task objectives are clear and specific. Through measurability, the task objectives and sub-goals can be quantified, so that the progress and effects can be tracked and evaluated. The application of natural language processing technology reduces the workload of manual information extraction, integrates the extracted key information into an initial knowledge set, and provides a structured data basis for further analysis and decision-making, thereby improving the accuracy of extracted knowledge. Among them, the server can be an independent server or a server cluster.

[0021] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0022] See also Figure 1 , Figure 1 This is a schematic flow chart of a knowledge extraction method based on a large model agent provided by the first embodiment of the present application. The knowledge extraction method based on a large model agent can be applied to a server to ensure that the task objectives are clear and specific through the SMART method. Through measurability, the task objectives and sub-objectives can be quantified so that the progress and effects can be tracked and evaluated. The application of natural language processing technology reduces the workload of manual information extraction, integrates the extracted key information into an initial knowledge set, provides a structured data basis for further analysis and decision-making, and improves the accuracy of extracted knowledge.

[0023] like Figure 1 As shown, the knowledge extraction method based on the large model agent specifically includes steps S10 to S30.

[0024] Step S10, determining the task goal by the SMART method, and decomposing the task goal to generate at least one task sub-goal, wherein the SMART method includes the principles of specificity, measurability, achievability, relevance, and timeliness; In a specific embodiment, determining the task objectives by the SMART method includes the following aspects: 1. Define data structure and format: Use Schema technology (such as XML Schema, JSON Schema, RDF Schema) to define data structure and ensure data consistency and accuracy.

[0025] 2. Automated verification tools: Use automated tools for data validation to ensure that data conforms to predefined structures and formats.

[0026] 3. Collaboration with Agents: The intelligent agent uses Schema technology to define, verify and automatically generate ontology structures to ensure the comprehensiveness and accuracy of the design.

[0027] Step S20: extracting key information of each of the task sub-goals through natural language processing technology, and integrating the key information to generate an initial knowledge set; Specifically, the generation of the initial knowledge set includes the following aspects: 1. Information gathering agent: Collect information from various data sources, pre-process and store it.

[0028] 2. Entity Recognition Agent: Use natural language processing techniques to identify and extract key entities in text.

[0029] 3. Information integration agent: Integrate information from different sources to ensure data consistency and integrity.

[0030] 4. Data Verification Agent: The extracted information is verified to ensure its accuracy and reliability.

[0031] 5. Result Evaluation Agent: Evaluate the overall task completion, measure the agent's performance and make suggestions for improvement.

[0032] Step S30, verifying each of the initial knowledge sets based on the specificity principle, the measurability principle, the achievability principle, the relevance principle and the time limit principle, and determining the initial knowledge set that passes the verification as the target knowledge set.

[0033] In one embodiment, the current knowledge extraction method has the following drawbacks: 1. Search and select data sources Diversity and distribution: Relevant knowledge may be distributed in multiple data sources, including Wikipedia, databases, news websites, etc., and finding suitable data sources is challenging.

[0034] Authority and reliability: The quality of information from different data sources varies, and its authority and reliability are difficult to guarantee.

[0035] 2. Quickly locate specific pages Complex page structure: The page hierarchy is deep, and related information may be scattered in different subpages or links.

[0036] Large number of pages: The large number of pages that need to be processed makes it infeasible to manually find and locate them one by one.

[0037] Lack of unified index: Without a unified index or directory, it is difficult to quickly find pages in a specific category.

[0038] 3. Data coverage and comprehensiveness Comprehensiveness: It is necessary to ensure that the collected data covers all major categories and important information.

[0039] Data volume assessment and control: The inability to accurately assess the actual stock of different categories of data in advance may result in incomplete or excessive data collection.

[0040] Dynamic update: The data source content is constantly updated, and the timeliness and dynamism of the data must be ensured.

[0041] 4. Uncertainty of data inventory Difficulty of exploration: Similar to prospecting, powerful detection technology is required to determine the actual scale of the reserves.

[0042] Unknown data: There may be a large amount of unrecorded or unpublished data that is difficult to incorporate into the knowledge system.

[0043] 5. Insufficient data collection automation Manual intervention: Traditional data collection requires manual use of search engines to search for target websites with keywords, organize target data source websites, and then manually analyze website pages and write collection rules.

[0044] Rule adjustment: After obtaining the data, it is necessary to manually observe the sampling data and adjust the collection rules, codes, etc.

[0045] Inefficiency: This method is time-consuming and labor-intensive, and it is difficult to ensure the comprehensiveness and accuracy of the data.

[0046] 6. Unification of data types and formats Diversity: The data types and formats in different data sources are diverse, including text, tables, images, etc.

[0047] Inconsistent units and formats: Data from different sources may use different descriptions and units, making them difficult to compare and integrate directly.

[0048] Difficulty of standardization: Data needs to be cleaned and converted to ensure consistency and availability.

[0049] 7. Entity Recognition and Disambiguation Polysemy and ambiguity: The same name may refer to different entities, or the same entity may have multiple names (homophones, synonyms).

[0050] Context dependency: Entity recognition and disambiguation rely on contextual information, but the contextual information may be incomplete or missing.

[0051] Data source heterogeneity: Different data sources describe the same entity in different ways and details, which increases the complexity of disambiguation.

[0052] 8. Multilingual Processing and Cross-Language Alignment Description differences: The way and details of expressing the same entity in different languages ​​may vary greatly, which increases the difficulty of alignment.

[0053] Richness of language resources: There are many languages ​​that need to be processed, and some language resources are relatively scarce.

[0054] Consistency: Ensure that multilingual data remains consistent and complete during the integration process.

[0055] Specifically, this embodiment includes the following specific steps: 1. Data collection and preprocessing: Collect data from multiple data sources and format and validate it using Schema technology.

[0056] 2. Knowledge extraction and verification: The knowledge extraction agent extracts key information from the data, and the verification agent verifies and supplements the extraction results.

[0057] 3. Ontology construction and verification: Schema technology is used to construct and verify the ontology structure to ensure the standardization and consistency of the knowledge system.

[0058] 4.Continuous update and optimization: The agent regularly obtains the latest information from data sources, updates the knowledge base, and optimizes based on the feedback.

[0059] The present embodiment discloses a knowledge extraction method, device, equipment and medium based on a large model intelligent agent, wherein the knowledge extraction method based on a large model intelligent agent includes determining a task goal through a SMART method, and decomposing the task goal to generate at least one task sub-goal, wherein the SMART method includes the principle of specificity, the principle of measurability, the principle of achievability, the principle of relevance and the principle of time limit; extracting the key information of each of the task sub-goals through natural language processing technology, and integrating each of the key information to generate an initial knowledge set; verifying each of the initial knowledge sets based on the principle of specificity, the principle of measurability, the principle of achievability, the principle of relevance and the principle of time limit, and determining the initial knowledge set that passes the verification as the target knowledge set. In the above manner, the present application ensures that the task goal is clear and specific through the SMART method, and through measurability, the task goal and sub-goal can be quantified, so that the progress and effect can be tracked and evaluated, and the application of natural language processing technology reduces the workload of manually extracting information, integrates the extracted key information into an initial knowledge set, provides a structured data basis for further analysis and decision-making, and improves the accuracy of extracted knowledge.

[0060] based on Figure 1 In the embodiment shown, in this embodiment, step S10 includes: Receive a task target extraction instruction; A target text is obtained, and based on a preset task text library and the target text, a task objective in the target text is determined.

[0061] See also Figure 2 , Figure 2This is a schematic flow chart of a knowledge extraction method based on a large model agent provided in the second embodiment of the present application. The knowledge extraction method based on a large model agent can be applied to a server to ensure that the task objectives are clear and specific through the SMART method. Through measurability, the task objectives and sub-objectives can be quantified so that the progress and effects can be tracked and evaluated. The application of natural language processing technology reduces the workload of manual information extraction, integrates the extracted key information into an initial knowledge set, provides a structured data basis for further analysis and decision-making, and improves the accuracy of extracted knowledge.

[0062] based on Figure 1 The embodiment shown, this embodiment Figure 2 As shown, step S10 includes steps S101 to S103.

[0063] Step S101, using the preset task text corresponding to the task target as the task target text; Step S102, decomposing the task target text to generate at least one target text segment; Step S103: Generate at least one of the task sub-goals according to each of the target text segments and the preset task text library.

[0064] In one embodiment, the steps of aligning the task objectives according to the SMART method to obtain the task sub-objectives are as follows: 1. Specific goal setting (Specific): For knowledge extraction tasks, set clear goals.

[0065] 2. Decomposition and allocation of goals (Measurable): The large goal is broken down into quantifiable sub-goals and assigned to different agent modules, such as text preprocessing, entity recognition, and geographic information processing modules.

[0066] 3. Make sure the goal is achievable: Based on the capabilities and resources of the intelligent agent, ensure that the goal is feasible under current technical conditions, such as using natural language processing technology to achieve high-accuracy entity recognition.

[0067] 4. Relevant: 5. Time-bound: Set clear deadlines, such as processing 10 relevant reports within 24 hours per day, and conduct weekly task evaluations.

[0068] The present embodiment discloses a knowledge extraction method, apparatus, device and medium based on a large model intelligent agent. The knowledge extraction method based on a large model intelligent agent includes receiving a task target extraction instruction; obtaining a target text, determining the task target in the target text based on a preset task text library and the target text, and using the preset task text corresponding to the task target as the task target text; decomposing the task target text to generate at least one target text segment; generating at least one task sub-target according to each target text segment and the preset task text library; extracting key information of each task sub-target through natural language processing technology, and integrating each key information to generate an initial knowledge set; verifying each initial knowledge set based on the specificity principle, the measurability principle, the achievability principle, the relevance principle and the time limit principle, and determining the initial knowledge set that passes the verification as the target knowledge set. Through the above methods, this application ensures that the task objectives are clear and specific through the SMART method. Through measurability, the task objectives and sub-goals can be quantified so that the progress and effects can be tracked and evaluated. The application of natural language processing technology reduces the workload of manual information extraction and integrates the extracted key information into an initial knowledge set, providing a structured data foundation for further analysis and decision-making, and improving the accuracy of extracted knowledge.

[0069] In one embodiment, the initial knowledge set is verified according to the SMART method, and the following rules must be followed: 1. Specific goal setting (Specific): 2. Decomposition and allocation of goals (Measurable): The large goal is broken down into quantifiable sub-goals and assigned to different agent modules, such as text preprocessing, entity recognition, and geographic information processing modules.

[0070] 3. Make sure the goal is achievable: Based on the capabilities and resources of the intelligent agent, ensure that the goal is feasible under current technical conditions, such as using natural language processing technology to achieve high-accuracy entity recognition.

[0071] 4. Relevant: 5. Time-bound: Set clear deadlines, such as processing 10 reports within 24 hours per day, and conduct weekly task evaluations.

[0072] based on Figure 1 In the embodiment shown, in this embodiment, step S20 includes: Determine the keywords of each of the task sub-goals by using the NLP technology; The association relationship between the keywords is determined by a syntax analysis tool, and the key information of each task sub-goal is determined based on a predefined template and the association relationship.

[0073] In a more preferred embodiment, each of the key information is integrated to generate an initial knowledge set, including: Based on the preset logical relationship, semantic connection and the association relationship, each of the key information is integrated to generate a structured initial knowledge set.

[0074] Based on any of the above embodiments, in this embodiment, before step S10, the following steps are included: Collecting data sources in at least one knowledge field and preprocessing each of the data sources; According to the preset task target list and the preprocessed data sources, the task target corresponding to each data source is determined.

[0075] In combination with the above embodiments, the advantages of this embodiment are: 1. Problems in finding and selecting data sources: Innovation: Multi-role agents conduct divergent thinking: different agent roles work together to collect information from multiple data sources (such as Wikipedia, databases, news websites, etc.).

[0076] Solution: The information collection agent is responsible for scanning and evaluating the authority and reliability of multiple data sources to ensure the selection of high-quality data sources.

[0077] Leverage the broad knowledge coverage of the big model to quickly identify and recommend potential data sources covering relevant information on a global scale.

[0078] 2. Quickly locate the problem of specific pages: Innovation: Agent goal alignment: Adopt the SMART approach: set clear task goals and break down subtasks to improve the operability of tasks.

[0079] Multi-role agents conduct divergent thinking: agents work together to quickly locate and process the target page.

[0080] Solution: The text preprocessing agent uses natural language processing technology to analyze the page structure and quickly locate the subpages or links where relevant information is located.

[0081] The information collection agent automatically extracts index and directory information from multiple pages to improve positioning efficiency.

[0082] 3. Data coverage and comprehensiveness: Innovation: The intelligent agent performs ontology design and summary: uses large models to perform data sampling and feature engineering analysis to achieve an overall grasp of the data.

[0083] Solution: The information collection agent and the data verification agent work together to ensure that the collected data covers all major categories and important information.

[0084] The big model evaluates and controls the actual stock of different categories of data through data sampling and feature extraction to ensure the comprehensiveness of the data.

[0085] 4. The problem of uncertainty in data storage: Innovation: Multi-role agents conduct divergent thinking: Use multi-agent collaboration to improve data exploration and discovery capabilities.

[0086] Solution: The information collection agent continuously monitors and discovers new data sources and information through multi-source data fusion technology, and dynamically updates the knowledge base.

[0087] The data verification agent evaluates and verifies the data stock, and uses large models to make intelligent predictions and supplements.

[0088] 5. Disadvantages of data collection automation: Innovation: Goal alignment of intelligent agents: Adopt SMART approach: clarify goals and tasks, and improve automation.

[0089] Multi-role intelligent agents conduct divergent thinking: efficient data collection is achieved through role allocation and task decomposition.

[0090] Solution: Information collection agents automatically scan and process target websites, reducing human intervention.

[0091] Use Schema technology to define and verify data formats, improve the automatic adjustment capabilities of collection rules and codes, and ensure the comprehensiveness and accuracy of data collection.

[0092] 6. Issues with the unification of data types and formats: Innovation: Use Schema technology for ontology design and data format verification: ensure the consistency and accuracy of data structure.

[0093] Solution: Schema technology defines data structure and format, and uses automated tools to verify data to ensure data consistency.

[0094] The information integration agent uses Schema technology to clean and convert multi-source data to unify data types and formats.

[0095] 7. Entity Recognition and Disambiguation: Innovation: Intelligent agents perform ontology design and summarization: use large models to summarize industry knowledge and identify entities.

[0096] Solution: The entity recognition agent uses the natural language processing capabilities of the large model to identify and extract key entities in the text.

[0097] The data verification agent solves the polysemy and ambiguity of entities through contextual information and multi-source data verification to ensure the accuracy of recognition results.

[0098] 8. Multilingual processing and cross-language alignment: Innovation: Multi-language processing capabilities of large models: Covering multiple languages, improving cross-language processing and alignment capabilities.

[0099] Solution: The information collection agent and entity recognition agent utilize the multilingual capabilities of the large model to process and analyze data in different languages.

[0100] The information integration agent ensures consistency in the integration process of multilingual data and achieves data alignment between different languages ​​through multilingual alignment algorithms.

[0101] See also Figure 3 , Figure 3 The embodiment of the present application provides a schematic block diagram of a knowledge extraction device based on a large model agent, and the knowledge extraction device based on a large model agent is used to execute the aforementioned knowledge extraction method based on a large model agent. The knowledge extraction device based on a large model agent can be configured on a server.

[0102] like Figure 3 As shown, the knowledge extraction device 400 based on the large model agent includes: The task sub-goal generating module 410 is used to determine the task goal by using the SMART method, and decompose the task goal to generate at least one task sub-goal, wherein the SMART method includes the principles of specificity, measurability, achievability, relevance, and timeliness; An initial knowledge set generation module 420 is used to extract key information of each of the task sub-goals through natural language processing technology, and integrate the key information to generate an initial knowledge set; The target knowledge set determination module 430 is used to verify each of the initial knowledge sets based on the specificity principle, the measurability principle, the achievability principle, the relevance principle and the time limit principle, and determine the initial knowledge set that passes the verification as the target knowledge set.

[0103] Furthermore, the task sub-goal generation module 410 includes: A task target extraction instruction receiving unit, used for receiving a task target extraction instruction; The task objective determination unit is used to obtain a target text and determine the task objective in the target text based on a preset task text library and the target text.

[0104] Furthermore, the task sub-goal generation module 410 includes: A task target text determination unit, used to use a preset task text corresponding to the task target as the task target text; A target text segment generating unit, used for decomposing the task target text to generate at least one target text segment; The task sub-goal generating unit is used to generate at least one of the task sub-goals according to each of the target text segments and the preset task text library.

[0105] Furthermore, the initial knowledge set generating module 420 includes: A keyword determination unit, used to determine the keywords of each of the task sub-goals by using the NLP technology; The key information determination unit is used to determine the association relationship between the keywords through a syntax analysis tool, and determine the key information of each task sub-goal based on a predefined template and the association relationship.

[0106] Furthermore, the initial knowledge set generating module 420 includes: The initial knowledge set generating unit is used to integrate each of the key information based on the preset logical relationship, semantic connection and the association relationship to generate a structured initial knowledge set.

[0107] Furthermore, the large model agent-based knowledge extraction device 400 further includes: A data source preprocessing module, used to collect data sources of at least one knowledge field and preprocess each of the data sources; The task target determination module is used to determine the task target corresponding to each data source according to a preset task target list and each preprocessed data source.

[0108] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described device and each module can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0109] The above-mentioned device can be implemented in the form of a computer program. Figure 4 Runs on the computer device shown.

[0110] See also Figure 4 , Figure 4 1 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device may be a server.

[0111] See also Figure 4 The computer device includes a processor, a memory and a network interface connected through a system bus, wherein the memory may include a non-volatile storage medium and an internal memory.

[0112] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor can execute any knowledge extraction method based on a large model intelligent agent.

[0113] The processor is used to provide computing and control capabilities and support the operation of the entire computer equipment.

[0114] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can execute any knowledge extraction method based on the large model intelligent agent.

[0115] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0116] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0117] In one embodiment, the processor is used to run a computer program stored in the memory to implement the following steps: Determine the task goal through the SMART method, and decompose the task goal to generate at least one task sub-goal, wherein the SMART method includes the principles of specificity, measurability, achievability, relevance, and timeliness; Extracting key information of each of the task sub-goals through natural language processing technology, and integrating the key information to generate an initial knowledge set; Based on the specificity principle, the measurability principle, the achievability principle, the relevance principle and the time limit principle, each of the initial knowledge sets is verified, and the initial knowledge set that passes the verification is determined as the target knowledge set.

[0118] In one embodiment, the task objectives are determined by the SMART method to achieve: Receive a task target extraction instruction; A target text is obtained, and based on a preset task text library and the target text, a task objective in the target text is determined.

[0119] In one embodiment, the task objective is decomposed to generate at least one task sub-objective for achieving: Using the preset task text corresponding to the task target as the task target text; Decomposing the task target text to generate at least one target text segment; At least one of the task sub-goals is generated according to each of the target text segments and the preset task text library.

[0120] In one embodiment, the key information of each task sub-goal is extracted by natural language processing technology to achieve: Determine the keywords of each of the task sub-goals by using the NLP technology; The association relationship between the keywords is determined by a syntax analysis tool, and the key information of each task sub-goal is determined based on a predefined template and the association relationship.

[0121] In one embodiment, the key information is integrated to generate an initial knowledge set for achieving: Based on the preset logical relationship, semantic connection and the association relationship, each of the key information is integrated to generate a structured initial knowledge set.

[0122] In one embodiment, the task goal is determined by the SMART method, and the task goal is decomposed to generate at least one task sub-goal, wherein the SMART method includes the principles of specificity, measurability, achievability, relevance and timeliness, and is used to achieve: Collecting data sources in at least one knowledge field and preprocessing each of the data sources; According to the preset task target list and the preprocessed data sources, the task target corresponding to each data source is determined.

[0123] A computer-readable storage medium is also provided in an embodiment of the present application, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and the processor executes the program instructions to implement any one of the knowledge extraction methods based on large model intelligent agents provided in the embodiments of the present application.

[0124] The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, such as a hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc., equipped on the computer device.

[0125] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A knowledge extraction method based on a large model agent, characterized in that: include: Determine the task goal through the SMART method, and decompose the task goal to generate at least one task sub-goal, wherein the SMART method includes the principles of specificity, measurability, achievability, relevance, and timeliness; Extracting key information of each of the task sub-goals through natural language processing technology, and integrating the key information to generate an initial knowledge set; Based on the specificity principle, the measurability principle, the achievability principle, the relevance principle and the time limit principle, each of the initial knowledge sets is verified, and the initial knowledge set that passes the verification is determined as the target knowledge set.

2. The knowledge extraction method based on large model agent according to claim 1 is characterized in that: The SMART method is used to determine the task objectives, including: Receive a task target extraction instruction; A target text is obtained, and based on a preset task text library and the target text, a task objective in the target text is determined.

3. The knowledge extraction method based on large model agent according to claim 2 is characterized in that: The step of decomposing the task objective to generate at least one task sub-objective includes: Using the preset task text corresponding to the task target as the task target text; Decomposing the task target text to generate at least one target text segment; At least one of the task sub-goals is generated according to each of the target text segments and the preset task text library.

4. The knowledge extraction method based on large model agent according to claim 1 is characterized in that: The natural language processing technology includes neuro-linguistic programming (NLP) technology. The key information of each task sub-goal is extracted by natural language processing technology, including: Determine the keywords of each of the task sub-goals by using the NLP technology; The association relationship between the keywords is determined by a syntax analysis tool, and the key information of each task sub-goal is determined based on a predefined template and the association relationship.

5. The knowledge extraction method based on large model agent according to claim 4 is characterized in that: The key information is integrated to generate an initial knowledge set, including: Based on the preset logical relationship, semantic connection and the association relationship, each of the key information is integrated to generate a structured initial knowledge set.

6. The knowledge extraction method based on a large model agent according to any one of claims 1 to 5, characterized in that: The task goal is determined by the SMART method, and the task goal is decomposed to generate at least one task sub-goal, wherein the SMART method includes the principles of specificity, measurability, achievability, relevance and timeliness, and includes: Collecting data sources in at least one knowledge field and preprocessing each of the data sources; According to the preset task target list and the preprocessed data sources, the task target corresponding to each data source is determined.

7. A knowledge extraction device based on a large model agent, characterized in that: include: A task sub-goal generation module, used to determine the task goal through the SMART method, and decompose the task goal to generate at least one task sub-goal, wherein the SMART method includes the principle of specificity, the principle of measurability, the principle of achievability, the principle of relevance and the principle of time limit; An initial knowledge set generation module is used to extract key information of each of the task sub-goals through natural language processing technology, and integrate each of the key information to generate an initial knowledge set; The target knowledge set determination module is used to verify each of the initial knowledge sets based on the specificity principle, the measurability principle, the achievability principle, the relevance principle and the time limit principle, and determine the initial knowledge set that passes the verification as the target knowledge set.

8. A computer device, characterized in that: The computer device includes a memory and a processor; The memory is used to store computer programs; The processor is used to execute the computer program and implement the knowledge extraction method based on a large model agent as described in any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, enables the processor to implement the knowledge extraction method based on a large model agent as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Information system management method based on knowledge graph

    CN110825882A

  • Method and system for constructing knowledge graph by extracting triples from large model, and medium

    CN117273132A

  • Entity recognition method and device, electronic equipment and medium

    CN117952108A

  • Method for constructing vertical domain knowledge graph and related device

    CN118504679A

  • Knowledge extraction method, apparatus, electronic device, and storage medium

    WO2021212682A1

Cited By

  • Technical document key information extraction method based on intelligent agent

    CN120086347A