Intelligent question and answer processing method and device, computer equipment, readable storage medium and program product

By matching nodes and determining target information points in multiple knowledge contexts, and entering a big model to obtain answers, the problems of inaccurate answers and low configuration efficiency in traditional intelligent question-and-answer processing are solved, and efficient and accurate knowledge matching and answer provisioning are achieved. .

CN118885585APending Publication Date: 2024-11-01CHINA CONSTRUCTION BANK +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410914668.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

Traditional intelligent Q&A processing methods are difficult to provide accurate answers, and require manual configuration of Q&A templates, resulting in low efficiency and quality that need to be improved.

Method used

By matching nodes in multiple knowledge contexts, determining the target knowledge context and information points, and inputting them into the big model to obtain answers, accurate matching of question information and providing answers is achieved, avoiding the cumbersome process of manually configuring question-answer templates .

Benefits of technology

It improves the accuracy and efficiency of intelligent question-and-answer processing, ensures the quality and real-time nature of knowledge supply, automatically sorts out the knowledge document system, and builds a knowledge context for multiple business topics to provide accurate answers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118885585A_ABST
    Figure CN118885585A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of artificial intelligence, and discloses an intelligent question and answer processing method and device, computer equipment, a computer readable storage medium and a computer program product. The method can improve the accuracy of intelligent question and answer processing. The method comprises the following steps: performing node matching in a plurality of knowledge veins according to question information of a user to obtain leaf node matching information; according to the leaf node matching information, determining a target knowledge venation in the plurality of knowledge venation; the target knowledge context is a knowledge context of a target business theme matched with the question information; according to the leaf node matching information and the target knowledge venation, determining a target information point of a target leaf node matched with the question information in the target knowledge venation; and inputting the target information point into the large model to obtain answer information corresponding to the question information output by the large model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to an intelligent question-answering processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] With the development of artificial intelligence technology, especially large model technology, human-computer question-answering technology has emerged that uses artificial intelligence technology to achieve interactive dialogue between users and computers. This technology enables computers to understand natural language and make corresponding responses, so that they can ask and answer questions and communicate like humans, and has been widely used in various application scenarios.

[0003] The intelligent question and answer processing provided by traditional technologies is generally achieved through manually configured question and answer templates. Relevant technical personnel are required to determine the scenarios and needs, collect questions and answers, organize the question and answer pairs and specify rules and logic, and finally edit and test them. However, this method often makes it difficult to provide accurate answer information for the user's question information, resulting in the problem that the accuracy of the intelligent question and answer processing method in current technology needs to be improved. Summary of the invention

[0004] Based on this, it is necessary to provide an intelligent question and answer processing method, device, computer equipment, computer-readable storage medium and computer program product to address the above technical problems.

[0005] In a first aspect, the present application provides an intelligent question-answering processing method, comprising:

[0006] Perform node matching in multiple knowledge contexts based on the user's question information to obtain leaf node matching information;

[0007] Determine a target knowledge context among the plurality of knowledge contexts according to the leaf node matching information; the target knowledge context is a knowledge context of a target business topic matched by the question information;

[0008] Determine, according to the leaf node matching information and the target knowledge context, a target information point of a target leaf node matching the question information in the target knowledge context;

[0009] The target information point is input into the large model to obtain answer information corresponding to the question information output by the large model.

[0010] In one embodiment, determining a target knowledge context among the plurality of knowledge contexts according to the leaf node matching information includes:

[0011] The number of candidate business topics is obtained according to the leaf node matching information; and the target knowledge context among the plurality of knowledge contexts is determined according to the number.

[0012] In one embodiment, determining a target knowledge context from among the plurality of knowledge contexts according to the quantity includes:

[0013] If the number is the first number, the candidate business topic is used as the target business topic; if the number is greater than the first number, the selection information of the user in each of the candidate business topics is obtained, and the target business topic in each of the candidate business topics is determined according to the selection information; and the target knowledge context in the multiple knowledge contexts is obtained according to the target business topic.

[0014] In one embodiment, determining the target information point of the target leaf node matching the question information in the target knowledge context according to the leaf node matching information and the target knowledge context includes:

[0015] According to the leaf node matching information and the target knowledge context, multiple candidate leaf nodes in the target knowledge context are obtained; for each of the candidate leaf nodes, the candidate information point of the candidate leaf node is obtained, and the candidate information point is weightedly calculated according to multiple target dimensions and the respective target weights of the multiple target dimensions to obtain the weighted calculation result of the candidate leaf node; according to the weighted calculation result of each of the candidate leaf nodes, the target leaf node is determined among the multiple candidate leaf nodes to obtain the target information point of the target leaf node.

[0016] In one of the embodiments, before performing weighted calculation on the candidate information points according to the multiple target dimensions and the target weights of the multiple target dimensions to obtain the weighted calculation result of the candidate leaf node, the method further includes:

[0017] Obtain a question test sample set and information point matching information corresponding to the question test sample set; use the question test sample set and the information point matching information to adjust the weights of each target dimension so that the information point prediction information corresponding to the question test sample set is consistent with the information point matching information; the target dimension includes at least one of information point keywords, information point content features, and keywords of the knowledge document name.

[0018] In one embodiment, the step of inputting the target information point into a large model to obtain answer information corresponding to the question information output by the large model includes:

[0019] If the number of target information points is the second number, the system service is called according to the user's question intention to obtain supplementary data, the target information points and the supplementary data are input into the big model, and the answer information corresponding to the question information output by the big model is obtained; if the number of target information points is greater than the second number, each target information point is input into the big model to obtain the answer information corresponding to the question information output by the big model.

[0020] In one embodiment, the method further comprises:

[0021] Acquire a knowledge document set, determine the business topics contained in the knowledge document set and the knowledge documents under each business topic; obtain a corresponding pyramid structure and multiple information points based on the directory of the knowledge documents under the business topic; and construct the knowledge context of the business topic based on the pyramid structure and the multiple information points.

