Anti-illegal fund transfer question answering system and method, server and storage medium
Through the combination of the anti-illegal fund transfer corpus and the retrieval enhancement generation module, the use of dynamic routing and multi-answer generation modules solves the problems of insufficient timeliness and professionalism of answers in the existing system, and achieves efficient and professional anti-illegal fund transfer question and answer system.
Patent Information
- Application Number
- CN202410796786.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-10-22
AI Technical Summary
The existing anti-illegal fund transfer question and answer system lacks timeliness and accuracy when generating answers, and fails to effectively utilize in-depth knowledge in the field of anti-illegal fund transfer, resulting in insufficient professionalism of the answers.
The anti-illegal fund transfer corpus is combined with the routing module and the retrieval enhanced generation (RAG) module to determine the field to which the user's question belongs through dynamic routing, and uses multiple answer generation modules to generate answers based on the query results, which improves the processing capabilities of complex queries and The professionalism of the answer.
It provides highly timely, accurate and professional questions and answers in the field of anti-illegal fund transfer, improving the usability and professionalism of the system.
Smart Images

Figure CN118820394A_ABST
Abstract
Description
Technical Field
[0001] One or more embodiments of the present specification relate to the technical field of anti-illegal fund transfer, and in particular, to an anti-illegal fund transfer question-and-answer system, method, server, and storage medium. Background Art
[0002] In related technologies, basic language models (or general language models) can be used to answer questions and generate content. These basic language models can generate answers based on pre-trained knowledge, but the generated answers often lack timeliness and accuracy, and often fail to effectively utilize deep knowledge in specific fields, such as the field of anti-illegal fund transfer, resulting in insufficient professionalism in the generated answers. Summary of the invention
[0003] In view of this, one or more embodiments of this specification provide the following technical solutions:
[0004] According to a first aspect of one or more embodiments of this specification, a question-answering system for anti-illegal fund transfer is proposed, the system comprising:
[0005] Anti-Illegal Fund Transfer Corpus;
[0006] Routing module;
[0007] A retrieval enhancement generation RAG module, the RAG module includes: a retrieval module, a plurality of answer generation modules; wherein each answer generation module corresponds to an anti-illegal fund transfer field;
[0008] The routing module is used to determine the first anti-illegal fund transfer field to which the first question input by the user belongs, and send the first question and the first anti-illegal fund transfer field to the search module;
[0009] The retrieval module is used to obtain a first query result in the anti-illegal fund transfer corpus based on the first question and the first anti-illegal fund transfer field, and send the first query result to a first answer generation module; wherein the first answer generation module is one of the multiple answer generation modules corresponding to the first anti-illegal fund transfer field;
[0010] The first answer generation module is used to generate and output a first answer corresponding to the first question based on the first query result.
[0011] According to a second aspect of one or more embodiments of this specification, a method for answering questions to prevent illegal fund transfer is proposed, the method comprising:
[0012] Get user input for the first question;
[0013] Determine the first field of combating illegal fund transfer to which the first problem belongs;
[0014] Based on the first question and the first anti-illegal funds transfer field, query the anti-illegal funds transfer corpus to obtain a first query result;
[0015] Based on the first query result, a first answer corresponding to the first question is generated and output.
[0016] According to the third aspect of one or more embodiments of this specification, a question-and-answer server for combating illegal fund transfer is proposed, comprising: a processor; a memory for storing processor executable instructions; wherein the processor implements the steps of the method described in any one of the second aspects by running the executable instructions.
[0017] According to a fourth aspect of one or more embodiments of the present specification, a computer-readable storage medium is provided, on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the method described in any one of the second aspects are implemented.
[0018] According to a fifth aspect of one or more embodiments of this specification, a computer program product is proposed, comprising a computer program / instruction, which, when executed by a processor, implements the steps of the method described in any one of the second aspects.
[0019] It can be seen from the above embodiments that the present specification provides timely and accurate corpus in the field of anti-illegal funds transfer through the anti-illegal funds transfer corpus, and routes the first question input by the user to one of the multiple answer generation modules corresponding to the first anti-illegal funds transfer field to which the first question belongs through the routing module. The query module in the RAG module queries the above-mentioned anti-illegal funds transfer corpus based on the first question and the first anti-illegal funds transfer field, thereby improving the processing capability of complex queries, and the corresponding answer generation module can generate and output the final answer, providing more detailed and professional answers for the anti-illegal funds transfer field, thereby improving the professionalism of the question and answer system in the field of anti-illegal funds transfer, and having high usability. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 This is one of the architectural diagrams of an anti-illegal fund transfer question-and-answer system provided by an exemplary embodiment.
[0021] Figure 2 This is the second architectural diagram of an anti-illegal fund transfer question-and-answer system provided by an exemplary embodiment.
[0022] Figure 3 This is the third architectural diagram of an anti-illegal fund transfer question-and-answer system provided by an exemplary embodiment.
[0023] Figure 4 It is one of the flow charts of a question-and-answer method for countering illegal fund transfer provided by an exemplary embodiment.
[0024] Figure 5 It is a flowchart of a method for constructing an anti-illegal fund transfer corpus provided by an exemplary embodiment.
[0025] Figure 6 It is a flowchart of a method for updating an anti-illegal fund transfer corpus provided by an exemplary embodiment.
[0026] Figure 7 It is a flowchart of a method for creating a keyword index provided by an exemplary embodiment.
[0027] Figure 8 This is the second flow chart of a question-and-answer method for combating illegal fund transfer provided by an exemplary embodiment.
[0028] Fig. 9A This is the third architectural diagram of an anti-illegal fund transfer question-and-answer system provided by an exemplary embodiment.
[0029] Fig. 9B It is a structural diagram of a multi-module retrieval enhancement generation module based on dynamic routing provided by an exemplary embodiment.
[0030] Fig. 9C It is a structural diagram of a text segmentation module provided by an exemplary embodiment.
[0031] Fig.9D This is the third flow chart of a question-and-answer method for combating illegal fund transfer provided by an exemplary embodiment.
[0032] Fig.10 It is a structural diagram of an anti-illegal fund transfer question-and-answer server provided by an exemplary embodiment. DETAILED DESCRIPTION
[0033] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of this specification. Instead, they are merely examples of devices and methods consistent with some aspects of one or more embodiments of this specification as detailed in the appended claims.
[0034] It should be noted that: in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the steps included in the method may be more or less than those described in this specification. In addition, a single step described in this specification may be decomposed into multiple steps for description in other embodiments; and multiple steps described in this specification may be combined into a single step for description in other embodiments.
[0035] At present, there have been some attempts to use Natural Language Processing (NLP) technology to build anti-illegal fund transfer knowledge bases and auxiliary question-answering systems. These solutions usually rely on NLP technology, such as information retrieval systems based on keyword searches and rule-driven expert systems. There are two common solutions:
[0036] Solution 1 uses a simple text matching algorithm. Relevant articles or regulatory paragraphs are retrieved from the knowledge base based on the keywords in the user's query. However, a major drawback of this approach is the lack of in-depth understanding of the query context, which often leads to low relevance of the retrieval results. In addition, these systems are usually unable to handle fuzzy queries or the complexity of natural language expressions because they rely heavily on preset query patterns or keyword lists.
[0037] Solution 2: Use basic language models for question answering and content generation. These models can generate answers based on pre-trained knowledge, but due to the lack of dynamic updates to current anti-illegal fund transfer regulations and the latest compliance information, the answers generated by these basic models often lack timeliness and accuracy. Moreover, these systems often fail to effectively utilize deep knowledge in specific fields, resulting in answers that may lack professionalism.
[0038] In order to improve the professionalism of the question-answering model in the field of anti-illegal fund transfer and its ability to handle complex queries, the present disclosure provides an anti-illegal fund transfer question-answering system, method, server and storage medium.
[0039] Before introducing the solution provided in this specification, the nouns involved in this specification are first introduced.
[0040] 1. Large Language Model (LLM): A natural language processing model based on deep learning, designed to generate and understand natural language text. LLM is composed of many neural network models, and its training data usually comes from a large text corpus.
[0041] 2. Retrieval Augmented Generation (RAG): A natural language processing technology that combines a retrieval module with a generation module. This technology enhances the model’s text generation capabilities by combining centralized real-time information retrieval with powerful language model generation capabilities, thereby improving the relevance and accuracy of the generated text.
[0042] 3. Dynamic routing: An intelligent decision-making mechanism in the field of large language models, which is used to dynamically determine the path of information flow or processing flow based on the content of input (such as customer questions) to efficiently and accurately process and respond to requests.
[0043] 4. Multi-Retrieval Enhanced Generation (Multi-module RAG) module: A composite AI model in the field of large language models that combines RAG models from multiple sub-domains to process and generate text information. In this architecture, each RAG module focuses on a specific knowledge domain or task, allowing the entire multi-module system to more effectively process cross-domain queries and provide more accurate and rich generated content.
[0044] 5. Retrieval module: One of the important components of retrieval-enhanced generation capabilities. It is responsible for retrieving documents or information fragments related to the input query from a large dataset. This dataset can be a structured database, knowledge base, or unstructured text collection. The retrieved information is then passed to the generation module.
[0045] 6. Generation module: One of the important components of retrieval-enhanced generation capabilities. It is a Transformer-based neural network model (a model that uses attention mechanism to increase the model training speed), such as the Generative Pre-trained Transformer model (GPT) or the Bidirectional Encoder Representations from Transformers (BERT). This model uses the retrieved information to generate answers, summaries, or other types of text outputs. When generating text, the generation module relies not only on its pre-trained knowledge, but also on the external information provided by the retrieval module, which makes the generated content more accurate and rich in information.
[0046] 7. Text segmentation: A natural language processing technique that involves breaking down text strings into smaller, manageable units, such as sentences, words, or subword units. This decomposition is achieved by applying a set of predetermined rules or algorithms to identify unit boundaries. Text segmentation is a prerequisite for information extraction, semantic analysis, and other language processing tasks, and is essential for understanding and processing text.
[0047] 8. Model-adaptive segmentation: A natural language processing technology that uses machine learning models to actively learn and apply optimal segmentation rules to adapt to different text features and contexts. This technology enables the model to automatically discover and divide units (such as words, fragments, or sentences) in the text without fixed segmentation rules, thereby improving processing accuracy and efficiency in diverse or complex text materials.
[0048] 9. Text encoding: A process of converting natural language text into a numerical form that the model can understand and process. In order for the language model to learn and generate text, text encoding maps words, phrases, or characters to vectors in a high-dimensional space. These vectors are composed of real numbers and can capture the semantic and grammatical features of the vocabulary. Common text encoding methods include bag-of-words models, term frequency-inverse document frequency (TF-IDF), word to vector (Word2Vec), global vectors for word representation (GloVe), and positional encoding and subword encoding (such as Byte-Pair Encoding (BPE) or sentence fragments (SentencePiece)) used in the Transformer architecture. These encoding methods enable language models to handle complex natural language tasks such as text classification, translation, summarization, and generation.
[0049] 10. Adaptive text segmentation: An intelligent text processing technology that can dynamically determine the best way to segment text based on the specific characteristics of language data. Unlike traditional word segmentation methods based on fixed rules, adaptive text segmentation technology uses machine learning algorithms to learn how to effectively segment text into smaller units, such as words, phrases, subword fragments, or characters.
[0050] 11. Automatic keyword tagging: A method widely used in the field of text processing, in which the system can automatically identify and assign representative keywords or phrases to specific text paragraphs or documents.
[0051] 12. Vector library: A data structure used to store and manage a large number of numerical vectors, each of which usually represents a multidimensional feature of an entity. In natural language processing, vector libraries are often used to store text embedding vectors, so that the semantics of words, phrases, or documents can be efficiently retrieved, compared, and manipulated in vector form. Vector libraries support fast vector retrieval operations, such as nearest neighbor search, to implement various machine learning and data mining tasks.
[0052] 13. Information retrieval: A process of identifying and extracting information relevant to a user's query from a large data set. It involves steps such as data indexing, query processing, relevance evaluation, and result sorting, aiming to provide users with the required information quickly and accurately. In the digital and network environment, information retrieval technology is widely used in search engines, database management systems, and online information services.
[0053] 14. Anti-Illegal Fund Transfer Professional Encyclopedia: A tool designed to provide detailed information on anti-illegal fund transfer principles, regulations, policies and practices. The encyclopedia compiles knowledge related to preventing the flow of illegal funds and their legalization, including international standards, compliance requirements, due diligence procedures, and methods for monitoring and reporting suspicious activities. As a professional reference, it provides guidance and knowledge support for financial institutions, compliance officers, legal professionals, and individuals working in the field of anti-illegal fund transfer.
[0054] Figure 1 FIG. 1 is a schematic diagram of the architecture of an anti-illegal fund transfer question-and-answer system provided by an exemplary embodiment. Figure 1 As shown, the system may include but is not limited to at least one of the following:
[0055] Anti-Illegal Fund Transfer Corpus 101;
[0056] Routing module 102;
[0057] RAG module 103.
[0058] In some embodiments, the anti-illegal funds transfer corpus 101 includes texts in multiple anti-illegal funds transfer fields.
[0059] In one example, the multiple areas of anti-illegal fund transfer include, but are not limited to, at least one of the following areas:
[0060] The areas of policies and regulations against illegal fund transfer; the areas of operations against illegal fund transfer; the areas of training against illegal fund transfer; and other areas of anti-illegal fund transfer.
[0061] It is understandable that the number and names of the above fields are not limited.
[0062] Exemplarily, the field of policies and regulations against illegal funds transfer can be interchangeable with the field of questions and answers on policies and regulations against illegal funds transfer, the field of laws and regulations on money laundering, and the like.
[0063] Exemplarily, the anti-illegal funds transfer operations field can be interchangeable with the anti-illegal funds transfer work guidance question and answer field, the anti-money laundering work field, etc.
[0064] For example, the anti-illegal funds transfer training field can be interchangeable with the anti-illegal funds transfer new employee training question and answer field, the money laundering personnel training field, and the like.
[0065] In some embodiments, the routing module 102 may also be referred to as a "dynamic routing module", which may determine the first anti-illegal funds transfer field to which the first question belongs, and then based on the first anti-illegal funds transfer field, send (or route) the first question and the first anti-illegal funds transfer field to the retrieval module 103-1.
[0066] The first question may be any question in the field of anti-illegal fund transfer input by the user.
[0067] The first anti-illegal funds transfer field refers to an anti-illegal funds transfer field to which the first question input by the user belongs. For example, the first anti-illegal funds transfer field may be an anti-illegal funds transfer training field.
[0068] In some embodiments, the RAG module 103 may include but is not limited to at least one of the following:
[0069] Retrieval module 103-1;
[0070] Multiple answer generation modules 103-2.
[0071] The retrieval module 103-1 may be used to query the anti-illegal fund transfer corpus based on the first question and the first anti-illegal fund transfer field to obtain a first query result. Further, the first query result may be sent to a first answer generation module. The first answer generation module is one of the multiple answer generation modules 103-2 corresponding to the first anti-illegal fund transfer field.
[0072] The first answer generation module can generate a first answer corresponding to the first question based on the first query result, and output the first answer through the system interface.
[0073] Among them, each answer generation module in the multiple answer generation modules 103-2 can correspond to an anti-illegal funds transfer field, for example, answer generation module #1 corresponds to the anti-illegal funds transfer policy and regulation field, answer generation module #2 corresponds to the anti-illegal funds transfer operation field, answer generation module #3 corresponds to the anti-illegal funds transfer training field, and answer generation module #4 corresponds to other anti-illegal funds transfer fields.
[0074] Among them, each answer generation module can be composed of a large language model, and the large language model can perform text question and answer training based on the sample text in the field of anti-illegal funds transfer corresponding to the answer generation module. For example, if the answer generation module corresponds to the field of anti-illegal funds transfer policies and regulations, sample questions and sample answers in this field can be obtained, and the sample questions are input into the large language module. Through NLP technology, the large language model is trained with sample answers as labels, so that the answers it outputs match the sample answers as much as possible, and a trained large language model is obtained, thereby improving the professionalism of the answers generated by the corresponding answer generation module for each specific anti-illegal funds transfer field.
[0075] Each answer generation module can utilize the powerful computing and contextual analysis capabilities of the large language model to combine the query results obtained by the retrieval module, the questions input by the user, and the classification results determined by the routing module 102 (i.e., the field of anti-illegal fund transfer to which the question input by the user belongs), and use the deep learning algorithm to generate natural, coherent and professional answers. The generated answers can not only reflect the direct needs of the query, but also integrate professional information in the authoritative knowledge base, providing a comprehensive and specific answer in the field of anti-illegal fund transfer.
[0076] In the above embodiments, more detailed and professional answers are provided in the field of anti-illegal fund transfer, which improves the professionalism of the question-and-answer system in the field of anti-illegal fund transfer and has high usability.
[0077] In some embodiments, Figure 2 is based on Figure 1 Another architecture diagram of an anti-illegal fund transfer question-and-answer system provided in the embodiment. Figure 2 As shown, the system may also include:
[0078] Corpus construction module 104 .
[0079] In some embodiments, the corpus construction module 104 may be used to construct a special corpus in the field of anti-illegal fund transfer, and / or may update the constructed anti-illegal fund transfer corpus.
[0080] In some embodiments, the corpus construction module 104 can perform correlation analysis on the input one or more first documents in multiple anti-illegal fund transfer fields, determine a first text set related to any anti-illegal fund transfer field in each of the first documents, and construct the anti-illegal fund transfer corpus based on the first text set.
[0081] In one example, the first document may be a known professional document, archive, regulatory document, etc. in the field of anti-illegal fund transfer.
[0082] In one example, the format of the first document is not limited, and may be in word, pdf, html or other formats.
[0083] In one example, the corpus construction module 104 can scan each of the above-mentioned first documents and perform text parsing processing, such as performing correlation analysis processing on multiple anti-illegal funds transfer fields, removing text content irrelevant to the anti-illegal funds transfer field, and extracting key elements in each first document, such as the first text set in the first document that is related to any anti-illegal funds transfer field.
[0084] For first documents of different formats and / or different sources, a parsing strategy corresponding to its format and / or source is adopted to ensure that knowledge points related to the field of anti-illegal fund transfer are extracted, and a preliminary anti-illegal fund transfer corpus is constructed after summarization and integration.
[0085] In some embodiments, when the system detects a newly input second document, for example, after the policy or regulation is updated or modified, the system administrator can directly input the second document into the system, and the corpus construction module 104 can also perform a correlation analysis of multiple anti-illegal fund transfer fields on the acquired second document, and determine the second text set related to any anti-illegal fund transfer field in the second document. And through a machine learning algorithm, the second text set is deeply compared with the first text set to identify the first text that needs to be added and / or the first text that needs to be modified. The first text that needs to be added is added to the anti-illegal fund transfer corpus, and / or, based on the first text that needs to be modified, the corresponding first text in the anti-illegal fund transfer corpus is modified. Dynamic optimization and expansion of the anti-illegal fund transfer corpus is achieved to ensure the timeliness and integrity of the corpus.
[0086] In some embodiments, the corpus construction module 104 can perform text encoding, and through the text encoding technology, the anti-illegal fund transfer corpus is converted into a high-dimensional vector form to construct a comprehensive vector library in the field of anti-illegal fund transfer.
[0087] In the above embodiment, the purpose of building, dynamically optimizing and expanding the anti-illegal funds transfer corpus is achieved, the timeliness and completeness of the corpus are guaranteed, the timeliness and accuracy of the answers subsequently generated and output are improved, and the availability is high.
[0088] In some embodiments, Figure 3 is based on Figure 1 Another architecture diagram of an anti-illegal fund transfer question-and-answer system provided in the embodiment. Figure 3 As shown, the system may also include:
[0089] Index creation module 105.
[0090] In some embodiments, the index creation module 105 can be used to create a keyword index of the anti-illegal funds transfer corpus.
[0091] In some embodiments, the index creation module 105 can adaptively segment each first text included in the anti-illegal fund transfer corpus to obtain multiple small text units. Exemplarily, natural language processing technology can be used to adaptively segment each first text included in the anti-illegal fund transfer corpus based on Chinese grammatical habits, Chinese text features, etc., and split large texts into semantically complete small text units, thereby helping to improve the efficiency of subsequent retrieval.
[0092] Among them, adaptive segmentation can more accurately handle professional terms and complex sentences, and preserve the semantic integrity of the text. Through the machine learning model, the system can continuously learn the optimal text segmentation rules, and efficiently segment the text in the anti-illegal fund transfer corpus into small text units that are easy to process, laying the foundation for subsequent retrieval and generation tasks.
[0093] Further, the index creation module 105 can identify the keywords in the field of anti-illegal fund transfer included in each small text unit. In one example, the index creation module 105 can automatically mark each first text segmented by a marking method to identify the keywords belonging to the field of anti-illegal fund transfer included therein.
[0094] Furthermore, the index creation module 105 may construct a keyword index of the anti-illegal fund transfer corpus based on the identification result of each small text unit.
[0095] In one example, the keywords of the anti-illegal fund transfer corpus can be represented in vector form, that is, the index creation module 105 can construct a keyword vector index.
[0096] Accordingly, the search module 103 - 1 may encode the first question and the first field of anti-illegal fund transfer to which the first question belongs, and convert them into a first query vector.
[0097] Further, the search module 103-1 searches for a keyword index in the anti-illegal fund transfer corpus based on the first query vector, thereby quickly filtering out first small text units that are irrelevant to the first query vector. The number of the first small text units may be one or more, which is not limited in the present disclosure.
[0098] After filtering out the first small text unit, one or more second small text units remain in the anti-illegal funds transfer corpus. The retrieval module 103-1 can select one or more third small text units from the remaining one or more second small text units in order of text similarity with the first query vector from high to low, wherein the number of the selected third small text units is not limited.
[0099] The retrieval module 103 - 1 may obtain the first query result based on the text content included in the one or more third small text units.
[0100] In the above embodiment, an adaptive segmentation method is used to segment the corpus, which improves the semantic integrity of the retained text and is more suitable for Chinese text segmentation. In addition, a keyword index of the anti-illegal funds transfer corpus can be quickly constructed based on the segmented small text units, which provides a basis for the subsequent retrieval module to efficiently obtain query results in the field of anti-illegal funds transfer, and has high usability.
[0101] In some embodiments, the routing module 102 in the above system may also be used to determine the user's expectation type for the first answer and then send the expectation type to the first answer generation module.
[0102] In one example, the expectation type may include, but is not limited to, one of the following: accuracy; rigor; divergence.
[0103] Exemplarily, when the expectation type includes accuracy, it can indicate that the user has the highest accuracy requirement for the first answer. For example, for questions about specific operations of anti-illegal fund transfer, the accuracy requirement can be the highest.
[0104] Exemplarily, when the expectation type includes rigor, it can indicate that the user has the highest rigor requirement for the first answer. For example, the rigor requirement for questions regarding legal provisions in the field of anti-illegal fund transfer can be the highest.
[0105] Exemplarily, when the expectation type includes rigor, it can indicate that the user has the highest divergence requirement for the first answer. For example, the divergence requirement for work planning and employee training in the field of anti-illegal fund transfer can be the highest.
[0106] Of course, the expected types may also include multiple types mentioned above. For example, for issues related to legal provisions in the field of anti-illegal fund transfer, the highest requirements may be placed on accuracy and rigor.
[0107] In one example, during the training process, the large language model corresponding to the first answer generation module can be trained using sample answers corresponding to its corresponding first anti-illegal fund transfer field and the user's possible expected type as labels.
[0108] For example, for questions that require high accuracy, the training requirement is to effectively reduce the generation of "hallucinations". For questions that require creativity and divergence, sufficient thinking space can be given in the answers that call on the large language model.
[0109] In one example, the first answer generation module may generate a first answer corresponding to the first question and conforming to the expected type based on the first query result, and output the first answer through a system interface.
[0110] In the above embodiment, the anti-illegal funds transfer system can automatically determine the type of answer expected by the user and generate an answer that meets the expected type, thereby improving the reliability of the answer output by the anti-illegal funds transfer system and enhancing the user experience.
[0111] In Example 1, it is assumed that the user enters the following question: How to identify suspicious transactions?
[0112] The routing module 102 may perform the following operations:
[0113] Domain classification: The user’s question is analyzed through a large language model to determine the domain of anti-illegal fund transfer, and it is assumed to belong to the “case” domain.
[0114] Expectation type analysis: Analyze the expectation type corresponding to the user's question through a large language model, and assume that the user has high expectations for the "accuracy" and "rigor" of the answer content.
[0115] Select a generation module among the RAG modules: A dynamic routing mechanism is used to select an answer generation module that focuses on case analysis, assumed to be answer generation module #1.
[0116] The RAG module 103 may perform the following operations:
[0117] Determine the query results: The search module searches the corpus to find case information fragments related to "suspicious transactions", such as "money laundering case analysis", "suspicious transaction identification skills", etc.
[0118] Generate answers: Answer generation module #1 uses the retrieved content and the generation capability of the large language model to generate natural, fluent and professional answers to the question “How to identify suspicious transactions”, for example:
[0119] To identify suspicious transactions, we need to pay attention to the following aspects: 1) abnormal transaction amount; 2) abnormal transaction frequency; 3) abnormal transaction counterparty; 4) abnormal transaction method; 5) abnormal transaction purpose. For example, sudden large transactions, frequent small transactions, transactions with high-risk countries or regions, transactions conducted using anonymous accounts, transactions without reasonable transaction purposes, etc. may all be considered suspicious transactions.
[0120] Output answer: Answer generation module #1 outputs the generated answer to the user through the system interface, completing the entire retrieval and answer generation process.
[0121] Example 2: Assume that a newly hired anti-illegal fund transfer staff member encounters the following problem when handling a suspected money laundering case: How to identify falsified customer identity information?
[0122] The routing module 102 may perform the following operations:
[0123] Domain classification: The large language model is used to analyze the user's question to determine which domain it belongs to: anti-illegal fund transfer. It is assumed to belong to the "laws and regulations" domain.
[0124] Expectation type analysis: Analyze the expectation type corresponding to the user's question through a large language model, and assume that the user has high expectations for the "accuracy" and "rigor" of the answer content.
[0125] Select the generation module in the RAG module: A dynamic routing mechanism is used to select the answer generation module that focuses on laws and regulations, assumed to be answer generation module #2.
[0126] The RAG module 103 may perform the following operations:
[0127] Determine the query results: The search module searches the corpus to find the legal and regulatory information fragments related to "customer identity information fraud", such as "Anti-Illegal Fund Transfer Law", "Customer Identity Identification Management Measures", etc.
[0128] Generate answers: Answer generation module #2 uses the retrieved content and the generation capability of the large language model to generate natural, fluent, and professional answers to the question “How to identify fake customer identity information?”, for example:
[0129] To identify customer identity fraud, we need to pay attention to the following aspects: 1) Whether the identity document provided by the customer is authentic and valid; 2) Whether the information on the identity document provided by the customer is consistent with the customer himself; 3) Whether the contact information provided by the customer is authentic and valid; 4) Whether the address information provided by the customer is authentic and valid. For example, we can compare whether the photo on the identity document provided by the customer is consistent with the customer himself, verify whether the contact information provided by the customer can be dialed, and check whether the address information provided by the customer really exists.
[0130] Output the answer: Answer generation module #2 outputs the generated answer to the user through the user interface, completing the entire knowledge retrieval and answer generation process.
[0131] It should be noted that if the routing module classifies the above question into the field of new employee training during the field classification process, the answer generated by the retrieval module and the corresponding answer generation module should be the same as the answer to the above question "How to identify falsified customer identity information".
[0132] Figure 4 FIG. 1 is a flowchart of a method for questioning and answering questions to prevent illegal fund transfer provided by an exemplary embodiment. Figure 4 As shown, the method may include the following steps:
[0133] Step S401, obtaining a first question input by a user.
[0134] Step S402, determining a first anti-illegal funds transfer field to which the first problem belongs.
[0135] Step S403: query an anti-illegal funds transfer corpus based on the first question and the first anti-illegal funds transfer field to obtain a first query result.
[0136] Step S405: Generate and output a first answer corresponding to the first question based on the first query result.
[0137] In some embodiments, the first question input by the user on the user interface may be acquired by an application programming interface (API) provided by the system.
[0138] Furthermore, the API may send the first question to the routing module 102, which determines the first anti-illegal fund transfer field to which the first question belongs, and sends the first question to a first answer generation module corresponding to the first anti-illegal fund transfer field.
[0139] The retrieval module can query the anti-illegal funds transfer corpus based on the first question and the first anti-illegal funds transfer field to obtain a first query result, and provide the first query result to a first answer generation module. The first answer generation module generates a first answer corresponding to the first question based on the first query result.
[0140] The specific implementation process has been introduced on the system side and will not be repeated here.
[0141] In the above embodiments, more detailed and professional answers can be provided in the field of anti-illegal fund transfer, thereby improving the professionalism of the question-and-answer system in the field of anti-illegal fund transfer and achieving high usability.
[0142] In some embodiments, Figure 5 This is a flow chart of a method for constructing an anti-illegal fund transfer corpus provided by an exemplary embodiment. Figure 5 As shown, the method may include the following steps:
[0143] Step S501: performing correlation analysis on multiple anti-illegal fund transfer fields on one or more first documents to determine a first text set related to any anti-illegal fund transfer field in each of the first documents.
[0144] Step S502: construct the anti-illegal funds transfer corpus based on the first text set.
[0145] In some embodiments, the corpus may be constructed by the corpus construction module 104. The specific implementation process has been introduced in the aforementioned implementation and will not be repeated here.
[0146] In the above embodiment, the purpose of building an anti-illegal fund transfer corpus is achieved, the timeliness and accuracy of the answers subsequently generated and output are improved, and the usability is high.
[0147] In some embodiments, Figure 6 FIG. 1 is a flow chart of a method for updating an anti-illegal fund transfer corpus provided by an exemplary embodiment. Figure 6 As shown, the method may include the following steps:
[0148] Step S601: performing correlation analysis on the acquired second document in multiple anti-illegal fund transfer fields, and determining a second text set in the second document that is related to any anti-illegal fund transfer field.
[0149] Step S602: compare the second text set with the first text set to determine first texts that need to be added and / or first texts that need to be modified.
[0150] Step S603: updating the anti-illegal funds transfer corpus based on the first text that needs to be added and / or the first text that needs to be modified.
[0151] In some embodiments, the corpus may be updated by the corpus construction module 104. The specific implementation process has been introduced in the aforementioned implementation and will not be repeated here.
[0152] In the above embodiment, the purpose of dynamically optimizing and expanding the anti-illegal funds transfer corpus is achieved, the timeliness and integrity of the corpus are guaranteed, the timeliness and accuracy of the answers subsequently generated and output are improved, and the availability is high.
[0153] In some embodiments, Figure 7 FIG. 1 is a flow chart of a method for creating a keyword index provided by an exemplary embodiment. Figure 7 As shown, the method may include the following steps:
[0154] Step S701 , adaptively segmenting each first text included in the anti-illegal fund transfer corpus to obtain a plurality of small text units.
[0155] Step S702, identifying keywords in the field of anti-illegal fund transfer included in each small text unit.
[0156] Step S703: construct a keyword index of the anti-illegal fund transfer corpus based on the identification result of each small text unit.
[0157] In some embodiments, the index creation module 105 may use the above steps to create a keyword index. The specific implementation process has been introduced in the above implementation and will not be repeated here.
[0158] In the above embodiment, an adaptive segmentation method is used to segment the corpus, which improves the semantic integrity of the retained text and is more suitable for Chinese text segmentation. In addition, a keyword index of the anti-illegal funds transfer corpus can be quickly constructed based on the segmented small text units, which provides a basis for the subsequent retrieval module to efficiently obtain query results in the field of anti-illegal funds transfer, and has high usability.
[0159] In some embodiments, Figure 8 is based on Figure 4 The embodiment shown is a flow chart of another method for questioning and answering against illegal fund transfer. Figure 8 As shown, the method may further include the following steps:
[0160] Step S404: determine the user's expectation type for the first answer.
[0161] In some embodiments, the expected type may be determined by routing module 102 .
[0162] In some embodiments, step S405 may specifically include:
[0163] Based on the first query result, a first answer corresponding to the first question and meeting the expected type is generated and output.
[0164] It should be noted that the execution order of step S403 and step S404 is not limited. In addition, step S404 is an optional execution step.
[0165] In the above embodiment, the anti-illegal funds transfer system can automatically determine the type of answer expected by the user and generate an answer that meets the expected type, thereby improving the reliability of the answer output by the anti-illegal funds transfer system and enhancing the user experience.
[0166] The above scheme is further illustrated as follows.
[0167] In the financial industry, anti-illegal fund transfer is a key link in ensuring the security of the financial system and maintaining normal financial order. With the continuous evolution of international anti-illegal fund transfer standards and the rapid development of financial technology, financial service providers such as payment institutions are facing increasingly complex compliance challenges. Financial institutions' anti-illegal fund transfer staff need to always maintain sensitivity and accurate grasp of relevant laws and regulations. The laws and regulations related to anti-illegal fund transfer are numerous and frequently updated. For newcomers and non-professionals, it is a huge challenge to efficiently obtain and understand these complex information. In addition, as payment institutions are spread all over the world, how to quickly popularize and update anti-illegal fund transfer knowledge in various places has also become a key task. In order to ensure the effectiveness of anti-illegal fund transfer work, in-depth understanding and timely updating of laws and regulations and regulatory guidance documents have become necessary conditions. They not only provide guidance for anti-illegal fund transfer work, but also locate the focus of work and regulatory requirements.
[0168] In view of the urgent need for professional knowledge in the daily work of anti-illegal fund transfer by current payment institutions and other financial institutions, this project aims to develop a set of anti-illegal fund transfer legal and regulatory question-and-answer system based on large models. The system will integrate the latest regulatory information, regulatory guidance and knowledge content provided by professional certification agencies, and establish an intelligent question-answering and knowledge popularization platform through natural language processing technology.
[0169] The planned application scenarios of the anti-illegal fund transfer laws and regulations question-and-answer system developed by this project include but are not limited to:
[0170] New employee training: The system will serve as a training tool for new anti-illegal fund transfer staff, providing real-time regulatory learning and query functions to help them quickly integrate into their positions and improve their professional capabilities.
[0171] Daily reference query: Anti-illegal fund transfer staff can use the question-and-answer system to query professional issues encountered in daily work, and the system will provide answers based on the latest regulations and case information.
[0172] Knowledge system construction: Through the system's continuous accumulation of question and answer records and updated content, a complete anti-illegal fund transfer knowledge system can be built to provide decision-making support for payment institutions.
[0173] Professional competence review: The system will be combined with the certification standards of professional certification bodies to provide practitioners with competence testing and knowledge review to ensure the professional level of the team.
[0174] In some embodiments, a schematic diagram of an overall solution is provided, for example Fig. 9A shown.
[0175] The input questions can be classified by the dynamic routing module, and the classification results can be provided to the corresponding RAG model.
[0176] The multi-module retrieval enhancement generation module based on dynamic routing can be, for example, Fig. 9B shown.
[0177] Among them, the text segmentation module can be, for example, Fig. 9C shown.
[0178] This patent application covers a knowledge base system designed for the professional field of anti-illegal fund transfer. The system is based on dynamic routing and multi-module retrieval enhanced generation (RAG) large language model technology, aiming to provide a timely and accurate anti-illegal fund transfer information query and answer generation platform. The main process of the system is as follows: Fig.9D As shown, it includes the following steps:
[0179] Step S901, document loading and corpus generation.
[0180] This specification proposes a corpus generation system that includes anti-illegal fund transfer existing knowledge processing and anti-illegal fund transfer new knowledge processing modules, which can realize the timely integration of the latest regulatory information, regulatory guidance and knowledge content provided by the professional certification agency ACAMS. Specifically:
[0181] Processing of existing knowledge on anti-illegal fund transfer: The system will comprehensively scan existing anti-illegal fund transfer related documents (including but not limited to anti-illegal fund transfer professional literature, archives, regulatory documents, etc.) in various formats (including but not limited to word, pdf, html, etc.), and perform automated text parsing to extract key elements and structured information. In this process, the system has adopted a variety of parsing strategies specifically for documents of different sources and formats to ensure that valuable knowledge points are extracted from the disorganized data. Subsequently, the system summarizes and integrates this information to construct a preliminary anti-illegal fund transfer professional corpus.
[0182] Processing of new knowledge for anti-illegal fund transfer: The system automatically identifies and imports the latest documents through the design of specific algorithms, and performs parsing and text extraction tasks. The system deeply compares the new knowledge with the existing corpus. With the help of machine learning algorithms, the system can identify the content required for updates or supplements, thereby dynamically optimizing and expanding the knowledge base to ensure the timeliness and integrity of the information.
[0183] Step S902: text adaptive segmentation.
[0184] The system provided in this specification introduces a text adaptive segmentation module, which uses advanced natural language processing technology to automatically adjust the segmentation standards and methods according to the specific language features of the text in the corpus, splitting large texts into semantically complete small text units, which helps to improve the efficiency and effectiveness of subsequent processing. Compared with traditional word segmentation methods, adaptive segmentation can more accurately handle professional terms and complex sentences, retaining the semantic integrity of the text. Through the machine learning model, the system can continuously learn the optimal text segmentation rules, and the system can efficiently segment the text in the anti-illegal fund transfer corpus into small text units that are easy to process, laying the foundation for subsequent retrieval and generation tasks.
[0185] Step S903: Automatically mark keywords in the segmented text.
[0186] The system provided in this manual designs a set of automatic keyword tagging technology based on the segmented text. This module can construct keywords according to the knowledge system of the encyclopedia in the field of anti-illegal fund transfer, and tag the original text to form a complete vector library information retrieval space.
[0187] Step S904: “Dynamic routing” intelligent decision-making mechanism.
[0188] This manual uses a large language model to accurately classify user questions and determine the user's expectations for the "accuracy", "rigor", "creativity" and other expectations of the answer content. According to the user's question category and user expectations, it routes to the corresponding model of multi-module retrieval enhancement to generate RAG, and sets the relevant parameters of the RAG model. For questions with high requirements for "answer accuracy", it can effectively reduce the generation of "hallucinations"; for questions with creative and divergent requirements, it can provide enough thinking space in the answers that call the large language model.
[0189] Step S905, multi-module retrieval enhancement generates RAG.
[0190] The multi-module retrieval enhancement generation RAG module involved in this specification is composed of multiple retrieval enhancement generation RAG modules with different divisions of labor, which are used to answer questions in different sub-fields. In this architecture, each RAG module focuses on a specific knowledge field or task, so that the entire multi-module system can more effectively handle cross-domain queries and provide more accurate and rich generated content. Multi-module retrieval enhancement generation RAG modules share a retrieval module, but each retrieval enhancement generation RAG module has a different generation module. A single retrieval enhancement generation RAG module mainly consists of two parts: a retrieval module and a generation module. The specific steps include:
[0191] Text encoding is performed in the retrieval module. The system uses advanced text encoding technology to convert the organized anti-illegal fund transfer professional corpus into a high-dimensional vector form and build a comprehensive vector library. The query (prompt) entered by the user and the classification results generated after dynamic routing are also encoded and converted into corresponding query vectors.
[0192] Information retrieval is performed in the retrieval module. The encoded user query vector is efficiently matched in the vector library for similarity, and the system retrieves and selects the most relevant information fragments to the query.
[0193] The generation module generates answers in the field of anti-illegal fund transfer. The system uses the powerful computing and contextual analysis capabilities of the large language model to combine the information obtained by the retrieval module with the prompt information entered by the user and the classification results generated after dynamic routing, and uses deep learning algorithms to generate natural, coherent and professional answers. The generated results not only reflect the direct needs of the query, but also integrate professional information from the authoritative knowledge base, providing a comprehensive and specific answer in the field of anti-illegal fund transfer.
[0194] Final result output: The system outputs the generated answer through the user interface, completing the entire knowledge retrieval and answer generation process.
[0195] The design of this system takes into account the frequency and professionalism of knowledge updates in the field of anti-illegal fund transfer. Through the automatic document processing and update mechanism, the real-time and professionalism of the corpus are guaranteed. The application of text adaptive segmentation technology further improves the accuracy of subsequent processing. The core part is the "dynamic routing" intelligent decision-making mechanism and multi-module retrieval enhancement generation RAG. In the "dynamic routing" intelligent decision-making mechanism, a large language model is used to accurately distinguish user question categories, identify user expectations for the "accuracy", "rigor", "creativity" and other aspects of the answer content, and select the downstream multi-module retrieval enhancement generation RAG according to actual conditions. Multi-module retrieval enhancement generation RAG consists of multiple RAG modules in different sub-fields. Each RAG module combines advanced vector retrieval technology and a large language model to achieve accurate responses to complex queries, making this system have significant technical innovation and practical value in the field of anti-illegal fund transfer professional knowledge retrieval.
[0196] It is worth emphasizing that our "dynamic routing" intelligent decision-making mechanism and multi-module retrieval enhancement generation RAG part combine a number of cutting-edge technologies, innovatively solving the problems of difficulty in retrieving professional knowledge, inaccurate answers from large language models, and easy "hallucinations" in answer content. In the retrieval stage, the text encoding optimized by deep learning technology not only captures the surface features of the text, but also deeply explores the connections at the semantic level, allowing the system to understand and retrieve complex queries that cannot be intuitively matched by keywords alone. In addition, the large language model in the generation stage uses the latest natural language processing technology, which can generate smooth, logically coherent and information-rich text output based on the retrieved context and user input. Compared with simple information retrieval or direct citation, this generation method can provide more detailed and customized answers, greatly enhancing the user experience.
[0197] The system design of this solution takes into account ease of use, flexibility and scalability. The solution provides an intuitive user interface that allows even non-technical anti-illegal fund transfer workers to easily use the system. Users can obtain in-depth analysis and answers to complex questions through simple query input. In addition, this system design allows seamless integration of new data to keep the knowledge base up to date; the system architecture also facilitates the integration and upgrading of future technologies, such as more advanced NLP models or more sophisticated adaptive segmentation algorithms, to ensure that the patented solution can continue to lead the forefront of technological development.
[0198] Fig.10 This is a schematic diagram of an anti-illegal fund transfer question-and-answer server provided by an exemplary embodiment. Fig.10At the hardware level, the device includes a processor 1002, an internal bus 1004, a network interface 1006, a memory 1008, and a non-volatile memory 1010, and may also include hardware required for other functions. One or more embodiments of this specification may be implemented based on software, such as the processor 1002 reading the corresponding computer program from the non-volatile memory 1010 into the memory 1008 and then running it. Of course, in addition to the software implementation, one or more embodiments of this specification do not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0199] Based on the same concept as the above method, this specification also provides a computer-readable storage medium on which computer instructions are stored. When the instructions are executed by a processor, the steps of the method described in any of the above embodiments are implemented.
[0200] Based on the same concept as the above method, this specification also provides a computer program product, including a computer program / instruction, which implements the steps of the method described in any of the above embodiments when executed by a processor.
[0201] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0202] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0203] It should be understood that, although the terms target, second, third, etc. may be used to describe various information in one or more embodiments of this specification, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the target information may also be referred to as the second information, and similarly, the second information may also be referred to as the target information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0204] The above description is merely a preferred embodiment of one or more embodiments of the present specification and is not intended to limit one or more embodiments of the present specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of one or more embodiments of the present specification shall be included in the scope of protection of one or more embodiments of the present specification.
Claims
1. An anti-illegal fund transfer question-answering system, characterized in that: The system comprises: Anti-Illegal Fund Transfer Corpus; Routing module; A retrieval enhancement generation RAG module, the RAG module includes: a retrieval module, a plurality of answer generation modules; wherein each answer generation module corresponds to an anti-illegal fund transfer field; The routing module is used to determine the first anti-illegal fund transfer field to which the first question input by the user belongs, and send the first question and the first anti-illegal fund transfer field to the search module; The retrieval module is used to obtain a first query result in the anti-illegal fund transfer corpus based on the first question and the first anti-illegal fund transfer field, and send the first query result to a first answer generation module; wherein the first answer generation module is one of the multiple answer generation modules corresponding to the first anti-illegal fund transfer field; The first answer generation module is used to generate and output a first answer corresponding to the first question based on the first query result.
2. The system according to claim 1, characterized in that The system further comprises: A corpus construction module, wherein the corpus construction module is used to: Performing correlation analysis on multiple anti-illegal fund transfer fields on one or more first documents to determine a first text set related to any anti-illegal fund transfer field in each of the first documents; Based on the first text set, the anti-illegal funds transfer corpus is constructed.
3. The system according to claim 2, characterized in that The corpus building module is also used to: Performing correlation analysis on the acquired second document in multiple anti-illegal fund transfer fields, and determining a second text set in the second document that is related to any anti-illegal fund transfer field; Comparing the second text set with the first text set to determine first texts that need to be added and / or first texts that need to be modified; The anti-illegal funds transfer corpus is updated based on the first text that needs to be added and / or the first text that needs to be modified.
4. The system according to any one of claims 1 to 3, characterized in that: The system further comprises: An index creation module, wherein the index creation module is used to: Adaptively segment each first text included in the anti-illegal fund transfer corpus to obtain a plurality of small text units; Identify the keywords in the field of anti-illegal fund transfer included in each small text unit; Based on the identification result of each small text unit, a keyword index of the anti-illegal fund transfer corpus is constructed.
5. The system according to claim 4, characterized in that The retrieval module is also used for: Based on the first question and the first field of anti-illegal fund transfer, generate a first query vector; Based on the first query vector, query the keyword index, and filter out one or more first small text units irrelevant to the first query vector in the anti-illegal fund transfer corpus; Determine one or more third small text units from the remaining one or more second small text units in the anti-illegal fund transfer corpus in descending order of text similarity with the first query vector; The first query result is obtained based on the text content included in one or more of the third small text units.
6. The system according to claim 1, characterized in that The routing module is also used to: determining the user's expectation type for the first answer; Sending the expected type to the first answer generation module; The first answer generation module is also used for: Based on the first query result, a first answer corresponding to the first question and meeting the expected type is generated and output.
7. A method for questioning and answering against illegal fund transfer, characterized in that: The method comprises: Get user input for the first question; Determine the first field of combating illegal fund transfer to which the first problem belongs; Based on the first question and the first anti-illegal funds transfer field, query the anti-illegal funds transfer corpus to obtain a first query result; Based on the first query result, a first answer corresponding to the first question is generated and output.
8. The method according to claim 7, characterized in that The method further comprises: Performing correlation analysis on multiple anti-illegal fund transfer fields on one or more first documents to determine a first text set related to any anti-illegal fund transfer field in each of the first documents; Based on the first text set, the anti-illegal funds transfer corpus is constructed.
9. The method according to claim 8, characterized in that The method further comprises: Performing correlation analysis on the acquired second document in multiple anti-illegal fund transfer fields, and determining a second text set in the second document that is related to any anti-illegal fund transfer field; Comparing the second text set with the first text set to determine first texts that need to be added and / or first texts that need to be modified; The anti-illegal funds transfer corpus is updated based on the first text that needs to be added and / or the first text that needs to be modified.
10. The method according to any one of claims 7 to 9, characterized in that: The method further comprises: Adaptively segment each first text included in the anti-illegal fund transfer corpus to obtain a plurality of small text units; Identify the keywords in the field of anti-illegal fund transfer included in each small text unit; Based on the identification result of each small text unit, a keyword index of the anti-illegal fund transfer corpus is constructed.
11. The method according to claim 10, characterized in that The querying of the anti-illegal funds transfer corpus based on the first question and the first anti-illegal funds transfer field to obtain a first query result includes: Based on the first question and the first field of anti-illegal fund transfer, generate a first query vector; Based on the first query vector, query the keyword index, and filter out one or more first small text units irrelevant to the first query vector in the anti-illegal fund transfer corpus; Determine one or more third small text units from the remaining one or more second small text units in the anti-illegal fund transfer corpus in descending order of text similarity with the first query vector; The first query result is obtained based on the text content included in one or more of the third small text units.
12. The method according to claim 7, characterized in that The method further comprises: determining the user's expectation type for the first answer; The generating and outputting a first answer corresponding to the first question based on the first query result includes: Based on the first query result, a first answer corresponding to the first question and meeting the expected type is generated and output. 13.An anti-illegal fund transfer question-answering server, characterized in that: include: processor; A memory for storing processor-executable instructions; wherein the processor implements the steps of the method according to any one of claims 7 to 12 by executing the executable instructions.
14. A computer-readable storage medium, characterized in that: Computer instructions are stored thereon, and when the instructions are executed by a processor, the steps of the method as described in any one of claims 7 to 12 are implemented.
15. A computer program product, characterized in that The method comprises a computer program / instruction, which, when executed by a processor, implements the steps of the method according to any one of claims 7 to 12.
Citation Information
Cited By
Commercial real estate question and answer content generation system based on retrieval enhancement technology
CN119719314A
Commercial real estate question-answering content generation system based on retrieval enhancement technology
CN119719314B
Intelligent Question Answering System and Methods
TWI935514B
