Robot question and answer method, system and device based on artificial intelligence and medium

Through the robot Q&A method based on artificial intelligence, the internal data of the enterprise is used to train the Q&A model and perform confidentiality judgment, which solves the problem of data leakage when the Q&A model is used within the enterprise, achieves effective permission control of the Q&A content, and ensures data security. and improvements in operational efficiency.

CN118779922APending Publication Date: 2024-10-15SICHUAN ZHONGDIAN AOSTAR INFORMATION TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411007010.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The existing question and answer model is prone to leaking confidential data when used within the enterprise, and lacks effective data desensitization and permission control, resulting in a high risk of data leakage.

Method used

The robot Q&A method based on artificial intelligence trains the Q&A model through the company's internal data, desensitizes it according to the confidentiality level of the data table, and displays the answer content through permission verification to ensure that legitimate users can only access information within the permission range.

Benefits of technology

It effectively prevents illegal users from accessing confidential data, improves corporate operational efficiency and data security, and ensures the confidentiality of internal corporate information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779922A_ABST
    Figure CN118779922A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent questioning and answering, in particular to a robot questioning and answering method, system and device based on artificial intelligence and a medium. The method comprises the steps of training a question-answer model according to enterprise internal data, and generating answers according to input questions; then according to a security level marked in a data table of an internal data source of the enterprise, judging whether the answer is subjected to desensitization processing or not; and finally, judging whether the security level of the desensitized answer is higher than the authority level of the enterprise employee or not, and displaying the shielded answer content in the authorized data query request. By limiting the output of the answers, it is ensured that legal users can watch the answers within the permission range, illegal users are prevented from using a question-answering system, the legal users are prevented from watching contents beyond the permission, the operation efficiency of enterprises is improved, meanwhile, the security requirements of internal data of the enterprises are met, and it is ensured that internal confidentials of the enterprises are not leaked.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent question answering technology, and in particular to an artificial intelligence-based robot question answering method, system, device and medium. Background Art

[0002] Intelligent Question Answering (IQA) is a question-answering system based on artificial intelligence technology. It uses natural language processing (NLP), machine learning (ML), deep learning (DL) and other technologies to automatically understand and answer questions raised by users. The intelligent question-answering system aims to simulate the human question-answering process, allowing users to interact with the system through natural language and obtain accurate and useful information. The working principle of the intelligent question-answering system usually includes the following steps: 1) Question understanding: The system uses natural language processing technology to parse the user's input and understand the intent and key information of the question.

[0003] 2) Information retrieval: Based on the intent and key information of the question, the system will retrieve relevant information from existing knowledge bases, databases or Internet resources.

[0004] 3) Answer generation: The system generates answers based on the retrieved information through knowledge reasoning, text summarization and other techniques.

[0005] 4) Answer presentation: The system presents the generated answers to the user in natural language and can be further optimized based on user feedback.

[0006] With the rapid development of computer technology and artificial intelligence technology, many robot question-answering products have emerged, such as GPT abroad, Wenxin Yiyan and Tongyi Qianwen in China, etc. These robot question-answering products use question-answering models based on machine learning, and the data used in the training and reasoning stages of the question-answering models are usually public data.

[0007] At present, there may be a need to build a robot question-and-answer system within an enterprise. However, internal enterprise data is usually confidential and cannot be made public. If the robot question-and-answer system outputs answers without restriction, it is likely to cause confidential data leakage. At the same time, the internal personnel of an enterprise are complex and their permissions vary. It is necessary to ensure that personnel with low-level permissions cannot access highly confidential data through robot question-and-answer without authorization.

[0008] The training and reasoning stages of the question-answering model use public data, and the user group is the general public. However, some companies may need to migrate the question-answering model internally for use by internal employees. In actual practice, it is found that internal corporate data is usually confidential. If it is migrated roughly, it is easy for the question-answering model to output some sensitive and confidential data, which in turn leads to data leakage, which is disadvantageous to corporate operations.

[0009] The Chinese invention patent with the patent publication number "CN117633185A" and the name "A method for implementing vertical field applications based on a universal large language model" desensitizes data by replacing sensitive words. However, this method is too simple and crude. In some cases, the output answer does not contain sensitive words, but is generated based on confidential data sources. In this solution, such answers will bypass the desensitization process and lead to data leakage. For example, data such as turnover and number of equipment are numerical, not words; in addition, the solution only replaces sensitive words with "*" and does not provide subsequent effective query methods. Summary of the invention