[0022] In one embodiment, there are multiple knowledge documents under the business theme; before obtaining the corresponding pyramid structure and multiple information points according to the directory of the knowledge documents under the business theme, the method further includes:

[0023] Acquire initial directories corresponding to the plurality of knowledge documents respectively; perform normalization processing on the initial directories to obtain the directories of the knowledge documents under the business subject.

[0024] In one embodiment, the method further comprises:

[0025] If there is a newly added knowledge document, determine the current business theme of the newly added knowledge document; when the current business theme already exists in the knowledge document set, update the knowledge context corresponding to the current business theme according to the current directory of the newly added knowledge document; when the current business theme does not exist in the knowledge document set, add a new knowledge context according to the current directory of the newly added knowledge document.

[0026] In a second aspect, the present application also provides an intelligent question-answering processing device, comprising:

[0027] A node matching module is used to match nodes in multiple knowledge contexts according to the user's question information to obtain leaf node matching information;

[0028] A context determination module, used to determine a target knowledge context among the plurality of knowledge contexts according to the leaf node matching information; the target knowledge context is a knowledge context of a target business topic matched by the question information;

[0029] An information point matching module, used to determine a target information point of a target leaf node matching the question information in the target knowledge context according to the leaf node matching information and the target knowledge context;

[0030] The large model processing module is used to input the target information point into the large model to obtain the answer information corresponding to the question information output by the large model.

[0031] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0032] According to the user's question information, node matching is performed in multiple knowledge contexts to obtain leaf node matching information; according to the leaf node matching information, a target knowledge context in the multiple knowledge contexts is determined; the target knowledge context is the knowledge context of the target business subject that matches the question information; according to the leaf node matching information and the target knowledge context, a target information point of the target leaf node that matches the question information in the target knowledge context is determined; the target information point is input into a large model to obtain answer information corresponding to the question information output by the large model.

[0033] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0034] According to the user's question information, node matching is performed in multiple knowledge contexts to obtain leaf node matching information; according to the leaf node matching information, a target knowledge context in the multiple knowledge contexts is determined; the target knowledge context is the knowledge context of the target business subject that matches the question information; according to the leaf node matching information and the target knowledge context, a target information point of the target leaf node that matches the question information in the target knowledge context is determined; the target information point is input into a large model to obtain answer information corresponding to the question information output by the large model.

[0035] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0036] According to the user's question information, node matching is performed in multiple knowledge contexts to obtain leaf node matching information; according to the leaf node matching information, a target knowledge context in the multiple knowledge contexts is determined; the target knowledge context is the knowledge context of the target business subject that matches the question information; according to the leaf node matching information and the target knowledge context, a target information point of the target leaf node that matches the question information in the target knowledge context is determined; the target information point is input into a large model to obtain answer information corresponding to the question information output by the large model.

[0037] The above-mentioned intelligent question and answer processing method, device, computer equipment, computer-readable storage medium and computer program product use multiple strategies to match leaf nodes according to the user's question intention, and then determine the target knowledge context in multiple knowledge contexts based on the leaf node matching information, and then locate the target information point based on the leaf node matching information and the target knowledge context as the data source for summarization and summary, and finally input the target information point into the big model for summarization and summary, call the summarization skills of the big model according to the type of question intention, and obtain the answer information corresponding to the question intention output by the big model.

[0038] In terms of beneficial effects, the present application completes information based on the constructed knowledge context of multiple business topics, realizes the use of leaf nodes and information points of the knowledge context and combines with a large model to match the user's question information and provide accurate answer information, thereby improving the accuracy of intelligent question and answer processing; in addition, the present application also constructs a set of knowledge processing mechanisms and applies them to the production process of the knowledge context, which can automatically sort out the knowledge document system, organize massive document knowledge into orderly fragmented information points and construct knowledge contexts of different business topics, thereby avoiding the tedious process of manually configuring question and answer templates, greatly improving the configuration efficiency of question and answer templates, while also ensuring the quality and real-time requirements of knowledge supply. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0040] Figure 1 An application environment diagram of an intelligent question-answering processing method in an embodiment;

[0041] Figure 2 Schematic diagram of a flow chart of an intelligent question-answering processing method in one embodiment;

[0042] Figure 3 A schematic diagram of a process for determining a target knowledge context in an embodiment;

[0043] Figure 4 A schematic diagram of a flow chart of a step of determining a target information point in an embodiment;

[0044] Figure 5 A schematic diagram of a flow chart of an information point preliminary screening process step in an embodiment;

[0045] Figure 6 A schematic diagram of a weight training process in one embodiment;

[0046] Figure 7 A schematic diagram of a process for constructing a knowledge context in an embodiment;

[0047] Figure 8 A schematic diagram of a process for adding a knowledge document step in an embodiment;

[0048] Fig. 9 A schematic diagram of a process flow of knowledge context generation processing steps in one embodiment;

[0049] Fig.10 It is a flowchart of an intelligent question-answering processing method in a specific embodiment;

[0050] Fig.11 A flowchart of an intelligent question-answering processing method in an application embodiment;

[0051] Fig.12 A schematic diagram of a knowledge context example in an application embodiment;

[0052] Fig.13 is a structural block diagram of an intelligent question-answering processing device in an embodiment;

[0053] Fig.14 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. It should be noted that in the embodiments of the present application, certain software, groups, models and other existing solutions in the industry may be mentioned, which should be considered as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0055] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations. The acquisition, storage, use, and processing of data in the technical solution of this application are in compliance with relevant provisions of national laws and regulations.

[0056] The intelligent question-answering processing method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. The terminal communicates with the server through the network. The data storage system can store the data that the server needs to process. The data storage system can be integrated on the server, or placed on the cloud or other network servers. The terminal can be, but is not limited to, various personal computers, laptops, smart phones, and tablet computers. The server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.

[0057] Specifically, the intelligent question-answering processing method provided in the embodiment of the present application can be executed by a server. Exemplarily, the server performs node matching in multiple knowledge contexts according to the user's question information to obtain leaf node matching information; the server determines the target knowledge context in the multiple knowledge contexts according to the leaf node matching information; the target knowledge context is the knowledge context of the target business subject that matches the question information; the server determines the target information point of the target leaf node that matches the question information in the target knowledge context according to the leaf node matching information and the target knowledge context; the server inputs the target information point into the large model to obtain the answer information corresponding to the question information output by the large model.

