A method for accurately distinguishing and comparing knowledge base and task objects based on combined reading
By constructing the question and answer area and standard reference area of the knowledge base in the intelligent question and answer system, and using combined reading technology to perform precise distinction and comparison, the problem of inaccurate answer selection in intelligent question and answer is solved, and the display of analysis results with clear logic and credibility is achieved. .
Patent Information
- Application Number
- CN202410942241.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-15
AI Technical Summary
In the process of intelligent question answering, answers are usually extracted from a large number of knowledge bases, which makes it impossible to get the exact answer the user wants, and it is impossible to effectively confirm the reference file of the answer or perform backtracking.
By constructing a large model of the knowledge base file, it is divided into question and answer areas and standard reference areas, using combined reading technology to import the entire file or file group into these areas, and input questions through multiple methods for analysis and matching to form a question and answer queue. , and is intelligently associated with the standard reference area to display matching content and allow users to jump to view related files.
It achieves accurate distinction and comparison between knowledge base and task objects, avoids confusion in answer selection, ensures the credibility of AI analysis results, and provides friendly display tools to display logically clear calculation results.
Smart Images

Figure CN118485149B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and specifically to a method for realizing accurate distinction and comparison between a knowledge base and a task object based on combined reading. Background Art
[0002] With the continuous development of artificial intelligence, intelligent question and answer has been applied to intelligent customer service, online consultation and other service areas. Intelligent question and answer refers to natural language understanding as the core, through semantic analysis of the input query statement, and then through semantic retrieval or dialogue management and other technologies in a large-scale knowledge base, matching related questions, and finally generating answers and replying through natural language generation technology. Input multiple files for knowledge question and answer verification, but currently in the question and answer process, the selection of answers is usually extracted from a large number of knowledge bases. The range is large, and it is often impossible to get the exact answer that the user wants, and the reference file or the referenced file of the answer cannot be confirmed based on the answer to the question and answer; at the same time, the retrieved reference file or the referenced file cannot be effectively traced back for the question and answer. Summary of the invention
[0003] The purpose of the present invention is to provide a method for realizing accurate distinction and comparison between a knowledge base and a task object based on combined reading, so as to solve one or more problems raised in the above-mentioned background technology.
[0004] To achieve the above-mentioned purpose, the present invention provides the following technical solution: a method for realizing accurate distinction and comparison between a knowledge base and a task object based on combined reading, comprising the following steps:
[0005] Step S1: construct a large model of knowledge base files, and divide the knowledge base into different knowledge partitions, wherein the knowledge partitions are set to be question and answer areas and standard reference areas;
[0006] Step S2: Import the files as a whole or in groups into different knowledge partitions in the form of a marking book.
[0007] Step S3: Input questions in a variety of ways, match the analyzed input content with the files in the question and answer area, and form a question and answer queue for display;
[0008] Step S4: intelligently associating the content in the question and answer queue with the content in the standard reference area;
[0009] Step S5: Click on the question and answer content to jump to different partitions to view the content.
[0010] Preferably, the range of examination book files imported in step S2 includes single files, combined files, pictures, audio and video; if it is a picture, the text therein is scanned and recognized, and if it is audio and video, the voice content therein is automatically recognized, and the voice is converted into text, and the text is integrated into the audio and video file according to the vector information.
[0011] Preferably, the question and answer area refers to the original document content area that needs to be inquired about, and the standard reference area refers to the document area for standard reference and standard matching with respect to the questions in the question and answer area.
[0012] Preferably, the files in the knowledge partition are imported and studied in the form of a combined book, and the multiple files in the examination book exist independently. When doing intelligent question and answer, when tracing the original text of the answer content, the files are displayed in the form of a bound book, and the original content of the knowledge source is marked according to different levels according to the 'matching weight' in the bound book. The bound book directory and the original content in the bound book are all marked, that is, if the content on the specified page is marked, it will be marked on the directory at the same time.
[0013] Preferably, the specific process of question and answer content analysis and matching in step S3 is:
[0014] Step S31: Inputting questions in a variety of ways, including text, files, pictures, web pages, graphic content, audio and video;
[0015] Step S32: convert the input information into dimensions and adopt multi-dimensional analysis;
[0016] Step S33: Based on the above analyzed content, the content in the question and answer area is used as a benchmark to match the standard reference area, generate a series of question and answer content, and parse the content in the standard reference area as the basis for question and answer;
[0017] Step S34: Display the matched content in summary form in the answer display area to form an answer queue.
[0018] Preferably, in step S33, the content in the question and answer queue is bound to the original source of the standard reference area file item by item to form a question and answer content that combines serialized question and answer details, question sources, reference content, directories, directory labels, reference file sources, and matching weights; the reference file sources include files, single pages, paragraphs, single sentences, and single texts in the files.
[0019] Preferably, when the content in the answer queue is intelligently associated with the files in the question and answer area, they are marked in the question and answer area files, and the marked area is associated and bound with the content in the answer queue; when the content in the question and answer queue is intelligently associated with the files, they are marked in the standard reference area files, and the marked area is associated and bound with the content in the answer queue; if the files associated with the same answer in the answer queue include files in the question and answer area and files in the standard reference area, then the files in the question and answer area and the files in the standard reference area are associated and bound with each other; in the answer queue, the associated file marking symbol is displayed, and the marked content in the associated file is synchronously displayed in the directory in the file.
[0020] Preferably, the display form of the question and answer results can be typeset in a diversified structure; according to the chart document model, the chart logical structure is analyzed, and the data is filled into the chart and text model according to different modes; the display methods include mind maps, entity relationship diagrams, reports, and rich media texts, and in the display of question and answer content, the original text can be traced back to the files marked in the question and answer area and the standard reference area.
[0021] Preferably, the scope of original text tracing includes the question and answer area and the standard reference area. When clicking to view the question and answer area, the source of the question will pop up, and the corresponding area will be marked with the corresponding bound volume directory and bound volume content.
[0022] Preferably, when you click on the content in the answer queue, you will jump to the corresponding actual content of the file in the question and answer area. When you click on the source of the file content in the question and answer area, you can jump to expand and display the file with the binding relationship in the standard reference area.
[0023] Compared with the prior art, the present invention has the following beneficial effects:
[0024] (1) The present invention creatively uses the technology of file combination to realize the logical distinction between the knowledge base and application files and statements, so that the logical boundary between the application and the knowledge base is clear, avoiding errors caused by confusion between the two;
[0025] (2) The present invention creatively adopts file combination technology, so that the operation results can be quickly matched with the task files and knowledge base files in a visual form, and the result explanation is made in a complete and detailed visual form, so that users can know the process and basis of AI analysis at a glance, ensuring the credibility of AI analysis results;
[0026] (3) The present invention creatively adopts file combination technology, so that the originally scattered tasks and knowledge base contents are displayed in one window respectively, thereby providing a friendly display tool for the AI implementation process and result interpretation. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] Combination Figure 1 As shown, the present invention provides a method for realizing accurate distinction and comparison between a knowledge base and a task object based on combined reading, comprising the following steps:
[0030] Step S1: construct a knowledge base file model, and divide the knowledge base into different knowledge partitions, which are set as question and answer area and standard reference area. The question and answer area refers to the original document content area that needs to be queried, and the standard reference area refers to the document area for standard reference and standard matching for the questions in the question and answer area.
[0031] Step S2: Import the files as a whole or as a group into different knowledge partitions in the form of a marking book. A file group refers to a number of various files. For example, a part of the files can be imported into the question and answer area, and another part of the files can be imported into the standard reference area. The imported marking book files include single files, combined files, pictures, audio and video. If some files are imported into the question and answer area or the standard reference area, these files can be combined to form a bound book file. At the same time, if the imported file is a picture, the text therein is scanned and recognized; if the imported file is an audio, the voice content therein is automatically recognized, and the voice is converted into text, and the text is integrated into the audio and video file according to the vector information; if the imported file is a video, the voice is converted into text, and the playback picture is presented;
[0032] Step S3: When inputting questions on the intelligent question and answer page, questions can be input in the form of text, files, pictures, web pages, graphic content, audio and video, etc., and the input content is subjected to NLP analysis, and the analyzed input content is matched with the files in the question and answer area. The specific matching process is as follows: Step S31: Input questions in different ways; Step S32: According to the input question, the input information is dimensionally converted, and multi-dimensional analysis is adopted, that is, the input question can be converted, such as audio can be converted into text content, or it can be analyzed from the perspective of graphics and text; Step S33: According to the above-mentioned analyzed content, the content in the question and answer area is used as a benchmark to match the standard reference area, generate a series of question and answer content, and parse and analyze the content in the standard reference area as the basis for question and answer; mainly, the content in the question and answer queue is bound to the original source of the standard reference area file item by item to form a series of question and answer content that combines question and answer details, question source, reference content, directory, directory label, reference file source, and matching weight; at the same time, according to the reference content and the input question matching weight, the display When the matching weight is higher, the file with high matching degree is selected as the reference source; the reference file source includes files, single pages, paragraphs, single sentences, and single texts in the files; specifically, for example, a file about a person's daily behavior record is placed in the question and answer area, and the relevant legal provisions are placed in the standard reference area. On the intelligent question and answer interface, it is asked whether the daily behavior of this person is illegal. When consulting, the behavior record file in the question and answer area is first analyzed to find the corresponding behavior, and then the found behavior is compared with the standard reference area, and the two are combined to get the answer; step S34: according to the matched content, it is displayed in the answer display area in a summary form, and can be typeset in a diversified structure: for example, according to the chart document model, the logical structure of the chart can be analyzed, and the data can be filled into the chart and text model according to different modes; the result is displayed in the question and answer queue, and the display method includes mind map, entity relationship diagram, report, rich media text, etc. In the displayed question and answer content, the original text can be traced back to the file in the question and answer area or to the file in the standard reference area;
[0033] Step S4: Intelligently associate the content in the above-mentioned question and answer queue with the content in the standard reference area. When the content in the answer queue is intelligently associated with the file in the question and answer area, it is marked in the question and answer area file, and the marked area is associated and bound with the content of the answer queue; when the content in the question and answer queue is intelligently associated with the file in the standard reference area, the file in the standard reference area is marked, and the marked area is associated and bound with the content of the answer queue; if the files associated with the same answer in the answer queue include files in the question and answer area and files in the standard reference area, then the files in the question and answer area and the files in the standard reference area are associated and bound with each other. For example, the above-mentioned answer queue regarding whether the daily behavior of this person is illegal can be intelligently associated with the files in the question and answer area and the standard reference area respectively, and the relevant areas in the files in the question and answer area or the files in the standard reference area can be marked, and the marked areas can be bound to the relevant answers in the answer queue, or If the same answer in the answer queue is related to the daily behavior record file in the question and answer area and the legal file in the standard reference area, the daily behavior record file in the question and answer area can be linked and bound with the legal file in the standard reference area, that is, open the relevant file in the question and answer area, and you can query the relevant legal file content in the standard reference area in the annotation area of the relevant file; in the answer queue, the annotation symbol of the associated file is displayed, and the symbol can be customized. At the same time, the annotated content in the associated file is synchronously displayed in the directory in the file. If there is an associated file annotated in the question and answer area, the annotation mark is displayed on the file directory in the question and answer area. The annotation mark can be indicated by a small pen to show which page has the annotation. If there is an associated file annotated in the standard reference area, the annotation mark is synchronously displayed on the file directory in the standard reference area; when tracing back to the original text, the scope of the original text tracing includes the question and answer area, the standard reference area, When you click to view the question and answer area, the source of the input question will pop up, and the corresponding area in the bound volume directory and bound volume content will be marked, that is, when you click the answer displayed on the display interface, the question and answer area and the standard reference area will pop up, and at the same time, the directory of the bound volume in the question and answer area and the standard reference area will be marked with a mark symbol;
[0034] Step S5: Click on the question and answer content to jump to different partitions for content viewing. When you click on the content in the answer queue, you will jump to the corresponding actual file content in the question and answer area. When you click on the file content source in the question and answer area, you can jump to expand and display the files with binding relationships in the standard reference area.
[0035] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments are to be regarded as exemplary and non-limiting in all respects, and the scope of the invention is to be defined by the appended claims rather than by the foregoing description, and it is intended that all variations falling within the meaning and range of equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be regarded as limiting the claim to which it relates.
Claims
1. A method for accurately distinguishing and comparing a knowledge base and a task object based on combined reading, characterized in that: The following steps are involved: Step S1: construct a large model of knowledge base files, and divide the knowledge base into different knowledge partitions, wherein the knowledge partitions are set to be question and answer areas and standard reference areas; Step S2: Import the files as a whole or as a group into different knowledge partitions in the form of a marking book. The imported marking book files include single files, combined files, pictures, audio and video. If it is a picture, the text in it is scanned and recognized. If it is an audio and video, the voice content in it is automatically recognized and converted into text, and the text is integrated into the audio and video file according to the vector information. Step S3: Input questions in a variety of ways, match the analyzed input content with the files in the question-and-answer area, and display the matched content in a question-and-answer queue; the files in the knowledge partition are imported and learned in the form of a combined book, and the multiple files in the examination book exist independently; when doing intelligent question-and-answer, when tracing the original text of the answer content, the file is displayed in the form of a bound book, and the original content of the knowledge source is marked at different levels in the bound book according to the "matching weight", and the bound book directory and the original content in the bound book are marked, that is, if the content on the specified page is marked, it will be synchronized. Marked in the catalog; the specific process of question and answer content analysis and matching is as follows: Step S31: input questions in a variety of ways, including text, files, pictures, web pages, graphic content, audio and video; Step S32: convert the input information into dimensions and use multi-dimensional analysis; Step S33: according to the above analysis content, based on the content in the question and answer area, match the standard reference area, generate a series of question and answer content, and parse the content in the standard reference area as the basis for question and answer; Step S34: display the matched content in the answer display area in a summary form to form an answer queue; Step S4: intelligently associating the content in the question and answer queue with the content in the standard reference area; Step S5: Click on the question and answer content to jump to different partitions to view the content.
2. The method for realizing accurate distinction and comparison between knowledge base and task object based on combined reading according to claim 1, characterized in that: The question and answer area refers to the original document content area that needs to be inquired about, and the standard reference area refers to the document area for standard reference and standard matching with respect to the questions in the question and answer area.
3. The method for realizing accurate distinction and comparison between knowledge base and task object based on combined reading according to claim 1, characterized in that: In step S33, the content in the question and answer queue is bound to the original source of the standard reference area file item by item to form a question and answer content that combines serialized question and answer details, question sources, reference content, directories, directory labels, reference file sources, and matching weights; the reference file sources include files, single pages in files, paragraphs, single sentences, and single texts.
4. The method for realizing accurate distinction and comparison between knowledge base and task object based on combined reading according to claim 1, characterized in that: When the content in the answer queue is intelligently associated with the files in the question and answer area, it is marked in the question and answer area file, and the marked area is associated and bound with the content in the answer queue; when the content in the question and answer queue is intelligently associated with the files, it is marked in the standard reference area file, and the marked area is associated and bound with the content in the answer queue; if the files associated with the same answer in the answer queue include files in the question and answer area and files in the standard reference area, then the files in the question and answer area and the files in the standard reference area are associated and bound to each other; in the answer queue, the associated file marking symbol is displayed, and the marked content in the associated file is synchronously displayed in the directory in the file.
5. The method for realizing accurate distinction and comparison between knowledge base and task object based on combined reading according to claim 1, characterized in that: The display form of the question and answer results can be typeset in a diversified structure; according to the chart document model, the chart logical structure is analyzed, and the data is filled into the chart and text model according to different modes; the display methods include mind maps, entity relationship diagrams, reports, and rich media texts. In the display of question and answer content, the original text can be traced back to the files marked in the question and answer area and the standard reference area.
6. The method for realizing accurate distinction and comparison between knowledge base and task object based on combined reading according to claim 5, characterized in that: The scope of original text tracing includes the question and answer area and the standard reference area; when you click to view the question and answer area, the source of the input question will pop up and mark the corresponding area in the bound volume directory and bound volume content.
7. The method for realizing accurate distinction and comparison between knowledge base and task object based on combined reading according to claim 1, characterized in that: When you click on the content in the answer queue, you will jump to the corresponding actual content of the file in the question and answer area. When you click on the source of the file content in the question and answer area, you can jump to expand and display the file with the binding relationship in the standard reference area.