[0010] Aiming at the problem that the existing question-and-answer method is easy to leak confidential data and has no subsequent effective query means, the present invention proposes a robot question-and-answer method, system, device and medium based on artificial intelligence; the method first trains a question-and-answer model according to internal enterprise data, and secondly generates answers according to input questions; then, according to the confidentiality level marked in the data table of the internal enterprise data source, it is judged whether to perform desensitization processing on the answer; finally, it is judged whether the confidentiality level of the desensitized answer is higher than the enterprise employee authority level, and the authorized data query request displays the shielded answer content; by restricting the output of the answer, it is ensured that the legitimate users can view the answers within the authority scope, and it is prevented that the illegal users use the question-and-answer system and the legitimate users view the content beyond the authority, thereby improving the operation efficiency of the enterprise, meeting the security requirements of the internal enterprise data, and ensuring that the internal enterprise secrets are not leaked.

[0011] The specific implementation contents of the present invention are as follows: A robot question-answering method based on artificial intelligence first trains a question-answering model according to the acquired internal enterprise data, and then generates answers according to the input questions obtained from users and the trained question-answering model; then, according to the confidentiality level marked in the data table of the internal enterprise data source, it is determined whether to perform desensitization processing on the answers; finally, it is determined whether the confidentiality level of the desensitized answers is higher than the enterprise employee authority level, and if so, a data query request is generated according to the acquired data query reason, and the blocked answer content is displayed according to the authorized data query request.

[0012] In order to better implement the present invention, further, the robot question-answering method based on artificial intelligence specifically includes the following steps: Step S1: training a question-answering model based on the acquired internal enterprise data; Step S2: Input the questions obtained from the user into the trained question-answering model, and generate answers based on the obtained internal enterprise data source; Step S3: judging whether to perform desensitization processing on the data table data contained in the answer according to the data table confidentiality level of the marked internal enterprise data source; Step S4: Determine whether the confidentiality level of the anonymized answer is higher than the enterprise employee's authority level. If it is higher, generate a data query request based on the data query reason obtained from the data query page, and display and output the masked answer content based on the authorized data query request.

[0013] In order to better implement the present invention, further, the step S3 specifically includes the following steps: Step S31: judging whether to perform desensitization processing on the data table data in the generated answer according to the data table confidentiality level of the marked internal enterprise data source; Step S32: If the confidentiality level marked on the data table is publicly available, no desensitization is performed; if the confidentiality level marked on the data table is confidential, the data table data contained in the generated answer is desensitized.

[0014] In order to better implement the present invention, further, step S3 also includes: Step S33: Obtain the enterprise employee's authority according to the enterprise employee's login account, verify the enterprise employee's authority through a preset password and a dynamic verification code, and desensitize the data in the data table whose answers to the verified enterprise employee's authority have a higher confidentiality level than the enterprise employee's authority level.

[0015] In order to better implement the present invention, further, the step S4 specifically includes the following steps: Step S41: Determine whether the confidentiality level of the de-identified answer is higher than the enterprise employee's authority level. When the content whose confidentiality level is higher than the enterprise employee's authority is triggered by the enterprise employee, display the data query page; Step S42: Generate a data query request based on the data query reason obtained from the data query page, and send it to the authorization detection terminal; Step S43: If the authorization detection terminal authorizes the data query reason, the shielded answer content is displayed and output.

[0016] The artificial intelligence-based robot question-answering method according to claim 2 is characterized in that step S2 specifically comprises the following steps: Step S21: Input the question obtained from the user into the trained question-answering model, and analyze the question intent and key information; Step S22: Retrieve relevant information from the enterprise's internal data source based on the question intent and key information of the question; Step S23: Generate an answer based on knowledge reasoning and relevant information described in the text summary.

[0017] In order to better implement the present invention, further, the specific operation of step S1 is: first initialize the model parameters according to the model architecture of the open source question-answering model to obtain the initialized question-answering model, and then train the initialized question-answering model according to the acquired internal enterprise data; or first call the public data set to pre-train the question-answering model, and then fine-tune the pre-trained question-answering model according to the acquired internal enterprise data.