[0058] In one embodiment, Figure 2 As shown, an intelligent question-answering processing method is provided, which is applied to Figure 1 The server in the example is used to illustrate the following steps:

[0059] Step S201, performing node matching in multiple knowledge contexts according to the user's question information to obtain leaf node matching information.

[0060] Among them, users may include users who have permission to use the intelligent question and answer service, and the question information may be knowledge question and answer information containing the user's question intention, such as complex questions with multiple intentions.

[0061] The knowledge context can be a knowledge structure system that organizes multiple layers of context nodes and information points according to the logical relationship and connection between them. In the knowledge context, a knowledge context chain is formed from the root node to the leaf node. For example, if the leaf node is "report loss", the knowledge context chain can be "credit card business-operation-report loss". The leaf node is usually the end node in the knowledge context, that is, a node without child nodes, such as card opening, cancellation and report loss in the credit card business.

[0062] Specifically, the server obtains question information input by the user, extracts keyword information contained in the question information, performs node matching in multiple knowledge contexts according to the keyword information, and obtains leaf node matching information.

[0063] Step S202, determining a target knowledge context among multiple knowledge contexts according to leaf node matching information; the target knowledge context is the knowledge context of the target business topic matched by the question information.

[0064] The business themes include, but are not limited to, credit card business, savings card business, and loan business, etc. The target business theme may be any one of the business themes.

[0065] Specifically, the server lists corresponding candidate business topics according to leaf node matching information, determines a target business topic among the candidate business topics, and then obtains a target knowledge context among multiple knowledge contexts according to the target business topic.

[0066] For example, the question information input by the user is "How to report a loss", and the businesses that contain the loss reporting knowledge context nodes are credit card business and savings card business, then corresponding options are given to let the user choose whether the loss reporting business they want to inquire about is the credit card business or the savings card business.

[0067] Step S203, determining the target information point of the target leaf node that matches the question information in the target knowledge context according to the leaf node matching information and the target knowledge context.

[0068] Among them, the information point can be associated with the leaf node in the form of mounting.

[0069] Specifically, the server obtains multiple candidate leaf nodes in the target knowledge context based on the leaf node matching information and the target knowledge context, selects the target leaf node matching the question information from the multiple candidate leaf nodes, and obtains the target information point of the target leaf node.

[0070] Step S204, input the target information point into the large model to obtain the answer information corresponding to the question information output by the large model.

[0071] Specifically, the server builds an inductive skill library of the big model based on the summarizing and inductive capabilities of the big model, and then inputs the target information point into the big model so that the big model can call the corresponding inductive skills to process the target information point according to the type of user's question intention, and generate answer information corresponding to the question information based on the processing results, and finally obtain the answer information output by the big model.

[0072] The intelligent question-answering processing method in this embodiment adopts a multi-strategy method to match leaf nodes according to the user's question intention, and then determines the target knowledge context in multiple knowledge contexts according to the leaf node matching information, and then locates the target information point according to the leaf node matching information and the target knowledge context as the data source for summarization, and finally inputs the target information point into the big model for summarization, calls the summarization skills of the big model according to the type of question intention, and obtains the answer information corresponding to the question intention output by the big model. In terms of beneficial effects, this embodiment completes information based on the knowledge context of multiple business themes constructed, realizes the use of leaf nodes and information points of the knowledge context and combines the big model to match the user's question information and provide accurate answer information, thereby improving the accuracy of intelligent question-answering processing; in addition, this embodiment also constructs a set of knowledge processing mechanisms and applies them to the production process of knowledge context, which can automatically comb the knowledge document system, organize massive document knowledge into orderly fragmented information points and construct knowledge contexts of different business themes, thereby avoiding the tedious process of manually configuring question-answering templates, greatly improving the configuration efficiency of question-answering templates, and ensuring the quality and real-time requirements of knowledge supply.

[0073] In one embodiment, determining the target knowledge context among the multiple knowledge contexts according to the leaf node matching information in step S202 may include the following steps:

[0074] According to the leaf node matching information, the number of candidate business topics is obtained; according to the number, a target knowledge context among the multiple knowledge contexts is determined.

[0075] Specifically, the server screens out candidate business topics based on leaf node matching information and obtains the number of candidate business topics; when the number of candidate business topics is one, the candidate business topic can be used as the target business topic; when the number of candidate business topics is multiple, the user's selection information among each candidate business topic can be obtained, and the target business topic among each candidate business topic can be determined based on the selection information; and the target knowledge context can be determined among multiple knowledge contexts based on the target business topic.

[0076] In this embodiment, the number of candidate business topics is first obtained based on the leaf node matching information, and then the target knowledge context in multiple knowledge contexts is determined based on whether the number is unique. Therefore, the number of business topics is used as a reference standard, and different operation methods are intelligently and flexibly adopted to determine the target business topic.

[0077] In one embodiment, if Figure 3 As shown, in the above embodiment, determining a target knowledge context among multiple knowledge contexts according to the quantity may include the following steps:

[0078] Step S301: If the quantity is the first quantity, the candidate business topic is used as the target business topic.

[0079] Step S302: if the number is greater than the first number, obtaining the selection information of the user among the candidate business topics, and determining the target business topic among the candidate business topics according to the selection information.

[0080] Step S303, obtaining a target knowledge context from among the multiple knowledge contexts according to the target business subject.

[0081] In this embodiment, the first number may be set to one, and the selection information may include a selection instruction issued by the user to determine a target business topic among various candidate business topics.

[0082] In this embodiment, when the server identifies that the number of candidate business topics is a first number, the server can directly use the candidate business topic as the target business topic; when the server identifies that the number of candidate business topics is greater than the first number, the server can provide the user with options including multiple candidate business topics, obtain the user's selection information among each candidate business topic, determine the target business topic among each candidate business topic based on the selection information, and then determine the target knowledge context based on the target business topic among multiple knowledge contexts.

