A data report generation method, device and equipment
The method of generating data reports through large language models solves the problems of tight time, complex content and multi-party collaboration in writing data compliance reports, achieves efficient generation of detailed and accurate data compliance reports, and improves report integration and retrieval efficiency. .
Patent Information
- Application Number
- CN202311578142.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-24
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2043-11-24
AI Technical Summary
When writing data compliance reports, data processing entities face problems such as time constraints, complex content, multi-party collaboration, multi-field knowledge involved, and low retrieval efficiency in massive databases.
Adopting a data report generation method based on a large language model, by obtaining target business information, establishing a business declaration scenario, obtaining target data, and using the trained data report generation model to generate detailed and accurate data reports, achieving efficient and multi-party report generation Collaboration and information integration and retrieval.
It improves the efficiency of data report generation, promotes the flow of information and knowledge in multi-party collaboration, reduces the difficulty of complex knowledge information in the report writing process, and generates detailed, accurate, and cross-domain knowledge data compliance reports.
Smart Images

Figure CN117291165B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data compliance technology, and in particular to a data report generation method, device and equipment. Background Art
[0002] In order to ensure data security, relevant parties require data processing entities to regularly submit data compliance-related reporting materials, detailing the specific processes and standard specifications of data processing to prove their compliance.
[0003] However, data processing entities currently face a series of difficulties in writing data compliance reports. First, time is tight and the reporting entity needs to complete the preparation of the report within a tight time frame. Second, writing the report is difficult and requires a comprehensive and in-depth understanding of the reporting entity's internal data flow, security measures, and privacy protection policies. Third, the information required for writing the report is complex and involves knowledge in multiple fields such as technology, business, law, and security. Fourth, the report requires references to industry norms and regulations, and text retrieval from massive databases is inefficient. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a data report generation method, device and equipment to solve the problem that data report generation involving complex content and requiring collaboration of multiple parties cannot be completed quickly.
[0005] In order to solve the above technical problems, the technical solution of the present invention is as follows:
[0006] A method for generating a data report, comprising:
[0007] Obtain target business information;
[0008] Establishing a business declaration scenario based on the target business information;
[0009] According to the business declaration scenario, target data of the target business is obtained;
[0010] According to the target data, a target data report is obtained by generating a model through a trained data report.
[0011] Optionally, a business declaration scenario is established based on the target business information, including:
[0012] According to the target business information, a business declaration scenario is established in the form of a questionnaire; the business declaration scenario includes: declaration scenario name, description, scenario category, selection of declaration enterprise, target business and report template.
[0013] Optionally, according to the business declaration scenario, target data of the target business is obtained, including:
[0014] According to the business declaration scenario, basic information and business process information of the target business are obtained;
[0015] Target data is obtained according to the basic information and business process information of the target business.
[0016] Optionally, according to the target data, a target data report is obtained by generating a model through a trained data report, including:
[0017] According to the target data, a model is generated through a data report to obtain a preliminary evaluation report;
[0018] Based on the preliminary assessment report, the target data report is obtained by revising it in the form of a questionnaire.
[0019] Optionally, a preliminary evaluation report is obtained based on the target data through a data report generation model, including:
[0020] Get target data;
[0021] The data report generation model obtains the descriptive content information of the declared object according to the target data;
[0022] Get the report template for the declaration scenario;
[0023] The descriptive content information of the application object is combined with the report template of the application scenario to obtain a preliminary evaluation report.
[0024] Optionally, the preliminary assessment report is revised through a questionnaire to obtain a target data report, including:
[0025] Based on the preliminary assessment report, the difficulties of the application content and the application process in doubt are obtained;
[0026] According to the difficulties of the application content and the questionable application process, the evaluator and the business party are asked and answered questions through the data report generation model, and / or the knowledge base is searched through the data report generation model to obtain the target data report.
[0027] Optionally, the data report generation model is trained by the following method:
[0028] Get training data;
[0029] Preprocessing the training data to obtain feature data;
[0030] Preliminarily training the neural network model based on the characteristic data to obtain predicted report generation content, knowledge base retrieval content, and question and answer content;
[0031] Compare the predicted report generation content, knowledge base search content and question-and-answer content with the actual results on historical data to obtain a prediction error value;
[0032] According to the prediction error value, the model parameters are tuned until the prediction error value reaches a preset threshold, thereby obtaining a data report generation model.
[0033] An embodiment of the present invention further provides a data report generating device, comprising:
[0034] An acquisition module is used to acquire target business information;
[0035] A generation module is used to establish a business declaration scenario based on the target business information; obtain target data of the target business based on the business declaration scenario; and obtain a target data report based on the target data through a trained data report generation model.
[0036] An embodiment of the present invention further provides a computing device, comprising: a processor and a memory storing a computer program, wherein when the computer program is executed by the processor, the method as described above is executed.
[0037] An embodiment of the present invention further provides a computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to execute the above method.
[0038] The above solution of the present invention includes at least the following beneficial effects:
[0039] The above scheme of the present invention obtains target business information; establishes a business declaration scenario based on the target business information; obtains target data of the target business based on the business declaration scenario; obtains target data report based on the target data through a trained data report generation model. Based on the large language model, efficient report generation, multi-party collaboration, information integration and retrieval can be achieved, and detailed, accurate, and cross-domain knowledge data reports can be generated. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 is a flow chart of a data report generating method according to an embodiment of the present invention;
[0041] Figure 2 is a report generation flow chart of a data report generation method according to an embodiment of the present invention;
[0042] Figure 3 is a module diagram of a data report generating method according to an embodiment of the present invention;
[0043] Figure 4 is a flow chart of training and function realization of a data report generation model of a data report generation method according to an embodiment of the present invention;
[0044] Figure 5 is a structural diagram of a data report generation model of a data report generation method according to an embodiment of the present invention;
[0045] Figure 6 It is a structural diagram of a data report generating device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0046] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0047] like Figure 1 As shown, an embodiment of the present invention provides a data report generating method, comprising:
[0048] Step 11, obtaining target business information;
[0049] Step 12: Establish a business declaration scenario based on the target business information;
[0050] Step 13, obtaining target data of the target business according to the business declaration scenario;
[0051] Step 14, according to the target data, a model is generated by using the trained data report to obtain a target data report.
[0052] like Figure 2 As shown, in this embodiment, a data compliance report generation method and system based on a large language model are constructed, providing declaration scenarios, questionnaire interaction, intelligent question and answer, knowledge base retrieval and other functions, realizing efficient report generation, multi-party collaboration, information integration and retrieval, and generating detailed, accurate, cross-domain knowledge data compliance reports. Specifically, it includes the steps of establishing declaration scenarios, selecting declaration scenarios, forming a preliminary draft of the report, revising the questionnaire content, intelligent question and answer, knowledge base retrieval and forming a final draft of the report. According to the evaluation scenario, the data submission and evaluation objects are simplified to the business party and the evaluation party. The specific functions of each step are as follows:
[0053] Establish a declaration scenario: The evaluator establishes a declaration scenario, splits the entire report into multiple questionnaires, and imports the report content template into the questionnaires.
[0054] Select the declaration scenario: The business party selects the declaration scenario, fills in the basic information of the enterprise and business process information in the questionnaire, and returns the questionnaire.
[0055] Form a preliminary draft of the report: Based on enterprise information, the large language model capability is used to automatically generate enterprise description content and link it with the context. Only one input is required to automatically fill in the subsequent content to form a preliminary draft of the report.
[0056] Revision of questionnaire content: The evaluator receives the questionnaire and modifies the content and gives feedback to the business party. The two parties interact through the questionnaire and revise the questionnaire content multiple times.
[0057] Intelligent Q&A: Both parties can raise questions in the intelligent Q&A module regarding the difficulties in the report content and the questionable application process. The large language model trained based on professional knowledge organizes answers and provides feedback based on the inquiry content, and can support multiple rounds of Q&A.
[0058] Knowledge base search: Both parties can search the knowledge base module for the legal documents, systems, business process information, etc. required for the report; the large language model searches the knowledge base based on key information and provides feedback on the relevant paragraph content.
[0059] Form the final report: After the report content is finalized, the contents of multiple questionnaires are combined to form the final report, which supports file download.
[0060] In an optional embodiment of the present invention, step 12 includes:
[0061] Step 121, based on the target business information, establish a business declaration scenario in the form of a questionnaire; the business declaration scenario includes: declaration scenario name, description, scenario category, selection of declaration enterprise, target business and report template.
[0062] In an optional embodiment of the present invention, step 13 includes:
[0063] Step 131, obtaining basic information and business process information of the target business according to the business declaration scenario;
[0064] Step 132, obtaining target data according to the basic information and business process information of the target business.
[0065] In this embodiment, the business party selects the corresponding declaration scenario according to the declared business information, and fills in the basic information and business process information of the target business in the declaration scenario. The evaluation party obtains the target data according to the basic information and business process information, and evaluates the target data.
[0066] In an optional embodiment of the present invention, step 14 includes:
[0067] Step 141, according to the target data, a preliminary evaluation report is obtained through a data report generation model;
[0068] Step 142, based on the preliminary evaluation report, revise it in the form of a questionnaire to obtain a target data report.
[0069] In an optional embodiment of the present invention, step 141 generates a preliminary evaluation report based on the target data through a data report generation model, including:
[0070] Step 1411, obtaining target data;
[0071] Step 1412, the data report generation model obtains the description content information of the declared object according to the target data;
[0072] Step 1413, obtaining a report template for the declaration scenario;
[0073] Step 1414, combining the descriptive content information of the reporting object with the report template of the reporting scenario to obtain a preliminary evaluation report.
[0074] In this embodiment, the descriptive content information provided by the applicant is combined with the report template. If similar content is repeatedly filled in in the report, the large language model capability is called to input the basic information into the model. The model automatically generates the text of the descriptive information based on the information and the pre-set text generation task and fills it into the corresponding position of the template, so as to realize the automatic generation of the enterprise description content and the linkage with the context. Only one input can realize the synchronous automatic filling of the subsequent content, and finally form a preliminary evaluation report.
[0075] In an optional embodiment of the present invention, step 142 is to revise the preliminary evaluation report in the form of a questionnaire to obtain a target data report, including:
[0076] Step 1421, according to the preliminary evaluation report, obtain the difficulties of the application content and the application process in doubt;
[0077] Step 1422, based on the difficulties of the application content and the questionable application process, the evaluator and the business party are asked and answered questions through the data report generation model, and / or the knowledge base is searched through the data report generation model to obtain the target data report.
[0078] like Figure 3 As shown, in this application, the data report generation method involves several aspects, including a basic module, a declaration scenario module, a questionnaire module, a large language model module, an intelligent question and answer module, a knowledge base module, and a report generation module. The functions of each module are as follows:
[0079] Basic module: used to support the display and operation of application materials, including: viewing the application materials list, uploading application materials, downloading application materials, previewing application materials, and deleting application materials.
[0080] Declaration scenario module: used to support the creation, editing, viewing, and deletion of declaration scenarios, including: creating declaration scenarios, editing the template content of declaration scenarios, viewing declaration scenario information, displaying the progress of declaration business nodes, and deleting declaration scenarios.
[0081] Questionnaire module: used to support the creation, editing, viewing, and deletion of questionnaires, including: dividing the report template into specific chapter questionnaires, sending questionnaires, editing questionnaire content, viewing questionnaire content, and filling in reference opinions.
[0082] Large language model module: pre-training based on professional knowledge to form language capabilities to support the implementation of questionnaire modules, intelligent question-and-answer modules, and knowledge base modules, including: forming contextual linkages based on enterprise information content, automatically filling in repeated information in reports, providing answers based on professional knowledge based on user inquiries, supporting multiple rounds of question-and-answer sessions, identifying key information based on search information provided by users, searching in the knowledge base, and providing feedback on the content of the paragraphs involved.
[0083] Intelligent question and answer module: a module that implements question and answer functions based on the capabilities of a large language model, including: question text box, answer text box, question and answer record, and selection prompt word.
[0084] Knowledge base module: A database that stores professional knowledge and data compliance-related information, and implements data retrieval based on the capabilities of a large language model, including: importing files, viewing file lists, deleting files, searching files, and retrieving knowledge base information.
[0085] Report generation module: used for document generation functions of the final report, including: generating report documents, viewing report contents, downloading report documents, uploading report documents, and deleting report documents.
[0086] This data report generation method improves the efficiency of data report generation involving complex information and multi-party collaboration by utilizing the interactive form of questionnaires and the information collection and processing function based on a large model, and promotes the mobility of information and knowledge in multi-party collaboration. The system constructed by the present invention utilizes the declaration scenario module and the questionnaire module to standardize the process of multi-party collaborative report writing. The intelligent question-answering module and the knowledge base module based on the large language model improve the utilization rate of complex knowledge information in the report writing process and reduce the difficulty of retrieving the required information from the huge knowledge base.
[0087] In an optional embodiment of the present invention, the data report generation model is trained by the following method:
[0088] Get training data;
[0089] Preprocessing the training data to obtain feature data;
[0090] Preliminarily training the neural network model based on the characteristic data to obtain predicted report generation content, knowledge base retrieval content, and question and answer content;
[0091] Compare the predicted report generation content, knowledge base search content and question-and-answer content with the actual results on historical data to obtain a prediction error value;
[0092] According to the prediction error value, the model parameters are tuned until the prediction error value reaches a preset threshold, thereby obtaining a data report generation model.
[0093] like Figure 4 As shown, in this embodiment, the data report generation model has undergone a series of training and function application processes, and the steps include: data collection, data preprocessing, pretraining, fine-tuning, model evaluation and tuning, model deployment and function docking, report generation function implementation, knowledge base retrieval function implementation, and intelligent question and answer function implementation. Learn the universal laws and contextual relationships of language from large-scale unsupervised data, and then fine-tune the model to adapt to the task requirements of specific business scenarios, and continuously improve the performance and generalization ability of the model through evaluation and tuning. After model deployment and function docking, basic language capabilities are used to realize report generation, intelligent question and answer, and knowledge base retrieval functions. According to the input data and questions, corresponding reports, answers or suggestions are generated, and relevant information is retrieved from the knowledge base to provide users with accurate and efficient business support.
[0094] Data collection: Collect the data required for the large model to form the first training data set, which mainly includes three aspects of data: data compliance policy documents and international laws and regulations, declaration report templates and drafts, and professional business knowledge.
[0095] Data preprocessing: The first training data set is preprocessed to form a second training data set that is easy for the large model to process. The preprocessing includes processing erroneous characters, filling in missing values, text formatting, text translation, data labeling, removing redundant information, and other operations to ensure the quality and consistency of the data.
[0096] Pre-training: The second training data set is input into the model. The model uses self-supervised learning to learn the representation and relationship of data using large-scale unsupervised data, understand the universal laws of language and contextual relationships, and form basic language capabilities.
[0097] Fine-tuning: Based on the existing pre-trained model, further train the model with a small amount of professional data to adapt it to service applications in related fields. Collect core data of data compliance policy documents and professional business knowledge, build a third training data set, input the model for fine-tuning, and further optimize the performance of the model on specific tasks.
[0098] Model evaluation and tuning: Evaluate the fine-tuned model to measure its performance on specific tasks. Based on the evaluation results, tune the model, including adjusting hyperparameters, adding training data, and improving the model structure. Through the iterative optimization process, improve the performance and generalization ability of the model.
[0099] Model deployment and function connection: Deploy the trained model to the large language model module and create an API interface to implement data interaction between the large model and various intelligent applications.
[0100] Report generation function implementation: The questionnaire module is connected to the API interface of the large language model module to realize the automatic generation of part of the report content. The questionnaire template contains a text description of the text generation task. The system recognizes the task and passes the relevant business data and task description to the model for processing. The model understands the intention of the task description and organizes the business data into report segments as required. The ability to generate segments mainly comes from the training of existing report data in the fine-tuning stage. The segment content is returned to the questionnaire module and filled in the corresponding position of the report. When relevant content appears in the report context, according to the description of the text generation task, the module automatically generates the content at the same time and matches the segment content to the specific position of the report context.
[0101] Implementation of knowledge base retrieval function: The knowledge base module is connected to the API interface of the large language model module to transmit the keyword information retrieved by the user. After the background interface receives the keyword, it is passed to the model for processing. The model understands the correlation between the keyword or question and the content in the knowledge base, performs precise retrieval and fuzzy retrieval in the knowledge base, organizes the retrieved information into text segments, and returns it to the knowledge base module to provide the search results to the user.
[0102] Implementation of the intelligent question-answering function: Input the questions raised by the user into the API interface of the large language model module, and preprocess the question text, including removing special characters, stop words, etc., to help reduce noise and achieve standardized input. Vectorize the preprocessed questions to form a text format that is easy for the large model to understand. The large model combines the keywords in the question text, searches and collects relevant information in the trained data set and knowledge base, vectorizes the collected text, and matches the relevance with the vectorized question text. The large model uses the highly relevant vectorized text to organize the language content, form the final answer, and returns it to the intelligent question-answering module.
[0103] like Figure 5As shown, specifically, the data report generation model processes the input data as follows: first, the input training data is converted into a feature vector, and the input training data is position-encoded to obtain a position vector, the feature vector and the position vector are added to obtain a vector X, and the vector X is input into the encoder of the data report generation model.
[0104] like Figure 5 As shown, the data report generation model includes N encoders and M decoders. In the present application, the preferred value of N is 6 and the value of M is also 6. Each encoder includes a multi-head self-attention layer and a feedforward neural network layer, and each decoder includes two connected multi-head self-attention layers and a feedforward neural network layer. The multi-head self-attention layer of the bottom encoder first receives the X vector and puts the X vector into a matrix to obtain the X matrix. The X matrix is multiplied by the three preset weight matrices to obtain the Q matrix, the K matrix and the V matrix. Then the self-attention is calculated based on the Q matrix, the K matrix and the V matrix to obtain the Z matrix.
[0105] It should be noted that a multi-head self-attention layer is used in this method, so there will be multiple preset weight matrices, and finally multiple Z matrices are obtained, preferably, a total of 8 Z matrices. 8 Z matrices are spliced, and the spliced matrix is multiplied by another preset matrix to obtain the final Z matrix. The final Z matrix is merged and normalized and input into the feedforward neural network layer, which is a fully connected layer, and the activation function uses ReLU. The data output by the feedforward neural network layer is output after merging and normalization, and the output result is input into the next encoder, and the same steps as above are performed. Finally, the output result of the last encoder is input into the second multi-head self-attention layer of the decoder for calculating the corresponding Q vector and K vector. The first multi-head self-attention layer of the decoder inputs the true value on the historical data, and performs the corresponding position encoding at the same time. The result output by the first multi-head self-attention layer and the result output by the last encoder are simultaneously input into the second multi-head self-attention layer, and the decoder decoding result is output after the feedforward neural network. After multiple decoders are decoded in sequence, the prediction information is finally output. The prediction information is input into the linear layer and the normalized exponential function is processed to obtain the prediction result.
[0106] The above method of the present application is implemented through the following two specific embodiments:
[0107] Embodiment 1: A method for generating a data report
[0108] Establish application scenarios: The experts of the evaluation party establish application scenarios according to the specific application business, set the application scenario name, description, scenario category, select the application enterprise, application business, and report template. Split the entire report into multiple questionnaires, import the report content template into the questionnaire, edit the report template content, and set the text generation task of the large language model in the template. The input text will be automatically generated by the large model and filled in the specific location. Send the questionnaire to the business party.
[0109] Select the declaration scenario: The business party selects the declaration scenario according to the specific declaration business, fills in the basic information of the enterprise and business process information in the questionnaire, and returns the questionnaire.
[0110] Forming a first draft of the report: Combine the information provided by the enterprise with the template. If there are similar contents filled in repeatedly in the report, call the large language model capability and input the basic information into the model. The model automatically generates the text describing the information based on the information and the pre-set text generation tasks and fills it into the corresponding position of the template, realizing the automatic generation of the enterprise description content and the linkage between the previous and next content. Only inputting once can realize the synchronous automatic filling of subsequent content. Finally, the first draft of the report document is formed.
[0111] Questionnaire content revision: The assessor receives the questionnaire containing the draft report and makes content revisions. The assessor can directly edit the text in the questionnaire or make revisions in the reference opinion box, and the questionnaire is fed back to the business party. The assessor and the business party interact through the questionnaire and revise the questionnaire content multiple times. Each revision can send all questionnaires, or only send part of the questionnaire to revise only some chapters.
[0112] Smart Q&A: For the difficult points in the report content and the doubtful declaration process, you can also initiate inquiries with the evaluation party in the smart Q&A module. Enter the question in the question box of the smart Q&A. The large language model trained based on professional knowledge understands the semantics of the business party or the evaluation party, and combines the trained knowledge content and knowledge base information to organize and generate the answer text. It supports multiple rounds of Q&A. If the answer does not meet the requirements, you can continue to ask multiple questions. The large model will correct the answer according to the new questions and propose a new answer. This step is a process to assist the declaration work, which can be performed at any time during the report generation process. If you do not need to use the smart Q&A function, you can go directly to the next step.
[0113] Knowledge base search: For the legal documents, systems, business process information, etc. required for the report, the business party and the evaluation party can search in the knowledge base module. Enter the knowledge information in the knowledge base search box. The information can be a document name, paragraph, or word. Call the large language model capability to search the knowledge base based on the trained large model according to the search information. There are two ways to search: search for text that clearly contains the search information and search for text that has a certain degree of relevance to the search information. Generate search results for the retrieved text content. This step is a process to assist the reporting work and can be performed at any time during the report generation process. If you do not need to use the knowledge base search function, you can go directly to the next step.
[0114] Form the final report: After multiple questionnaire interactions and content revisions between the business party and the evaluation party, the report content is finalized. The business party and the evaluation party confirm the completion of the report, combine the contents of multiple questionnaires to form the final report, generate a report document, save it in the application materials list, and support file download.
[0115] Embodiment 2: A data report generation system
[0116] Basic module: It is the most basic module of the system, which is used to support the display and operation of application materials. It includes the following functions. View the list of application materials: View the list of uploaded application materials, including generated reports and other supplementary materials, so as to fully understand the submitted material information; Upload application materials: Upload the materials required for the application to the system; Download application materials: Download the uploaded application materials or the final report files; Preview application materials: Preview the uploaded application materials in the system so that you can view and modify them before submission; Delete application materials: Delete application materials that are no longer needed to keep the material list in order. The basic module is associated with the application scenario module and the report generation module, providing an entry to the application scenario module, and receiving and displaying the report documents delivered by the report generation module.
[0117] Application scenario module: used to support the creation, editing, viewing, and deletion of application scenarios, including the following functions:
[0118] Create a declaration scenario: Use this function to create a new declaration scenario. When creating a scenario, the user needs to provide basic information about the scenario, such as name, description, etc.
[0119] Edit the template content of the application scenario: Use this function to edit the template content of the application scenario. Select an existing template to call other templates that have been imported into the system in the past. Edit text to directly import a new template. Add a text generation task to the template to call the large language model to automatically generate text paragraphs after the user fills in the information.
[0120] View application scenario information: Use this function to view detailed information of the created application scenario, including scenario name, description, template content, etc.
[0121] Display the progress of the application business node: This function displays the progress of the current application scenario through a node flow chart, making it convenient for users to view the progress of the generation of application materials;
[0122] Delete declaration scenario: Users can use this function to delete declaration scenarios that are no longer needed. When deleting a scenario, the system will prompt the user to confirm the operation to avoid misoperation. The declaration scenario module is associated with the basic module and the questionnaire module, depends on the basic module, and provides an entry to the questionnaire module.
[0123] Questionnaire module: used to support the creation, editing, viewing, and deletion of questionnaires, including the following functions. Divide the report template into specific chapter questionnaires, select part of the template content to set the name of the questionnaire, and repeat the operation to divide the entire report into multiple questionnaires; send the questionnaire, send the questionnaire content to the relevant personnel for the next step, and you can send all questionnaires or only part of the questionnaire; edit the questionnaire content, add, rewrite, delete the content of the received questionnaire; view the questionnaire content: browse the specific content in the questionnaire, and the text generated by the large model will be displayed in red; fill in the reference opinion: if you want to keep the questionnaire content, you can enter the revision opinion in the reference opinion box. The questionnaire module is the core module of the system, which depends on the declaration scenario module. It can call the capabilities of the large language model module, the intelligent question and answer module, and the knowledge base module. After the questionnaire interaction operation is completed, it enters the report generation module.
[0124] Large language model module: Based on pre-training of professional knowledge, language capabilities are formed to support the implementation of the functions of the questionnaire module, intelligent question and answer module, and knowledge base module. It includes the following functions. Forming contextual content linkage based on enterprise information content: Based on the text generation task set in the questionnaire, the enterprise information content is input into the large language model, and the corresponding text content is output according to the task requirements, so as to realize the automatic filling of repeated information in the report; Provide professional knowledge-based answer generation according to user inquiries: When users ask questions, the large language model will generate answers based on professional knowledge, and support multiple rounds of question and answer. For answers that do not meet the requirements, the questions can be corrected and the answers can be continued; Identify key information based on the search information provided by the user and search in the knowledge base: Users can provide key information, and the large model will perform precise and fuzzy searches in the knowledge base based on the information, and feedback the relevant paragraph content to the user. The large language model module is mainly responsible for providing capability support, and its capabilities are called in the questionnaire module, intelligent question and answer module, and knowledge base module.
[0125] The intelligent question-answering module is a module that implements the question-answering function based on the capabilities of the large language model. It includes the following functions. Question text box: users enter questions in this text box to obtain relevant answers; Answer text box: the large model generates answers based on the user's questions and displays them in this text box; Question and answer records: the module will record the user's questions and the system's answers so that users can view and review them at any time; Select prompt words: the module will provide commonly used prompt words, or provide some possible prompt words based on the user's questions. The prompt words are used to more clearly express the user's question intention to the module. The intelligent question-answering module relies on the language capabilities of the large language model module and is mainly used in the questionnaire module.
[0126] The knowledge base module has a database that stores professional knowledge and data compliance-related information, and implements data retrieval based on the capabilities of the large language model. This module provides the following functions. Import files: external files can be imported into the knowledge base, and batch import is possible; view the file list: view the file list stored in the knowledge base; delete files: delete unnecessary data files; find files: search for files based on the file name; knowledge base information retrieval: perform precise and fuzzy retrieval in the document based on the input information, and return relevant text paragraphs. The knowledge base module mainly stores the following types of data: professional business knowledge, professional business data, data compliance knowledge, business-related international laws and regulations, report templates, etc. The knowledge base module relies on the language capabilities of the large language model module and is mainly used in the questionnaire module.
[0127] The report generation module is used for the document generation function of the final report, including the following functions. Generate report document: combine several revised questionnaires to form a report document; view report content: browse the specific content of the questionnaire; download report document: download the report document to the local computer for data compliance reporting; upload report document: can be edited locally and upload the edited document to the module; delete report document: delete unnecessary report documents. The report generation module depends on the questionnaire module and outputs the report document materials to the basic module.
[0128] like Figure 6 As shown, the present invention also provides a data report generating device 60, comprising:
[0129] An acquisition module 61 is used to acquire target business information;
[0130] The generation module 62 is used to establish a business declaration scenario based on the target business information; obtain target data of the target business based on the business declaration scenario; and obtain a target data report based on the target data through a trained data report generation model.
[0131] Optionally, a business declaration scenario is established based on the target business information, including:
[0132] According to the target business information, a business declaration scenario is established in the form of a questionnaire; the business declaration scenario includes: declaration scenario name, description, scenario category, selection of declaration enterprise, target business and report template.
[0133] Optionally, according to the business declaration scenario, target data of the target business is obtained, including:
[0134] According to the business declaration scenario, basic information and business process information of the target business are obtained;
[0135] Target data is obtained according to the basic information and business process information of the target business.
[0136] Optionally, according to the target data, a target data report is obtained by generating a model through a trained data report, including:
[0137] According to the target data, a model is generated through a data report to obtain a preliminary evaluation report;
[0138] Based on the preliminary assessment report, the target data report is obtained by revising it in the form of a questionnaire.
[0139] Optionally, a preliminary evaluation report is obtained based on the target data through a data report generation model, including:
[0140] Get target data;
[0141] The data report generation model obtains the descriptive content information of the declared object according to the target data;
[0142] Get the report template for the declaration scenario;
[0143] The descriptive content information of the application object is combined with the report template of the application scenario to obtain a preliminary evaluation report.
[0144] Optionally, the preliminary assessment report is revised through a questionnaire to obtain a target data report, including:
[0145] Based on the preliminary assessment report, the difficulties of the application content and the application process in doubt are obtained;
[0146] According to the difficulties of the application content and the questionable application process, the evaluator and the business party are asked and answered questions through the data report generation model, and / or the knowledge base is searched through the data report generation model to obtain the target data report.
[0147] Optionally, the data report generation model is trained by the following method:
[0148] Get training data;
[0149] Preprocessing the training data to obtain feature data;
[0150] Preliminarily training the neural network model based on the characteristic data to obtain predicted report generation content, knowledge base retrieval content, and question and answer content;
[0151] Compare the predicted report generation content, knowledge base search content and question-and-answer content with the actual results on historical data to obtain a prediction error value;
[0152] According to the prediction error value, the model parameters are tuned until the prediction error value reaches a preset threshold, thereby obtaining a data report generation model.
[0153] It should be noted that the device is a device corresponding to the above method, and all implementation methods in the above method embodiments are applicable to the embodiments of the device and can achieve the same technical effects.
[0154] An embodiment of the present invention provides a computing device, comprising: a processor and a memory storing a computer program, wherein when the computer program is executed by the processor, the method described above is executed. All implementations in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.
[0155] The embodiment of the present invention further provides a computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to execute the above method. All implementations in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.
[0156] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0157] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0158] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0159] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0160] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0161] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0162] In addition, it should be pointed out that in the apparatus and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. Moreover, the steps of performing the above series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order, and some steps can be performed in parallel or independently of each other. For those of ordinary skill in the art, it is understandable that all or any steps or components of the method and apparatus of the present invention can be implemented in hardware, firmware, software or a combination thereof in any computing device (including processors, storage media, etc.) or a network of computing devices, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.
[0163] Therefore, the purpose of the present invention can also be achieved by running a program or a group of programs on any computing device. The computing device can be a well-known general device. Therefore, the purpose of the present invention can also be achieved by simply providing a program product containing a program code that implements the method or device. That is to say, such a program product also constitutes the present invention, and the storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any well-known storage medium or any storage medium developed in the future. It should also be pointed out that in the device and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. In addition, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order. Some steps can be performed in parallel or independently of each other.
[0164] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A data report generation method, characterized in that: include: Obtain target business information; Establishing a business declaration scenario based on the target business information; According to the business declaration scenario, target data of the target business is obtained; According to the target data, a target data report is obtained by generating a model through a trained data report; According to the target business information, a business declaration scenario is established, including: According to the target business information, a business declaration scenario is established in the form of a questionnaire; the business declaration scenario includes: declaration scenario name, description, scenario category, selection of declaration enterprise, target business and report template; Wherein, according to the business declaration scenario, the target data of the target business is obtained, including: According to the business declaration scenario, basic information and business process information of the target business are obtained; Obtain target data according to the basic information and business process information of the target business; Wherein, according to the target data, a target data report is obtained by generating a model through a trained data report, including: According to the target data, a model is generated through a data report to obtain a preliminary evaluation report; Based on the preliminary assessment report, the target data report is obtained by revising it in the form of a questionnaire; Wherein, according to the target data, a preliminary evaluation report is obtained through a data report generation model, including: Get target data; The data report generation model obtains the descriptive content information of the declared object according to the target data; Get the report template for the declaration scenario; Combining the description content information of the application object with the report template of the application scenario to obtain a preliminary evaluation report; The description of the declared object is combined with the report template of the declared scenario to obtain a preliminary evaluation report, including: Combine the descriptive content information provided by the applicant with the report template. If similar content is repeatedly filled in the report, call the large language model capability and input the basic information into the model. The model automatically generates the text of the descriptive information based on the information and the set text generation task and fills it into the corresponding position of the template, realizing the automatic generation of the descriptive content and the linkage between the context. Only one input can realize the synchronous automatic filling of the subsequent content, and finally form a preliminary evaluation report; The data report generation model is trained by the following method: Get training data; Preprocessing the training data to obtain feature data; Preliminarily training the neural network model based on the characteristic data to obtain predicted report generation content, knowledge base retrieval content, and question and answer content; Compare the predicted report generation content, knowledge base search content and question-and-answer content with the actual results on historical data to obtain a prediction error value; According to the prediction error value, the model parameters are tuned until the prediction error value reaches a preset threshold value, thereby obtaining a data report generation model; The training and functional application process of the data report generation model includes the following steps: data collection, data preprocessing, pretraining, fine-tuning, model evaluation and tuning, model deployment and functional docking, report generation function implementation, knowledge base retrieval function implementation, and intelligent question and answer function implementation; learning the universal laws and contextual relationships of language from large-scale unsupervised data, and then fine-tuning the model to adapt it to the task requirements of specific business scenarios, and continuously improving the performance and generalization ability of the model through evaluation and tuning; after model deployment and functional docking, using basic language capabilities to realize report generation, intelligent question and answer and knowledge base retrieval functions, generating corresponding reports, answers or suggestions based on the input data and questions, and retrieving relevant information from the knowledge base; Data collection: Collect the data required for the large model to form the first training data set, which mainly includes three aspects of data: data compliance policy documents and international laws and regulations, declaration report templates and drafts, and professional business knowledge; Data preprocessing: preprocess the first training data set to form a second training data set that is easy to process with the large model. The preprocessing includes processing erroneous characters, filling in missing values, text formatting, text translation, data annotation, and removing redundant information. Pre-training: The second training data set is input into the model. The model uses large-scale unsupervised data to learn the representation and relationship of data through self-supervised learning, understand the universal laws of language and contextual relationships, and form basic language capabilities. Fine-tuning: Based on the existing pre-trained model, further train the model with a small amount of professional data to adapt it to service applications in related fields; collect core data of data compliance policy documents and professional business knowledge, build a third training data set, input the model for fine-tuning, and further optimize the model's performance on specific tasks; Model evaluation and tuning: Evaluate the fine-tuned model to measure its performance on specific tasks; based on the evaluation results, tune the model, including adjusting hyperparameters, adding training data, and improving the model structure; improve the performance and generalization ability of the model through an iterative optimization process; Model deployment and function connection: Deploy the trained model to the large language model module and create an API interface to implement data interaction between the large model and various intelligent applications; The data report generation model processes the input data as follows: first, the input training data is converted into a feature vector, and the input training data is position-encoded to obtain a position vector, the feature vector and the position vector are added to obtain a vector X, and the vector X is input into the encoder of the data report generation model; The data report generation model includes 6 encoders and 6 decoders; each encoder includes a multi-head self-attention layer and a feedforward neural network layer, and each decoder includes two connected multi-head self-attention layers and a feedforward neural network layer; the multi-head self-attention layer of the bottom encoder first receives the X vector and puts the X vector into a matrix to obtain the X matrix; the X matrix is multiplied by three preset weight matrices to obtain the Q matrix, the K matrix and the V matrix; then the self-attention is calculated according to the Q matrix, the K matrix and the V matrix to obtain the Z matrix; There are 8 Z matrices in total; the 8 Z matrices are spliced, and the spliced matrix is multiplied by another preset matrix to obtain the final Z matrix; the final Z matrix is merged and normalized and then input into the feedforward neural network layer, the feedforward neural network layer is a fully connected layer, and the activation function uses ReLU; the data output by the feedforward neural network layer is merged and normalized and then output, and the output result is input into the next encoder, and the same steps as above are performed, and finally the output result of the last encoder is input into the second multi-head self-attention layer of the decoder to calculate the corresponding Q vector and K vector; the first multi-head self-attention layer of the decoder inputs the real value on the historical data, and performs corresponding position encoding at the same time; the output result of the first multi-head self-attention layer and the output result of the last encoder are simultaneously input into the second multi-head self-attention layer, and the decoder decoding result is output after the feedforward neural network; after being decoded by multiple decoders in sequence, the prediction information is finally output; the prediction information is input into the linear layer and the normalized exponential function to obtain the prediction result; The step of deploying the data report generation model to a large language model specifically includes: The questionnaire module of the data report generation model is connected to the API interface of the large language model module to realize the automatic generation of part of the report content. The text description of the text generation task is written in the questionnaire template. The system recognizes the task and passes the relevant business data and the task description to the model for processing. The model understands the intention of the task description and organizes the business data into report segments as required. The ability to generate segments mainly comes from the training of existing report data in the fine-tuning stage. The segment content is returned to the questionnaire module and filled in the corresponding position of the report; when relevant content appears in the report context, according to the description of the text generation task, the module automatically generates the content at the same time and matches the segment content to the specific position of the report context; The knowledge base module of the data report generation model is connected to the API interface of the large language model module to transmit the keyword information retrieved by the user. After the backend interface receives the keyword, it is passed to the model for processing. The model understands the relevance between the keyword or question and the content in the knowledge base, performs precise retrieval and fuzzy retrieval in the knowledge base, and organizes the retrieved information into paragraphs, and returns it to the knowledge base module to provide the retrieval results to the user; Input the user's question into the API interface of the large language model module and pre-process the question text, including removing special characters and stop words; The preprocessed questions are vectorized to form a text format that is easy for the large model to understand; the large model combines the keywords in the question text, searches and collects relevant information in the trained data set and knowledge base, vectorizes the collected texts, and matches the relevance with the vectorized question texts; the large model organizes the language content using the highly relevant vectorized texts to form the final answer and returns it to the intelligent question and answer module; the large language model module is pre-trained based on professional knowledge to form language capabilities to support the functional implementation of the questionnaire module, the intelligent question and answer module, and the knowledge base module; the content linkage of the context can be formed based on the enterprise information content: based on the text generation task set in the questionnaire, the enterprise information in it is The content is input into the big language model, and the corresponding text content is output according to the task requirements, so as to realize the automatic filling of repeated information in the report; the answer generation based on professional knowledge is provided according to the user's inquiry: when the user asks a question, the big language model will generate an answer based on professional knowledge, and support multiple rounds of question and answer. For answers that do not meet the requirements, the question can be corrected and the answer can be continued; the key information is identified according to the search information provided by the user, and the search is performed in the knowledge base: the user can provide key information, and the big model performs precise search and fuzzy search in the knowledge base according to the information, and feeds back the relevant paragraph content to the user; the big language model module is mainly responsible for providing capability support, and its capabilities are called in the questionnaire module, intelligent question and answer module, and knowledge base module; Among them, according to the preliminary assessment report, the target data report is obtained through revision in the form of a questionnaire, including: Based on the preliminary assessment report, the difficulties of the application content and the application process in doubt are obtained; According to the difficulties of the application content and the doubtful application process, the evaluator and the business party are asked and answered questions through the data report generation model, and / or the knowledge base is searched through the data report generation model to obtain the target data report; The large language model module can generate answers based on professional knowledge according to the user's inquiry, support multiple rounds of question and answer, identify key information according to the search information provided by the user, search in the knowledge base, and provide feedback on the content of the paragraph involved.
2. A data report generating device, characterized in that: include: An acquisition module is used to acquire target business information; A generating module, used to establish a business declaration scenario according to the target business information; and obtain target data of the target business according to the business declaration scenario; According to the target data, a target data report is obtained by generating a model through a trained data report; According to the target business information, a business declaration scenario is established, including: According to the target business information, a business declaration scenario is established in the form of a questionnaire; the business declaration scenario includes: declaration scenario name, description, scenario category, selection of declaration enterprise, target business and report template; Wherein, according to the business declaration scenario, the target data of the target business is obtained, including: According to the business declaration scenario, basic information and business process information of the target business are obtained; Obtain target data according to the basic information and business process information of the target business; Wherein, according to the target data, a target data report is obtained by generating a model through a trained data report, including: According to the target data, a model is generated through a data report to obtain a preliminary evaluation report; Based on the preliminary assessment report, the target data report is obtained by revising it in the form of a questionnaire; Wherein, according to the target data, a preliminary evaluation report is obtained through a data report generation model, including: Get target data; The data report generation model obtains the descriptive content information of the declared object according to the target data; Get the report template for the declaration scenario; Combining the description content information of the application object with the report template of the application scenario to obtain a preliminary evaluation report; The description of the declared object is combined with the report template of the declared scenario to obtain a preliminary evaluation report, including: Combine the descriptive content information provided by the applicant with the report template. If similar content is repeatedly filled in the report, call the large language model capability and input the basic information into the model. The model automatically generates the text of the descriptive information based on the information and the set text generation task and fills it into the corresponding position of the template, realizing the automatic generation of the descriptive content and the linkage between the context. Only one input can realize the synchronous automatic filling of the subsequent content, and finally form a preliminary evaluation report; The data report generation model is trained by the following method: Get training data; Preprocessing the training data to obtain feature data; Preliminarily training the neural network model based on the characteristic data to obtain predicted report generation content, knowledge base retrieval content, and question and answer content; Compare the predicted report generation content, knowledge base search content and question-and-answer content with the actual results on historical data to obtain a prediction error value; According to the prediction error value, the model parameters are tuned until the prediction error value reaches a preset threshold value, thereby obtaining a data report generation model; The training and functional application process of the data report generation model includes the following steps: data collection, data preprocessing, pretraining, fine-tuning, model evaluation and tuning, model deployment and functional docking, report generation function implementation, knowledge base retrieval function implementation, and intelligent question and answer function implementation; learning the universal laws and contextual relationships of language from large-scale unsupervised data, and then fine-tuning the model to adapt it to the task requirements of specific business scenarios, and continuously improving the performance and generalization ability of the model through evaluation and tuning; after model deployment and functional docking, using basic language capabilities to realize report generation, intelligent question and answer and knowledge base retrieval functions, generating corresponding reports, answers or suggestions based on the input data and questions, and retrieving relevant information from the knowledge base; Data collection: Collect the data required for the large model to form the first training data set, which mainly includes three aspects of data: data compliance policy documents and international laws and regulations, declaration report templates and drafts, and professional business knowledge; Data preprocessing: preprocess the first training data set to form a second training data set that is easy to process with the large model. The preprocessing includes processing erroneous characters, filling in missing values, text formatting, text translation, data annotation, and removing redundant information. Pre-training: The second training data set is input into the model. The model uses large-scale unsupervised data to learn the representation and relationship of data through self-supervised learning, understand the universal laws of language and contextual relationships, and form basic language capabilities. Fine-tuning: Based on the existing pre-trained model, further train the model with a small amount of professional data to adapt it to service applications in related fields; collect core data of data compliance policy documents and professional business knowledge, build a third training data set, input the model for fine-tuning, and further optimize the model's performance on specific tasks; Model evaluation and tuning: Evaluate the fine-tuned model to measure its performance on specific tasks; based on the evaluation results, tune the model, including adjusting hyperparameters, adding training data, and improving the model structure; improve the performance and generalization ability of the model through an iterative optimization process; Model deployment and function connection: Deploy the trained model to the large language model module and create an API interface to implement data interaction between the large model and various intelligent applications; The data report generation model processes the input data as follows: first, the input training data is converted into a feature vector, and the input training data is position-encoded to obtain a position vector, the feature vector and the position vector are added to obtain a vector X, and the vector X is input into the encoder of the data report generation model; The data report generation model includes 6 encoders and 6 decoders; each encoder includes a multi-head self-attention layer and a feedforward neural network layer, and each decoder includes two connected multi-head self-attention layers and a feedforward neural network layer; the multi-head self-attention layer of the bottom encoder first receives the X vector and puts the X vector into a matrix to obtain the X matrix; the X matrix is multiplied by three preset weight matrices to obtain the Q matrix, the K matrix and the V matrix; then the self-attention is calculated according to the Q matrix, the K matrix and the V matrix to obtain the Z matrix; There are 8 Z matrices in total; the 8 Z matrices are spliced, and the spliced matrix is multiplied by another preset matrix to obtain the final Z matrix; the final Z matrix is merged and normalized and then input into the feedforward neural network layer, the feedforward neural network layer is a fully connected layer, and the activation function uses ReLU; the data output by the feedforward neural network layer is merged and normalized and then output, and the output result is input into the next encoder, and the same steps as above are performed, and finally the output result of the last encoder is input into the second multi-head self-attention layer of the decoder to calculate the corresponding Q vector and K vector; the first multi-head self-attention layer of the decoder inputs the real value on the historical data, and performs corresponding position encoding at the same time; the output result of the first multi-head self-attention layer and the output result of the last encoder are simultaneously input into the second multi-head self-attention layer, and the decoder decoding result is output after the feedforward neural network; after being decoded by multiple decoders in sequence, the prediction information is finally output; the prediction information is input into the linear layer and the normalized exponential function to obtain the prediction result; The step of deploying the data report generation model to a large language model specifically includes: The questionnaire module of the data report generation model is connected to the API interface of the large language model module to realize the automatic generation of part of the report content. The text description of the text generation task is written in the questionnaire template. The system recognizes the task and passes the relevant business data and the task description to the model for processing. The model understands the intention of the task description and organizes the business data into report segments as required. The ability to generate segments mainly comes from the training of existing report data in the fine-tuning stage. The segment content is returned to the questionnaire module and filled in the corresponding position of the report; when relevant content appears in the report context, according to the description of the text generation task, the module automatically generates the content at the same time and matches the segment content to the specific position of the report context; The knowledge base module of the data report generation model is connected to the API interface of the large language model module to transmit the keyword information retrieved by the user. After the backend interface receives the keyword, it is passed to the model for processing. The model understands the relevance between the keyword or question and the content in the knowledge base, performs precise retrieval and fuzzy retrieval in the knowledge base, and organizes the retrieved information into paragraphs, and returns it to the knowledge base module to provide the retrieval results to the user; Input the user's question into the API interface of the large language model module and pre-process the question text, including removing special characters and stop words; The preprocessed questions are vectorized to form a text format that is easy for the large model to understand; the large model combines the keywords in the question text, searches and collects relevant information in the trained data set and knowledge base, vectorizes the collected texts, and matches the relevance with the vectorized question texts; the large model organizes the language content using the highly relevant vectorized texts to form the final answer and returns it to the intelligent question and answer module; the large language model module is pre-trained based on professional knowledge to form language capabilities to support the functional implementation of the questionnaire module, the intelligent question and answer module, and the knowledge base module; the content linkage of the context can be formed based on the enterprise information content: based on the text generation task set in the questionnaire, the enterprise information in it is The content is input into the big language model, and the corresponding text content is output according to the task requirements, so as to realize the automatic filling of repeated information in the report; the answer generation based on professional knowledge is provided according to the user's inquiry: when the user asks a question, the big language model will generate an answer based on professional knowledge, and support multiple rounds of question and answer. For answers that do not meet the requirements, the question can be corrected and the answer can be continued; the key information is identified according to the search information provided by the user, and the search is performed in the knowledge base: the user can provide key information, and the big model performs precise search and fuzzy search in the knowledge base according to the information, and feeds back the relevant paragraph content to the user; the big language model module is mainly responsible for providing capability support, and its capabilities are called in the questionnaire module, intelligent question and answer module, and knowledge base module; Among them, according to the preliminary assessment report, the target data report is obtained through revision in the form of a questionnaire, including: Based on the preliminary assessment report, the difficulties of the application content and the application process in doubt are obtained; According to the difficulties of the application content and the doubtful application process, the evaluator and the business party are asked and answered questions through the data report generation model, and / or the knowledge base is searched through the data report generation model to obtain the target data report; The large language model module can generate answers based on professional knowledge according to the user's inquiry, support multiple rounds of question and answer, identify key information according to the search information provided by the user, search in the knowledge base, and provide feedback on the content of the paragraph involved.
3. A computing device, characterized in that: include: A processor and a memory storing a computer program, wherein when the computer program is executed by the processor, the method according to claim 1 is performed.
4. A computer-readable storage medium, characterized in that: Instructions are stored, which, when executed on a computer, cause the computer to perform the method as claimed in claim 1.