[0018] Based on the above-mentioned artificial intelligence-based robot question-answering method, in order to better realize the present invention, further, a robot question-answering system based on artificial intelligence is proposed, which is used to execute the above-mentioned artificial intelligence-based robot question-answering method; including a question-answering training unit, an answer generation unit, a desensitization unit, and an output unit; The question-answering training unit is used to train the question-answering model based on the acquired internal enterprise data; The answer generation unit is used to generate an answer based on the input question obtained from the user and the trained question-answering model; The desensitization unit is used to determine whether to perform desensitization processing on the answer according to the confidentiality level marked in the data table of the internal data source of the enterprise; The output unit is used to determine whether the confidentiality level of the desensitized answer is higher than the enterprise employee's authority level. If it is higher, a data query request is generated according to the acquired data query reason, and the shielded answer content is displayed according to the authorized data query request.

[0019] Based on the above-mentioned artificial intelligence-based robot question-answering method, in order to better realize the present invention, further, an electronic device is proposed, including a memory and a processor; a computer program is stored on the memory; when the computer program is executed on the processor, the above-mentioned artificial intelligence-based robot question-answering method is implemented.

[0020] Based on the above-mentioned artificial intelligence-based robot question-answering method, in order to better realize the present invention, further, a computer-readable storage medium is proposed, on which computer instructions are stored; when the computer instructions are executed on the above-mentioned electronic device, the above-mentioned artificial intelligence-based robot question-answering method is implemented.

[0021] The present invention has the following beneficial effects: (1) The present invention restricts the output of answers to ensure that legitimate users can view answers within their authorized scope, preventing illegal users from using the question-and-answer system and legitimate users from viewing content beyond their authorized scope. This improves the operational efficiency of the enterprise and meets the security requirements of the enterprise's internal data, ensuring that internal enterprise secrets are not leaked.

[0022] (2) The present invention uses data query requests to view blocked content, and the process can be combined with the internal office system of the enterprise, thereby improving the degree of automation and intelligence. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 This is a schematic block diagram of the process of the artificial intelligence-based robot question-answering method provided by the present invention. DETAILED DESCRIPTION

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. It should be understood that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, and therefore should not be regarded as limiting the scope of protection. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technical personnel in this field without making creative work are within the scope of protection of the present invention.

[0025] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "disposed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0026] Embodiment 1: This embodiment proposes a robot question-answering method based on artificial intelligence. First, a question-answering model is trained based on the acquired internal enterprise data. Second, an answer is generated based on the input question obtained from the user and the trained question-answering model. Then, according to the confidentiality level marked in the data table of the internal enterprise data source, it is determined whether to perform desensitization processing on the answer. Finally, it is determined whether the confidentiality level of the desensitized answer is higher than the enterprise employee authority level. If it is higher, a data query request is generated based on the acquired data query reason, and the blocked answer content is displayed based on the authorized data query request. Specifically, the following steps are included: Step S1: Train the question-answering model based on the acquired internal enterprise data.

[0027] Furthermore, the specific operation of step S1 is: first initialize the model parameters according to the model architecture of the open source question-answering model to obtain the initialized question-answering model, and then train the initialized question-answering model according to the acquired internal enterprise data; or first call the public data set to pre-train the question-answering model, and then fine-tune the pre-trained question-answering model according to the acquired internal enterprise data.

[0028] Step S2: Input the questions obtained from the user into the trained question-answering model, and generate answers based on the obtained internal enterprise data source.

[0029] The step S2 specifically includes the following steps: Step S21: Input the question obtained from the user into the trained question-answering model, and analyze the question intent and key information; Step S22: Retrieve relevant information from the enterprise's internal data source based on the question intent and key information of the question; Step S23: Generate an answer based on knowledge reasoning and relevant information described in the text summary.

[0030] Step S3: Determine whether to perform desensitization processing on the data table data contained in the answer according to the data table confidentiality level of the marked internal enterprise data source.

[0031] Furthermore, the step S3 specifically includes the following steps: Step S31: judging whether to perform desensitization processing on the data table data in the generated answer according to the data table confidentiality level of the marked internal enterprise data source; Step S32: If the confidentiality level marked on the data table is publicly available, no desensitization is performed; if the confidentiality level marked on the data table is confidential, the data table data contained in the generated answer is desensitized.