[0083] In this embodiment, the target business topic can be directly obtained when the leaf node matches and determines only one candidate business topic. When the leaf node matches and determines multiple candidate business topics, a guided questioning method can be used to guide the user to select the target business topic from multiple candidate business topics, thereby quickly and accurately determining the target business topic and obtaining the corresponding target knowledge context.

[0084] In one embodiment, if Figure 4 As shown, determining the target information point of the target leaf node matching the question information in the target knowledge context according to the leaf node matching information and the target knowledge context in step S203 may include the following steps:

[0085] Step S401, obtaining multiple candidate leaf nodes in the target knowledge context according to leaf node matching information and the target knowledge context.

[0086] Step S402, for each candidate leaf node, obtain the candidate information points of the candidate leaf node, perform weighted calculation on the candidate information points according to multiple target dimensions and the target weights of the multiple target dimensions respectively, and obtain the weighted calculation result of the candidate leaf node.

[0087] Step S403, according to the weighted calculation results of each candidate leaf node, determine the target leaf node from multiple candidate leaf nodes, and obtain the target information point of the target leaf node.

[0088] In this embodiment, the target dimension may include at least one of the keywords of the knowledge document name, the content features of the information point, and the keywords of the information point. Among them, for the keywords of the knowledge document name, a knowledge document name basically contains the description of the knowledge theme and direction, which is more critical for the top-level constraints of the information point. Therefore, the keywords corresponding to the knowledge document name are regarded as a type of information element. In implementation, the extracted keywords can remove the general description. For example, if the knowledge document name is "Credit Card Business Operation Manual", the extracted keywords may include "credit card" and "operation". The general keywords of "business" and "manual" can be removed, and the keywords with significant characteristics are retained; for the content features of the information point, an information point can use a large model to summarize the central idea of ​​about 50 words, which represents the core content of the information point and can be used as the content features of the information point; for the keywords of the information point, the corresponding core keyword information can be extracted from the information point. In implementation, the processing of the keywords of the knowledge document name can be referred to, such as removing the general keyword description and retaining the keywords of the core features of the information point.

[0089] Specifically, Figure 5As shown, the server first obtains the question information input by the user, extracts the keyword information contained in the question information, performs node matching in multiple knowledge contexts according to the keyword information, and obtains leaf node matching information. The server then determines the candidate business topics according to the leaf node matching information and obtains the number of candidate business topics; when the number of candidate business topics is one, the candidate business topic can be used as the target business topic; when the number of candidate business topics is multiple, the user can be guided to select the target business topic from multiple candidate business topics by asking guided questions; and then the target knowledge context is determined in multiple knowledge contexts according to the target business topic. The server selects multiple candidate leaf nodes in the target knowledge context according to the leaf node matching information and the target knowledge context; for each candidate leaf node, obtains the candidate information point of the candidate leaf node, takes the keywords of the knowledge document name, the content features of the information point and the keywords of the information point as the target dimensions, and obtains the scores of the candidate information points under these three target dimensions and the target weights corresponding to each target dimension, and then performs weighted summation on the scores and target weights corresponding to the three target dimensions to obtain the weighted summation result of the candidate leaf nodes; screens the candidate leaf nodes according to whether the weighted summation result meets the threshold condition, and takes the candidate leaf nodes whose weighted summation result meets the threshold condition as the target leaf nodes, and finally outputs the target information point of the target leaf node.

[0090] In this embodiment, by performing weighted calculation on the candidate information points according to multiple target dimensions and their respective target weights, and then determining the target leaf node from the multiple candidate leaf nodes based on the weighted calculation results of each candidate leaf node, and obtaining the target information point of the target leaf node, efficient screening of leaf nodes and information points is achieved, and the accuracy and recall rate of matching screening are effectively improved.

[0091] In one embodiment, before performing weighted calculation on the candidate information points according to the multiple target dimensions and the target weights of the multiple target dimensions to obtain the weighted calculation result of the candidate leaf nodes, the method of the present application may further include the following steps:

[0092] Obtain a question test sample set and information point matching information corresponding to the question test sample set; use the question test sample set and the information point matching information to adjust the weights of each target dimension so that the information point prediction information corresponding to the question test sample set is consistent with the information point matching information. The target dimension may include at least one of an information point keyword, an information point content feature, and a keyword of a knowledge document name.

[0093] In this embodiment, the question test sample set can be common user questions in different scenarios, such as "how to open a savings card" and "how to cancel a credit card"; the information point matching information can be a weighted calculation of the question test sample set under the current weight of each target dimension, and the relevant prediction information of the information point obtained based on the weighted calculation result. For example, the information point prediction information corresponding to "how to open a savings card" can be "the relevant information points mounted under the savings card activation processing flow", and "how to cancel a credit card" can be "the relevant information points mounted under the credit card cancellation processing flow".

[0094] Specifically, Figure 6 As shown, the server obtains a question test sample set for training and information point matching information corresponding to the question test sample set, takes the keywords of the knowledge document name, the information point content features and the information point keywords as target dimensions and assigns the same initial weights, obtains the scores of the question test sample set under the three target dimensions, and then weighted sums the scores and initial weights corresponding to the three target dimensions, predicts leaf nodes and related information points according to the weighted summation result, and obtains the information point prediction information corresponding to the question test sample set; the server performs a similarity comparison between the information point prediction information and the information point matching information to obtain a similarity comparison result, and can judge whether the information point prediction information is consistent with the information point matching information according to whether the similarity comparison result meets the threshold condition. If the similarity comparison result does not meet the threshold condition, the initial weights corresponding to the three target dimensions are adjusted according to the similarity comparison result, and weighted summation and information point prediction are re-performed according to the adjusted initial weights. The above steps can be repeated until the obtained similarity comparison result meets the threshold condition, that is, the information point prediction information corresponding to the question test sample set is consistent with the information point matching information, thereby obtaining the trained target weight.

[0095] In this embodiment, by using the question test sample set and information point matching information, the weights of each target dimension are continuously adjusted for training, so that different weights can be flexibly trained according to different scene characteristics, which is conducive to improving the scientificity and accuracy of the target weights.

[0096] In one embodiment, the step S204 of inputting the target information point into the big model to obtain the answer information corresponding to the question information output by the big model may include the following steps:

[0097] If the number of target information points is the second number, the system service is called according to the user's question intention to obtain supplementary data, the target information points and the supplementary data are input into the big model, and the answer information corresponding to the question information output by the big model is obtained; if the number of target information points is greater than the second number, each target information point is input into the big model to obtain the answer information corresponding to the question information output by the big model.

[0098] In this embodiment, the second number may be set to 1. The supplementary data may include real-time data obtained by calling a system service according to the user's question intention, so as to help the large model to summarize.

[0099] In this embodiment, when the server recognizes that the number of target information points is the second number, the server can call the system service to obtain supplementary data according to the user's question intention, wherein the user's question intention can be obtained by analyzing the user's question information. After obtaining the supplementary data, the server can input the target information points and the supplementary data into the large model to obtain the answer information corresponding to the question information output by the large model, thereby helping to improve the accuracy of the answer information output by the large model. When the number of candidate business topics is recognized to be greater than the second number, the server can input the multiple target information points into the large model, and obtain the answer information corresponding to the question information by summarizing the multiple target information points through the large model, thereby improving the accuracy of the answer information corresponding to the question information obtained in combination with the large model.

[0100] In one embodiment, if Figure 7 As shown, before performing node matching in multiple knowledge contexts according to the user's question information in step S201 to obtain leaf node matching information, the method of the present application may further include the following steps:

[0101] Step S701: obtain a knowledge document set, determine each business topic included in the knowledge document set and the knowledge documents under each business topic.

[0102] Step S702, obtaining a corresponding pyramid structure and multiple information points according to the directory of knowledge documents under the business theme.

[0103] Step S703, constructing the knowledge context of the business theme according to the pyramid structure and multiple information points.

[0104] In this embodiment, for knowledge documents, the pyramid structure can be used to describe a hierarchical data storage or indexing method. This structure is similar to a pyramid and has a decreasing form, and can be used to organize and manage data information such as knowledge documents.

[0105] Specifically, the server obtains a knowledge document set, identifies the business topics and knowledge documents under each business topic contained in the knowledge document set, obtains a corresponding pyramid structure and multiple information points based on the directory of the knowledge documents under the business topics, and constructs a knowledge context of the business topics based on the pyramid structure and multiple information points, thereby efficiently and orderly constructing knowledge contexts corresponding to different business topics and forming information point associations in each knowledge context.

[0106] In one embodiment, the number of the knowledge documents under the business theme may be multiple; before obtaining the corresponding pyramid structure and multiple information points according to the directory of the knowledge documents under the business theme in step S702, the method of the present application further includes the following steps:

[0107] The initial directories corresponding to the plurality of knowledge documents are obtained; the initial directories are normalized to obtain the directories of the knowledge documents under the business theme.

[0108] In this embodiment, the normalization process may include several core operations such as directory grouping, directory standardization, and directory addition. Among them, directory grouping can mainly align the directory expression levels of different knowledge documents. For example, there are two knowledge documents in the credit card business. The first knowledge document has a first-level directory of "operation", and then the sub-directories are: "card opening", "application" and "cancellation", etc. The second document uses "change password" and "report loss" as first-level directories. At this time, the two operations of the latter knowledge document can be grouped under the first-level directory of "operation"; Directory standardization: mainly refers to the different directory expressions of different knowledge documents but the same meaning. For example, there are two knowledge documents in the credit card business. The directories under one knowledge document are "credit card opening", "credit card application" and "credit card cancellation", etc., and the directories under the other knowledge document are "card opening", "application" and "cancellation", etc. At this time, the operation directories of the two knowledge documents can be aligned to the same name; Directory addition: can align the directory expression levels of different knowledge documents. For example, there are two knowledge documents in the credit card business. One knowledge document has a first-level directory of "operation", and then several operations such as "card opening", "application" and "cancellation" are placed in several paragraphs without forming sub-directories. At this time, these paragraphs need to be formed into sub-directories formed by the above operations and placed under the first-level directory of "operation".

[0109] As an example, the server obtains the initial directories corresponding to the multiple knowledge documents, and then can perform normalization processing such as directory collection, directory standardization, and directory addition on the initial directories, and use the normalized directory as the directory of the knowledge documents under the business theme. The solution of this embodiment can effectively eliminate the interference factors caused by the inconsistency of directory formulation standards, which is conducive to the efficient use of the directory of knowledge documents.

[0110] In one embodiment, if Figure 8 As shown, before performing node matching in multiple knowledge contexts according to the user's question information in step S201 to obtain leaf node matching information, the method of the present application may further include the following steps:

[0111] Step S801: If there is a newly added knowledge document, determine the current business subject of the newly added knowledge document.

[0112] Step S802: when the current business subject already exists in the knowledge document set, the knowledge context corresponding to the current business subject is updated according to the current directory of the newly added knowledge document.

[0113] Step S803: When the current business topic does not exist in the knowledge document set, a new knowledge context is added according to the current directory of the newly added knowledge document.

[0114] Specifically, Fig. 9 As shown, the server obtains a knowledge document set, identifies each business theme and the knowledge documents under each business theme contained in the knowledge document set, obtains a corresponding pyramid structure and multiple information points according to the directory of the knowledge documents under the business theme, and constructs a knowledge context of the business theme according to the pyramid structure and multiple information points. When the server identifies the existence of a newly added knowledge document, it can determine the current business theme of the newly added knowledge document; when it is determined that the current business theme already exists in the knowledge document set, it merges the pyramid structure according to the current directory of the newly added knowledge document and updates the knowledge context corresponding to the current business theme, such as updating (merging into) the knowledge context corresponding to the existing current business theme through the above-mentioned normalization processing such as directory collection, directory standardization, and directory addition; when it is determined that the current business theme does not exist in the knowledge document set, it can add a new knowledge context according to the current directory of the newly added knowledge document.