[0032] In order to better implement the present invention, further, step S3 also includes: Step S33: Obtain the enterprise employee's authority according to the enterprise employee's login account, verify the enterprise employee's authority through a preset password and a dynamic verification code, and desensitize the data in the data table whose answers to the verified enterprise employee's authority have a higher confidentiality level than the enterprise employee's authority level.

[0033] Step S4: Determine whether the confidentiality level of the anonymized answer is higher than the enterprise employee's authority level. If it is higher, generate a data query request based on the data query reason obtained from the data query page, and display and output the masked answer content based on the authorized data query request.

[0034] Furthermore, the step S4 specifically includes the following steps: Step S41: Determine whether the confidentiality level of the de-identified answer is higher than the enterprise employee's authority level. When the content whose confidentiality level is higher than the enterprise employee's authority is triggered by the enterprise employee, display the data query page; Step S42: Generate a data query request based on the data query reason obtained from the data query page, and send it to the authorization detection terminal; Step S43: If the authorization detection terminal authorizes the data query reason, the shielded answer content is displayed and output.

[0035] Working principle: The present invention first trains the question-answering model based on the internal data of the enterprise, and then generates answers based on the input questions; then, according to the confidentiality level marked in the data table of the internal data source of the enterprise, it determines whether to desensitize the answers; finally, it determines whether the confidentiality level of the desensitized answers is higher than the authority level of the enterprise employees, and the authorized data query request displays the shielded answer content; by restricting the output of the answers, it ensures that legal users can view the answers within the authority scope, avoids illegal users from using the question-answering system, and legal users from viewing content beyond their authority, thereby improving the operating efficiency of the enterprise, while meeting the security requirements of the internal data of the enterprise, and ensuring that the internal secrets of the enterprise are not leaked.

[0036] Embodiment 2: This embodiment is described in detail with a specific embodiment based on the above embodiment 1.

[0037] Step S1: Train the question-answering model based on the enterprise's internal data.

[0038] The core point of this embodiment is not the question-answering model itself, so there is no limitation on the type of question-answering model and the specific training method. For example, the model architecture of an open source question-answering model can be used to initialize the model parameters, and then the question-answering model can be trained according to the internal data of the enterprise; or, based on the question-answering model pre-trained with a public data set, the pre-trained question-answering model can be fine-tuned using the internal data of the enterprise, which can reduce the training cost and improve the training efficiency.

[0039] Step S2: After completing the training of the question-answering model, enter the model reasoning stage. Specifically, it may include the following sub-steps: Step S21: The question-answering model receives the question input by the user, parses the question, and understands the intention and key information of the question.

[0040] Step S22: The question-answering model retrieves relevant information from the enterprise's internal data sources based on the intent and key information of the question.

[0041] Step S23: The question-answering model generates answers based on the retrieved information through knowledge reasoning, text summarization and other techniques.

[0042] Step S3: Perform security control on the answers generated by the question-answering model so that they are presented to users in a secure manner.

[0043] Specifically, the safety control in step S3 can be implemented in the following manner: (1) Preset some sensitive words and detect whether the answers generated by the question-answering model include these sensitive words. If they do, desensitize the sensitive words in the answers before displaying them in the interface. For example, you can replace the sensitive words in the answers with asterisks, and keep the content other than the sensitive words unchanged.

[0044] (2) Pre-mark the confidentiality level of different data tables in the internal data sources of the enterprise, such as the turnover data table, the equipment production line data table, or other data formats, such as public or confidential. Assuming that the question-answering model uses data in a certain data table in the process of generating answers, determine whether to desensitize the data in the answer based on the confidentiality level of the data table. For example, if the data table is public, it remains unchanged; if the data table is confidential, the data in the data table contained in the answer is desensitized.