[0115] The solution of this embodiment can accurately and orderly convert the newly added knowledge documents into knowledge contexts, ensuring the quality and real-time requirements of knowledge supply.

[0116] In one embodiment, if Fig.10 As shown, an intelligent question-answering processing method in a specific embodiment is provided, which specifically includes the following steps:

[0117] Step S1001, performing node matching in multiple knowledge contexts according to the user's question information to obtain leaf node matching information.

[0118] Step S1002, according to the leaf node matching information, obtain the number of candidate business topics; if the number is the first number, use the candidate business topic as the target business topic; if the number is greater than the first number, obtain the user's selection information in each candidate business topic, and determine the target business topic in each candidate business topic according to the selection information; obtain the target knowledge context in multiple knowledge contexts according to the target business topic.

[0119] Step S1003, obtaining a question test sample set and information point matching information corresponding to the question test sample set; using the question test sample set and the information point matching information, adjusting the weight of each target dimension so that the information point prediction information corresponding to the question test sample set is consistent with the information point matching information.

[0120] Step S1004, according to the leaf node matching information and the target knowledge context, obtain multiple candidate leaf nodes in the target knowledge context; for each candidate leaf node, obtain the candidate information point of the candidate leaf node, and perform weighted calculation on the candidate information point according to multiple target dimensions and the target weights of the multiple target dimensions to obtain the weighted calculation result of the candidate leaf node; according to the weighted calculation result of each candidate leaf node, determine the target leaf node among the multiple candidate leaf nodes to obtain the target information point of the target leaf node.

[0121] Step S1005, if the number of target information points is the second number, the system service is called according to the user's question intention to obtain supplementary data, the target information points and the supplementary data are input into the big model, and the answer information corresponding to the question information output by the big model is obtained; if the number of target information points is greater than the second number, each target information point is input into the big model to obtain the answer information corresponding to the question information output by the big model.

[0122] The beneficial effects brought by the above embodiments may include:

[0123] This embodiment can implement the mechanism of information completion and context chat based on the constructed multi-business subject knowledge context by utilizing the leaf nodes and information points of the knowledge context and combining with the large model to match the user's question information and provide accurate answer information. It also provides a knowledge processing mechanism to solve the production process of the knowledge context, and can automatically sort out the knowledge document system. By organizing massive document knowledge into orderly fragmented information points and constructing knowledge contexts of different business subjects, it can also avoid the tedious process of manually configuring question and answer templates in traditional technologies, greatly improving the configuration efficiency of question and answer templates, while also ensuring the quality and real-time requirements of knowledge supply.

[0124] In order to more clearly illustrate the intelligent question-answering processing method provided in the embodiment of the present application, the intelligent question-answering processing method is specifically described below with a specific embodiment. In one embodiment, Fig.11 As shown, an intelligent question-answering processing method in an application embodiment is provided, which specifically includes the following steps:

[0125] Step 1: Knowledge information preprocessing: Preprocess the knowledge documents and form a knowledge context system of "business topic - multi-level context - information point" according to the catalog of knowledge documents under each business topic.

[0126] Step 2: Knowledge context construction and information point mounting: According to the directory structure of different knowledge documents and the characteristics of information points, the knowledge context system is constructed and the information points are mounted on the leaf nodes.

[0127] Step 3: Add a new knowledge document; if there is a new knowledge document, determine the current business theme of the new knowledge document; if the current business theme is a new business theme, build a new knowledge context system; if the current business theme is an existing business theme, merge the knowledge context information.

[0128] Step 4: Question intent understanding and information point location: Based on the user's question intent, multiple strategies are used to locate the target information point as the data source for large model processing.

[0129] Step 5: Call the big model for processing; build a big model reasoning skill library and call the big model's inductive skills according to the type of question intent.

[0130] Step 6: Obtain answer information; obtain the answer information corresponding to the question information output by the large model.

[0131] The following two user questions are used as examples: (The four-dimensional information table of information points 1-5 is shown in Table 1)

[0132] (1) If the user's question is "How do I open a credit card?", the server processes the following:

[0133] a. According to the user's question information, node matching is performed in multiple knowledge contexts to obtain the card opening node under the credit card business; (the schematic diagram of the knowledge context example corresponding to the credit card business is shown in Fig.12 (shown)

[0134] b. Find all the information points mounted under the card opening node, including: processing flow (information point 1) and handling channels (information point 2);

[0135] c. Input information point 1 and information point 2 into the big model, and the big model summarizes information points 1 and 2 and obtains the answer information corresponding to the question information.

[0136] (2) If the user's question is "How do I log out?", the server processes the following:

[0137] a. Match nodes in multiple knowledge contexts according to the user's question information to obtain the cancellation node under the credit card business and the cancellation node under the savings card business;

[0138] b. Ask the user whether the business he wants to cancel is a credit card business or a savings card business;

[0139] c. When the user clicks to select the credit card service, find the information points mounted under the credit card service cancellation node, including the cancellation process (information point 3), handling channels (information point 4) and common problems (information point 5);

[0140] d. Input information points 3, 4 and 5 into the big model, and the big model summarizes information points 3, 4 and 5 and obtains the answer information corresponding to the question information.

[0141] Table 1 Four dimensions of information points

[0142]

[0143] The beneficial effects brought by the above embodiments may include:

[0144] 1) A method for constructing a knowledge context system is proposed to organize massive document knowledge into orderly fragmented information and construct knowledge contexts for different business topics;

[0145] 2) A set of knowledge matching multi-strategy algorithms based on large models is proposed, which realizes the precise matching of leaf nodes and information points in the mechanism of information completion and contextual chat based on knowledge context.

[0146] 3) The solution of this embodiment can be applied to constructing a knowledge context system based on data from digital human interactions and knowledge information data such as product, system and business introductions already available in financial institutions. It can match knowledge fragment information (target information points, etc.) closest to the answer based on the processing of the knowledge context, thereby locating, summarizing and generalizing answer information with the help of a large model, and can be applied to solving complex intentions and problems that require secondary summarization encountered by users of financial institutions and other entities in knowledge questions and answers, thereby improving the accuracy and efficiency of intelligent question and answer processing.

[0147] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0148] Based on the same inventive concept, the embodiment of the present application also provides an intelligent question and answer processing device for implementing the intelligent question and answer processing method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more intelligent question and answer processing device embodiments provided below can refer to the limitations of the intelligent question and answer processing method above, and will not be repeated here.

[0149] In an exemplary embodiment, Fig.13 As shown, an intelligent question-answering processing device is provided, comprising:

[0150] The node matching module 1301 is used to match nodes in multiple knowledge contexts according to the user's question information to obtain leaf node matching information;

[0151] The context determination module 1302 is used to determine a target knowledge context among the multiple knowledge contexts according to the leaf node matching information; the target knowledge context is the knowledge context of the target business topic matched by the question information;

[0152] An information point matching module 1303 is used to determine a target information point of a target leaf node matching the question information in the target knowledge context according to the leaf node matching information and the target knowledge context;

[0153] The large model processing module 1304 is used to input the target information point into the large model to obtain the answer information corresponding to the question information output by the large model.

[0154] In one embodiment, the context determination module 1302 is further configured to obtain the number of candidate business topics according to the leaf node matching information; and determine the target knowledge context among the multiple knowledge contexts according to the number.

[0155] In one embodiment, the context determination module 1302 is further used to, if the number is the first number, use the candidate business topic as the target business topic; if the number is greater than the first number, obtain the user's selection information in each candidate business topic, and determine the target business topic in each candidate business topic according to the selection information; and obtain the target knowledge context in multiple knowledge contexts according to the target business topic.

[0156] In one embodiment, the information point matching module 1303 is also used to obtain multiple candidate leaf nodes in the target knowledge context based on the leaf node matching information and the target knowledge context; for each candidate leaf node, obtain the candidate information point of the candidate leaf node, perform weighted calculation on the candidate information point according to multiple target dimensions and the target weights of the multiple target dimensions, and obtain the weighted calculation result of the candidate leaf node; according to the weighted calculation result of each candidate leaf node, determine the target leaf node among the multiple candidate leaf nodes, and obtain the target information point of the target leaf node.

[0157] In one embodiment, the intelligent question and answer processing device also includes a weight adjustment module, which is used to obtain a question test sample set and information point matching information corresponding to the question test sample set; using the question test sample set and the information point matching information, the weight of each target dimension is adjusted so that the information point prediction information corresponding to the question test sample set is consistent with the information point matching information; the target dimension includes at least one of the information point keywords, information point content features and keywords of the knowledge document name.

[0158] In one embodiment, the large model processing module 1304 is also used to, if the number of target information points is the second number, call the system service to obtain supplementary data according to the user's question intention, input the target information points and the supplementary data into the large model, and obtain answer information corresponding to the question information output by the large model; if the number of target information points is greater than the second number, input each target information point into the large model to obtain answer information corresponding to the question information output by the large model.

[0159] In one embodiment, the intelligent question and answer processing device also includes a context construction module, which is used to obtain a knowledge document set, determine the business topics contained in the knowledge document set and the knowledge documents under each business topic; obtain the corresponding pyramid structure and multiple information points based on the directory of the knowledge documents under the business topic; and construct the knowledge context of the business topic based on the pyramid structure and multiple information points.

[0160] In one embodiment, there are multiple knowledge documents under a business theme; the intelligent question and answer processing device also includes a directory processing module, which is used to obtain the initial directory corresponding to each of the multiple knowledge documents; the initial directory is normalized to obtain the directory of the knowledge documents under the business theme.

[0161] In one embodiment, the intelligent question and answer processing device also includes a new processing module, which is used to determine the current business theme of the newly added knowledge document if there is a new knowledge document; when the current business theme already exists in the knowledge document set, update the knowledge context corresponding to the current business theme according to the current directory of the newly added knowledge document; when the current business theme does not exist in the knowledge document set, add a new knowledge context according to the current directory of the newly added knowledge document.

[0162] Each module in the above intelligent question-answering processing device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.

[0163] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.14 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as knowledge context. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an intelligent question and answer processing method is implemented.

[0164] Those skilled in the art will understand that Fig.14 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0165] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0166] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0167] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0168] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0169] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0170] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. An intelligent question-answering processing method, characterized in that: The method comprises: Perform node matching in multiple knowledge contexts based on the user's question information to obtain leaf node matching information; Determine a target knowledge context among the plurality of knowledge contexts according to the leaf node matching information; the target knowledge context is a knowledge context of a target business topic matched by the question information; Determine, according to the leaf node matching information and the target knowledge context, a target information point of a target leaf node matching the question information in the target knowledge context; The target information point is input into the large model to obtain answer information corresponding to the question information output by the large model.

2. The method according to claim 1, characterized in that: The step of determining a target knowledge context among the plurality of knowledge contexts according to the leaf node matching information includes: According to the leaf node matching information, the number of candidate business topics is obtained; According to the quantity, a target knowledge context among the plurality of knowledge contexts is determined.

3. The method according to claim 2, characterized in that Determining a target knowledge context among the plurality of knowledge contexts according to the quantity includes: If the number is the first number, taking the candidate business topic as the target business topic; If the number is greater than the first number, obtaining selection information of the user among the candidate business topics, and determining a target business topic among the candidate business topics according to the selection information; A target knowledge context among the plurality of knowledge contexts is obtained according to the target business subject.

4. The method according to claim 1, characterized in that The determining, according to the leaf node matching information and the target knowledge context, a target information point of a target leaf node matching the question information in the target knowledge context comprises: According to the leaf node matching information and the target knowledge context, a plurality of candidate leaf nodes in the target knowledge context are obtained; For each of the candidate leaf nodes, obtain a candidate information point of the candidate leaf node, perform weighted calculation on the candidate information point according to multiple target dimensions and respective target weights of the multiple target dimensions, and obtain a weighted calculation result of the candidate leaf node; According to the weighted calculation results of each of the candidate leaf nodes, the target leaf node is determined from the multiple candidate leaf nodes, and the target information point of the target leaf node is obtained.