[0045] On this basis, the desensitization process can be further optimized according to the user's authority. For example, enterprise employees can be divided into three types of authority: high, medium, and low. Similarly, sensitive words or data tables can be divided into three levels of confidentiality: high, medium, and low. Employees with low authority can only access data with low confidentiality and no confidentiality, while employees with medium authority can access data with low, medium, and no confidentiality, and so on. In the question-and-answer process, the authority of the user who inputs the question is obtained, and the sensitive words or data table data with a confidentiality level higher than the authority in the answer are desensitized, while the sensitive words or data table data with a confidentiality level lower than the authority remain unchanged. Among them, the user's authority can be directly obtained according to the user's current logged-in account. On this basis, the user's authority can also be further verified, such as requiring the user to enter a preset password, or linking with the company's internal office system to require the user to enter a dynamic verification code in the company's internal office system. The company's internal office system can be installed on a mobile phone or computer. The dynamic verification code is bound to the user's authority and updated at regular intervals.

[0046] For the content in the answer whose confidentiality level is higher than the user's authority, this solution also provides additional data query means. Specifically, when the content in the answer whose confidentiality level is higher than the user's authority is triggered by the user, such as being clicked, a data query page can be displayed. The data query page includes the authorized users of the confidentiality level, that is, the relevant information with the authorized authority, that is, the authorized users of each confidentiality level can be pre-configured, and even different authorized users can be configured for different confidential content of each confidentiality level, as well as the data query reasons that need to be filled in, wherein the data query reasons are optional and may not be filled in. After the user completes the data query reasons, a data query request is automatically generated based on the data query reasons and sent to the authorized user. This process can be implemented based on the approval flow in the internal office system of the enterprise. When the authorized user's authorization is passed, the blocked content in the answer is displayed normally, wherein each answer can be retained for a short period of time, such as 3 days, in the question-and-answer chat box to avoid the loss of the answer after switching pages.

[0047] Working principle: This embodiment performs security control on the answers generated by the question-answering model and limits the display of the answers. The blocked content can be viewed through data query requests, and this process can be combined with the company's internal office system to improve the degree of automation and intelligence.

[0048] This embodiment takes a different approach based on the traditional question-and-answer process and restricts the output of answers, thereby ensuring that legitimate users can view answers within their authorized scope, preventing illegal users from using the question-and-answer system, and legitimate users from viewing content that exceeds their authorized scope. In this way, the question-and-answer system can be used to improve the company's operational efficiency, while meeting the security requirements of the company's internal data and ensuring that internal corporate secrets are not leaked.

[0049] In addition, this embodiment supports users to view blocked content through data query requests, which can be compatible with the internal document approval mechanism of the enterprise.

[0050] The other parts of this embodiment are the same as those of the above-mentioned embodiment 1, and thus will not be described in detail.

[0051] Embodiment 3: This embodiment is based on any one of the above embodiments 1 to 2. Figure 1 As shown, a robot question-answering system based on artificial intelligence is proposed, which is used to execute the above-mentioned robot question-answering method based on artificial intelligence; it includes a question-answering training unit, an answer generation unit, a desensitization unit, and an output unit; The question-answering training unit is used to train the question-answering model based on the acquired internal enterprise data; The answer generation unit is used to generate an answer based on the input question obtained from the user and the trained question-answering model; The desensitization unit is used to determine whether to perform desensitization processing on the answer according to the confidentiality level marked in the data table of the internal data source of the enterprise; The output unit is used to determine whether the confidentiality level of the desensitized answer is higher than the enterprise employee's authority level. If it is higher, a data query request is generated according to the acquired data query reason, and the shielded answer content is displayed according to the authorized data query request.

[0052] This embodiment also proposes an electronic device, including a memory and a processor; a computer program is stored on the memory; when the computer program is executed on the processor, the above-mentioned artificial intelligence-based robot question-answering method is implemented.

[0053] This embodiment also proposes a computer-readable storage medium, on which computer instructions are stored; when the computer instructions are executed on the electronic device mentioned above, the above-mentioned artificial intelligence-based robot question-answering method is implemented.

[0054] The other parts of this embodiment are the same as any one of the above-mentioned embodiments 1-2, so they will not be repeated here.

[0055] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any simple modification or equivalent change made to the above embodiment based on the technical essence of the present invention shall fall within the protection scope of the present invention.

Claims

1. A robot question-answering method based on artificial intelligence, characterized in that: First, the question-answering model is trained based on the internal enterprise data. Secondly, the answer is generated based on the input questions obtained from the user and the trained question-answering model. Then, based on the confidentiality level marked in the data table of the internal enterprise data source, it is determined whether the answer should be desensitized. Finally, it is determined whether the confidentiality level of the desensitized answer is higher than the enterprise employee authority level. If it is higher, a data query request is generated based on the obtained data query reason, and the blocked answer content is displayed based on the authorized data query request.