5. The method according to claim 4, characterized in that Before performing weighted calculation on the candidate information points according to the multiple target dimensions and the target weights of the multiple target dimensions to obtain the weighted calculation result of the candidate leaf node, the method further includes: Acquire a question test sample set and information point matching information corresponding to the question test sample set; Utilizing the question test sample set and the information point matching information, the weights of the target dimensions are adjusted so that the information point prediction information corresponding to the question test sample set is consistent with the information point matching information; the target dimensions include at least one of information point keywords, information point content features, and keywords of the knowledge document name.

6. The method according to claim 1, characterized in that The step of inputting the target information point into a large model to obtain answer information corresponding to the question information output by the large model includes: If the number of the target information points is the second number, calling a system service to obtain supplementary data according to the user's question intention, inputting the target information points and the supplementary data into the large model, and obtaining the answer information corresponding to the question information output by the large model; If the number of the target information points is greater than the second number, each of the target information points is input into the large model to obtain the answer information corresponding to the question information output by the large model.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: Acquire a knowledge document set, and determine each business topic included in the knowledge document set and the knowledge documents under each business topic; According to the catalog of the knowledge documents under the business theme, a corresponding pyramid structure and multiple information points are obtained; The knowledge context of the business subject is constructed based on the pyramid structure and multiple information points.

8. The method according to claim 7, characterized in that The number of the knowledge documents under the business theme is multiple; before obtaining the corresponding pyramid structure and multiple information points according to the directory of the knowledge documents under the business theme, the method further includes: Obtaining initial directories corresponding to each of the plurality of knowledge documents; The initial directory is normalized to obtain a directory of the knowledge documents under the business subject.

9. The method according to claim 7, characterized in that: The method further comprises: If there is a newly added knowledge document, determining the current business subject of the newly added knowledge document; When the current business subject already exists in the knowledge document set, updating the knowledge context corresponding to the current business subject according to the current directory of the newly added knowledge document; When the current business topic does not exist in the knowledge document set, a new knowledge context is added according to the current directory of the newly added knowledge document.

10. An intelligent question-answering processing device, characterized in that: The device comprises: A node matching module is used to match nodes in multiple knowledge contexts according to the user's question information to obtain leaf node matching information; A context determination module, used to determine a target knowledge context among the plurality of knowledge contexts according to the leaf node matching information; the target knowledge context is a knowledge context of a target business topic matched by the question information; An information point matching module, used to determine a target information point of a target leaf node matching the question information in the target knowledge context according to the leaf node matching information and the target knowledge context; The large model processing module is used to input the target information point into the large model to obtain the answer information corresponding to the question information output by the large model.

11. The device according to claim 10, characterized in that The context determination module is further used to obtain the number of candidate business topics according to the leaf node matching information; and determine the target knowledge context among the multiple knowledge contexts according to the number.

12. The device according to claim 11, characterized in that The context determination module is further configured to, if the number is the first number, use the candidate business topic as the target business topic; if the number is greater than the first number, obtain the user's selection information in each of the candidate business topics, and determine the target business topic in each of the candidate business topics based on the selection information; and obtain the target knowledge context in the multiple knowledge contexts based on the target business topic.

13. The device according to claim 10, characterized in that The information point matching module is further used to obtain multiple candidate leaf nodes in the target knowledge context according to the leaf node matching information and the target knowledge context; for each of the candidate leaf nodes, obtain the candidate information point of the candidate leaf node, perform weighted calculation on the candidate information point according to multiple target dimensions and the target weights of the multiple target dimensions, and obtain the weighted calculation result of the candidate leaf node; According to the weighted calculation results of each of the candidate leaf nodes, the target leaf node is determined from the multiple candidate leaf nodes, and the target information point of the target leaf node is obtained.

14. The device according to claim 13, characterized in that The intelligent question and answer processing device also includes a weight adjustment module, which is used to obtain a question test sample set and information point matching information corresponding to the question test sample set; using the question test sample set and the information point matching information, the weight of each target dimension is adjusted so that the information point prediction information corresponding to the question test sample set is consistent with the information point matching information; the target dimension includes at least one of information point keywords, information point content features and keywords of the knowledge document name.

15. The device according to claim 10, characterized in that The large model processing module is further configured to, if the number of the target information points is the second number, call a system service according to the user's question intention to obtain supplementary data, input the target information points and the supplementary data into the large model, and obtain the answer information corresponding to the question information output by the large model; If the number of the target information points is greater than the second number, each of the target information points is input into the large model to obtain the answer information corresponding to the question information output by the large model.

16. The device according to any one of claims 10 to 15, characterized in that The intelligent question and answer processing device also includes a context construction module, which is used to obtain a knowledge document set, determine the business topics contained in the knowledge document set and the knowledge documents under each business topic; obtain a corresponding pyramid structure and multiple information points based on the directory of the knowledge documents under the business topic; and construct the knowledge context of the business topic based on the pyramid structure and multiple information points.

17. The device according to claim 16, characterized in that The number of the knowledge documents under the business topic is multiple; the intelligent question and answer processing device also includes a directory processing module, which is used to obtain the initial directory corresponding to each of the multiple knowledge documents; The initial directory is normalized to obtain a directory of the knowledge documents under the business subject.

18. The device according to claim 16, characterized in that The intelligent question and answer processing device also includes a new processing module, which is used to determine the current business theme of the newly added knowledge document if there is a new knowledge document; when the current business theme already exists in the knowledge document set, update the knowledge context corresponding to the current business theme according to the current directory of the newly added knowledge document; when the current business theme does not exist in the knowledge document set, add a new knowledge context according to the current directory of the newly added knowledge document.

19. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.

20. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

21. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Method and device for supplementing information for user question

    CN110008308A

  • Knowledge graph-based question answering method and apparatus, computer device, and medium

    WO2021164618A1