2. The method for answering a question by a robot based on artificial intelligence according to claim 1, characterized in that: The robot question-answering method based on artificial intelligence specifically comprises the following steps: Step S1: training a question-answering model based on the acquired internal enterprise data; Step S2: Input the questions obtained from the user into the trained question-answering model, and generate answers based on the obtained internal enterprise data source; Step S3: judging whether to perform desensitization processing on the data table data contained in the answer according to the data table confidentiality level of the marked internal enterprise data source; Step S4: Determine whether the confidentiality level of the anonymized answer is higher than the enterprise employee's authority level. If it is higher, generate a data query request based on the data query reason obtained from the data query page, and display and output the masked answer content based on the authorized data query request.

3. The method for answering questions by a robot based on artificial intelligence according to claim 2, characterized in that: The step S3 specifically comprises the following steps: Step S31: judging whether to perform desensitization processing on the data table data in the generated answer according to the data table confidentiality level of the marked internal enterprise data source; Step S32: If the confidentiality level marked on the data table is publicly available, no desensitization is performed; if the confidentiality level marked on the data table is confidential, the data table data contained in the generated answer is desensitized.

4. The method for answering a question by a robot based on artificial intelligence according to claim 3, characterized in that: The step S3 further comprises: Step S33: Obtain the enterprise employee's authority according to the enterprise employee's login account, verify the enterprise employee's authority through a preset password and a dynamic verification code, and desensitize the data in the data table whose answers to the verified enterprise employee's authority have a higher confidentiality level than the enterprise employee's authority level.

5. The method for answering a question by a robot based on artificial intelligence according to claim 4, characterized in that: The step S4 specifically comprises the following steps: Step S41: Determine whether the confidentiality level of the anonymized answer is higher than the enterprise employee's authority level. When the content whose confidentiality level is higher than the enterprise employee's authority is triggered by the enterprise employee, display the data query page; Step S42: Generate a data query request based on the data query reason obtained from the data query page, and send it to the authorization detection terminal; Step S43: If the authorization detection terminal authorizes the data query reason, the shielded answer content is displayed and output.

6. The method for answering questions by a robot based on artificial intelligence according to claim 2, characterized in that: The step S2 specifically includes the following steps: Step S21: Input the question obtained from the user into the trained question-answering model, and analyze the question intent and key information; Step S22: Retrieve relevant information from the enterprise's internal data source based on the question intent and key information of the question; Step S23: Generate an answer based on knowledge reasoning and relevant information described in the text summary.

7. The robot question-answering method based on artificial intelligence according to claim 2, characterized in that: The specific operation of step S1 is: first initialize the model parameters according to the model architecture of the open source question-answering model to obtain the initialized question-answering model, and then train the initialized question-answering model according to the acquired internal enterprise data; or first call the public data set to pre-train the question-answering model, and then fine-tune the pre-trained question-answering model according to the acquired internal enterprise data.

8. A robot question-answering system based on artificial intelligence, used to execute the robot question-answering method based on artificial intelligence as claimed in claim 1; characterized in that: It includes question-answering training unit, answer generation unit, desensitization unit and output unit; The question-answering training unit is used to train the question-answering model based on the acquired internal enterprise data; The answer generation unit is used to generate an answer based on the input question obtained from the user and the trained question-answering model; The desensitization unit is used to determine whether to perform desensitization processing on the answer according to the confidentiality level marked in the data table of the internal data source of the enterprise; The output unit is used to determine whether the confidentiality level of the desensitized answer is higher than the enterprise employee's authority level. If it is higher, a data query request is generated according to the acquired data query reason, and the shielded answer content is displayed according to the authorized data query request.

9. An electronic device, characterized in that: It comprises a memory and a processor; a computer program is stored in the memory; when the computer program is executed on the processor, the robot question-answering method based on artificial intelligence as described in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions; when the computer instructions are executed on the electronic device as described in claim 9, the artificial intelligence-based robot question-answering method as described in any one of claims 1-7 is implemented.