Human-ai interaction method and system based on LLM model

Through pre-management and retrieval of information in specific fields, the problem of long context restrictions, timeliness and limitations of the LLM model when the information in specific fields is not involved is solved, and automatic supplementation of contextual information is realized, improving user experience and reducing costs. .

WO2024198355A1PCT designated stage expired Publication Date: 2024-10-03YANG ZIYAN

Patent Information

Application Number
PCT/CN2023/129237
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-30
Filing Date
2023-11-02
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

When the LLM model does not involve specific domain information, there are long context restrictions, model data timeliness, limitations, and cold start problems, resulting in users needing multiple rounds of interactions to supplement contextual information, and information may be lost or feedback may be inaccurate.

Method used

By pre-managing specific domain information, pre-processing user questions, retrieving similar information fragments, and passing them as contextual information to the LLM model for processing, it solves problems such as long context restrictions, model data timeliness, limitations, and cold starts. .

Benefits of technology

It realizes that when the LLM model training data does not involve specific domain information, it can automatically supplement contextual information, reduce the complexity of user interaction, improve user experience, reduce the number of visits to the paid LLM model, and reduce product costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023129237_03102024_PF_FP_ABST
    Figure CN2023129237_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present invention are a method and a system. The method comprises: performing lead management on specific domain information, the specific domain information being the information which is not involved in training data of a LLM model; when user questions or user requests are received, preprocessing each user question or user request, the user question or user request referring to the user question or user request without preceding information; adding the specific domain information into a retrieval range for retrieval, so as to find an information fragment most similar to the user question or user request; processing the retrieved information fragment according to requirements, so as to use same as contextual information for the current user question or user request; and, according to a use method or requirement of a LLM model interface, transmitting the contextual information and the question information to the LLM model for processing. Therefore, the present invention solves the problems of limitation on long contexts, model data timeliness and limitation, cold start, etc.
Need to check novelty before this filing date? Find Prior Art

Description

A human-intelligence interaction method and system based on LLM model Technical Field

[0001] The present invention relates to the field of human-intelligence interaction technology, and in particular to a human-intelligence interaction method and system based on an LLM model. Background Art

[0002] LLM (Large Language Model) is a language interaction model trained based on large amounts of annotated data. It provides a new text-based interaction interface for product access, allowing users to conduct interactive Q&A in a spoken language. It can be widely used in human-intelligence interaction products such as intelligent customer service robots, online document editing assistants (such as documents, spreadsheets, emails, meeting minutes, to-do lists, and other office documents), and software intelligent assistants.

[0003] When using the aforementioned human intelligence interaction products, users will find that they need to provide additional context for their initial inquiries and ask questions in a text-based template format (i.e., using a template consisting of {historical data conversation context} + {query input} for interaction). In subsequent conversations, they can continue to supplement previous conversation content and viewpoints as context for the next or subsequent rounds of conversations to expand their questions and obtain better feedback. For example:

[0004] i. When users engage in human-intelligence conversations with intelligent customer service robots, the first round of inquiries requires additional context, using a text template similar to the following: "You are an expert / customer service representative for [certain business]. Please provide a possible solution to the following problem [question content]." Second and subsequent rounds of conversations require additional perspectives, such as "As an expert / customer service representative for [certain business], please provide a further step-by-step explanation of [certain solution] for [certain problem]."

[0005] ii. When a user engages in a human-intelligence conversation with an online document editing assistant, the first round of inquiries requires additional context, using a similar template to a subordinate text: "You are a [profession / position], I sent you an email with [email content], and you are required to reply to this email." Second and subsequent rounds of conversation require additional perspectives, such as: "As an expert in [a certain field], I would like to provide additional insights on the [viewpoint] in the email."

[0006] iii. When users engage in human-intelligence dialogue with the online document editing assistant, the first round of inquiries requires additional context, using a similar text template to ask questions like, "You are a [position / job] in [industry], and you have a spreadsheet with [field 1, field 2, field 3...]. You need to visualize [certain fields] in the spreadsheet and output a [legend]." Second and subsequent rounds of dialogue require additional perspectives and questions like, "The output [legend] has [certain issues] and needs to be adjusted."

[0007] At the same time, in order to achieve convenient, multi-round, and consistent contextual communication, existing human-intelligence interaction products have at least one of the following drawbacks:

[0008] i. LLM has a limit on the number of interface tokens (the smallest text unit that can be processed in the model). Taking chatgpt as an example, the current maximum token is 4096. LLM's limit on token size is based on the balance between model performance and service considerations.

[0009] ii. LLM requires users to provide additional contextual information to obtain better data;

[0010] iii. LLM has a maximum word count limit for context memory. If the cumulative conversation exceeds the limit, the oldest conversation will be removed;

[0011] iv. To circumvent the above limitations, users must manage interaction context appropriately, recording the context, breaking down interactions into points, or periodically summarizing the original conversation and re-transmitting it as context. This, however, will result in information compression and loss.

[0012] The reason is that the existing LLM model has the following defects due to its own characteristics:

[0013] (1) Stateless characteristics of the LLM model

[0014] The LLM model is stateless, meaning that each incoming query is processed independently of other interactions. Stateless interactions require memory management, such as using a template of {conversation context} + {query input} for interaction.

[0015] (2) Long context limitation

[0016] The LLM model itself requires token processing. The model must balance token size (vocabulary) with computing and storage resources. Therefore, the number of tokens is limited, making it unsuitable for long contexts. Furthermore, to overcome this limitation, the use of staged conversation summaries as context compresses information, which is detrimental to the quality of the data.

[0017] (3) Model data timeliness

[0018] The LLM model is based on data pre-training, and the feedback information is time-sensitive. That is, the training data is information before a certain year, and the information generated after the training data is not involved in the training, resulting in inaccurate information feedback from the model.

[0019] (4) Model data has limitations

[0020] When the LLM model is used to query specific domain information (i.e., information not covered by the LLM model training data, such as internal company processes, specifications, manuals, product introductions, development content, and other private information), the LLM cannot provide accurate answers. For example, when a user needs to process a spreadsheet document, the current LLM is based on training data (which may include software editing and usage information), and the feedback content is limited to document editing and cannot process specific document content.

[0021] (5) There are problems with long conversation rounds and cold start

[0022] For questions and answers about domain-specific information (i.e., information not covered by the LLM model training data, such as internal company processes, specifications, manuals, product introductions, development content, and other private information), multiple rounds of conversations may be required to obtain more accurate feedback and supplement the context to resolve the cold start problem. Technical issues

[0023] The technical problem to be solved by the present invention is to provide a human-intelligence interaction method and system based on the LLM model. In the usage scenario when the training data of the LLM model does not involve specific domain information, the system can automatically supplement relevant context information (also called auxiliary information) for the user, and pass the context information and question information to the LLM model for use, thereby solving problems such as the limitation of long context, timeliness of model data, limitations, cold start, etc. Technical Solutions

[0024] In a first aspect, the present invention provides a human-intelligence interaction method based on the LLM model, comprising the following steps:

[0025] S1. Pre-management of specific domain information; the specific domain information is information not covered by the LLM model training data;

[0026] S2. When receiving a user question or a user request, pre-process each user question or user request; the user question or the user request is a user question or user request without the above information;

[0027] S3. Adding the specific domain information to the search scope to search and find the information fragment that is most similar to the user question or the user request;

[0028] S4, processing the retrieved information fragments as required and using them as context information for the current user question or user request;

[0029] S5. According to the LLM model interface usage method or requirement, the context information and the problem information are passed to the LLM model for processing;

[0030] The order of S1 and S2 is not limited.

[0031] In a second aspect, the present invention provides a human-intelligence interaction system based on the LLM model, comprising:

[0032] The pre-management module is used to pre-manage specific domain information; the specific domain information is information not covered by the LLM model training data;

[0033] A question preprocessing module, which preprocesses each user question or user request upon receiving the user question or user request; the user question or user request is a user question or user request without the above information;

[0034] A retrieval module is used to add specific domain information to the search scope for searching and find the information fragment that is most similar to the user question or the user request;

[0035] An information fragment processing module is used to process the retrieved information fragments as required and use them as context information for the current user question or user request;

[0036] The transfer module is used to transfer the context information and the problem information to the LLM model for processing according to the usage method or requirements of the LLM model interface. Beneficial effects

[0037] One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages: by pre-managing specific domain information and adding it to the search scope for retrieval, the LLM model is supplemented with information not covered by the training data, and context information is automatically supplemented for user questions or user requests, solving problems such as long context limitations of long texts, model data timeliness, limitations, cold start, etc., making it suitable for more specific usage scenarios. Through pre-information management, question pre-processing, information retrieval, and automatic splicing, the LLM model can be easily commercialized to meet the needs of special usage scenarios such as intelligent customer service (including question-and-answer robots, marketing robots), online document editing assistants, and software intelligent assistants. Based on pre-information management, the situation where users need to enter multiple rounds of supplementary context is reduced, which to a certain extent avoids the trouble of users manually entering context and improves user favorability. For paid LLM models, the number of visits can also be reduced to a certain extent, reducing the cost of using the product.

[0038] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0040] FIG1 is a flow chart of a method according to an embodiment of the present invention;

[0041] FIG2 is a schematic diagram of the structure of the system in an embodiment of the present invention. Modes for Carrying Out the Invention

[0042] The embodiments of the present application provide a human-intelligence interaction method and system based on the LLM model. In usage scenarios where the training data of the LLM model does not contain specific domain data, the system can still automatically supplement relevant context information for the user and pass the context information and question information to the LLM model for use, thereby solving problems such as the limitation of long context, timeliness of model data, limitations, cold start, etc.

[0043] The technical solution in the embodiments of the present application has the following overall ideas: pre-management of information in specific fields; pre-processing of each user question or user request; automatic retrieval in public, semi-public, private domain data or a combination of the above data to find the information fragments that are most similar to the user question or user request; directly or re-processing or combining the retrieved relevant information fragments as context information; passing the context information and question information to the LLM model for processing, thereby solving problems such as long context limitations, model data timeliness, limitations, cold start, etc.

[0044] As shown in FIG1 , the embodiment of the present application provides a human-intelligence interaction method based on the LLM model, including the following steps:

[0045] S1. Pre-manage specific domain information; this specific domain information is information not covered by the LLM model training data, including but not limited to:

[0046] i. Software or application product information, product solutions, etc.;

[0047] ii. Commodity or product information, product plans, etc.;

[0048] iii. Internal documentation and information based on an organization (enterprise, team) or individual;

[0049] iv. Information and documents that require payment to unlock software or products;

[0050] Since this information is not publicly available, it will not be used as training data for the LLM model, so the LLM model cannot retrieve this data during use;

[0051] The pre-management specifically includes: pre-processing the specific field information, using a non-vector database to build a data set for management, or using a vector database to build a data set for management and storage management, or using self-developed or third-party search technology to manage the specific field information;

[0052] S2. When receiving a user question or a user request, pre-process each user question or user request; the user question or the user request is a user question or user request without the above information;

[0053] S3. Adding specific domain information to the search scope to search and find the information fragment that is most similar to the user question or the user request; after adding specific domain information to the search scope, the search scope can include specific domain information, but does not exclude existing public data and semi-public data;

[0054] S4, processing the retrieved information fragments as required and using them as context information for the current user question or user request;

[0055] S5. According to the usage method or requirement of the LLM model interface, the context information and the problem information are passed to the LLM model for processing;

[0056] The order of S1 and S2 is not limited.

[0057] Furthermore, in said S4, said processing is direct processing and / or reprocessing; said reprocessing is at least one of copying, editing, summarizing, sorting, screening, translating, compressing, filtering, re-encoding or re-searching again or multiple times, or executing code based on the search results of the retrieved information fragments;

[0058] In said S4, the retrieved information fragments are processed as required and also serve as data required by the future LLM interface;

[0059] In S5, the transmission is to process the information according to the LLM interface usage method or requirements and then transmit it, including combining and splicing the context information and the question information before transmitting, or transmitting them through independent interfaces respectively, or encrypting them before transmitting.

[0060] Based on the same inventive concept, the present application also provides a device corresponding to the above method. As shown in FIG2 , the embodiment of the present application provides a human-intelligence interaction system based on the LLM model, including:

[0061] The pre-management module is used to pre-manage specific domain information; the specific domain information is information not covered by the LLM model training data;

[0062] A question preprocessing module, which preprocesses each user question or user request upon receiving the user question or user request; the user question or user request is a user question or user request without the above information;

[0063] A retrieval module is used to add specific domain information to the search scope for searching and find the information fragment that is most similar to the user question or the user request;

[0064] An information fragment processing module is used to process the retrieved information fragments as required and use them as context information for the current user question or user request;

[0065] The transfer module is used to transfer the context information and the problem information to the LLM model for processing according to the usage method or requirements of the LLM model interface.

[0066] Wherein, in the information fragment processing module, the processing is direct processing and / or reprocessing; the reprocessing is at least one of copying, editing, summarizing, sorting, screening, translating, compressing, filtering, re-encoding or re-searching again or multiple times, and executing code based on the search results of the retrieved information fragments;

[0067] In the information fragment processing module, the retrieved information fragments are processed according to the requirements and used as data required by the future LLM interface;

[0068] The transmission includes combining and splicing the context information and the question information before transmitting, or transmitting them separately through independent interfaces, or encrypting them before transmitting.

[0069] Example 1

[0070] As a more specific implementation of the present invention, when the pre-management is to manage the data set by using a non-vector database, the human intelligence interaction method specifically includes:

[0071] S11. First, preprocess the domain-specific information, including content segmentation and parsing, and use the segmentation labels as metadata for the corresponding information content. Use a non-vector database to build a data set for management.

[0072] S12. When a user question or user request is received, performing word segmentation and parsing on the user question or the user request; or further including local storage and management of the question to suit the staged dialogue;

[0073] S13. Adding specific domain information to the search scope, indexing it using segmentation weight keywords, and finding the information fragment that is most similar to the user question or the user request;

[0074] S14. Processing the retrieved information fragments as required and using them as context information for the current user question or user request; the processing may be direct processing and / or reprocessing; the reprocessing may be at least one of copying, editing, summarizing, sorting, screening, translating, compressing, filtering, re-encoding, re-searching or re-searching the retrieved information fragments multiple times, or executing code based on the search results;

[0075] S15. According to the usage method or requirement of the LLM model interface, the context information and the question information are combined and transmitted, or transmitted separately through independent interfaces, or encrypted and transmitted to the LLM model for processing.

[0076] Example 2

[0077] When the pre-management is to manage the data set by using a vector database, the human intelligence interaction method specifically includes:

[0078] S21. First, preprocess the specific domain information, including vectorizing the specific domain information and managing it using a vector database;

[0079] S22. When receiving a user question or a user request, vectorize the user question or the user request; or further include local storage management of the question to suit the staged dialogue;

[0080] S23. Adding domain-specific information to the search scope and indexing it with embedding technology to find the information fragment that is most similar to the user question or the user request;

[0081] S24. Processing the retrieved information fragments as required and using them as context information for the current user question or user request; the processing may be direct processing and / or reprocessing; the reprocessing may be at least one of copying, editing, summarizing, sorting, screening, translating, compressing, filtering, re-encoding, re-searching or re-searching the retrieved information fragments multiple times, or executing code based on the search results;

[0082] S25. According to the usage method or requirement of the LLM model interface, the context information and the question information are combined and transmitted, or transmitted separately through independent interfaces, or encrypted and transmitted to the LLM model for processing.

[0083] Example 3

[0084] When the pre-management is based on third-party pre-information management, the human intelligence interaction method specifically includes:

[0085] S31. Manage information in specific fields based on self-developed or third-party information search technologies;

[0086] S32. When a user question or user request is received, pre-process the user question or user request based on the requirements of the self-developed or third-party information search. The pre-processing includes no processing, word segmentation, keyword extraction, or local storage and management of the question.

[0087] S33. Add information in a specific field to the search scope and use self-developed or third-party information search technology to search and find the information fragment that is most similar to the user question or the user request;

[0088] S34. Processing the retrieved information fragments as required and using them as context information for the current user question or user request; the processing may be direct processing and / or reprocessing; the reprocessing may be at least one of copying, editing, summarizing, sorting, screening, translating, compressing, filtering, re-encoding, or re-searching or re-searching the retrieved information fragments again or multiple times, or executing code based on the search results;

[0089] S35 , according to the usage method or requirement of the LLM model interface, the context information and the question information are combined and transmitted, or transmitted separately through independent interfaces, or encrypted and transmitted to the LLM model for processing.

[0090] Example 4

[0091] When the pre-management is to manage the data set by using a non-vector database, the human intelligence interaction system specifically includes:

[0092] The front-end management module is used to pre-process information in specific fields, including content segmentation and parsing, and uses the segmentation tags as metadata for the corresponding information content. It uses relational data or non-relational data formats to build data sets for management;

[0093] A question pre-processing module, which, upon receiving a user question or user request, performs word segmentation and parsing on the user question or user request; or further includes local storage and management of the question to suit the staged dialogue;

[0094] A retrieval module is used to add information in a specific field to the search scope, index it using word segmentation weight keywords, and find the information fragment that is most similar to the user question or the user request;

[0095] An information fragment processing module is used to process the retrieved information fragments as required and use them as context information for the current user question or user request;

[0096] The transmission module is used to combine and splice the context information and the question information according to the usage method or requirements of the LLM model interface, or transmit them separately through independent interfaces or encrypt them and transmit them to the LLM model for processing.

[0097] Example 5

[0098] When the pre-management is to manage the data set by using a vector database, the human intelligence interaction method specifically includes:

[0099] The front-end management module is used to pre-process the specific domain information, including vectorizing the specific domain information and managing it using a vector database;

[0100] A question pre-processing module, which, upon receiving a user question or user request, performs vectorized processing on the user question or user request; or further includes local storage management of the question to suit the staged dialogue;

[0101] The retrieval module is used to add domain-specific information to the search scope, index it using embedding technology, and find the information fragments that are most similar to the user question or the user request;

[0102] An information fragment processing module is used to process the retrieved information fragments as required and use them as context information for the current user question or user request; the processing includes direct processing and / or reprocessing; the reprocessing includes at least one of copying, editing, summarizing, sorting, screening, translating, compressing, filtering, re-encoding, re-retrieval, or multiple re-retrieval of the retrieved information fragments, and code execution based on the retrieval results;

[0103] The transmission module combines and splices the context information and the question information according to the usage method or requirements of the LLM model interface, transmits them separately through independent interfaces, or encrypts and transmits them to the LLM model for processing.

[0104] Example 6

[0105] When the pre-management is based on third-party pre-information management, the human intelligence interaction method specifically includes:

[0106] The front-end management module is used to manage information in specific fields based on self-developed or third-party information search technologies;

[0107] A question preprocessing module, which, upon receiving a user question or user request, preprocesses the user question or user request based on the requirements of the self-developed or third-party information search. The preprocessing includes no processing, word segmentation, keyword extraction, or local storage management of the question;

[0108] A search module is used to add information in a specific field to the search scope and use self-developed or third-party information search technology to search and find the information fragments that are most similar to the user question or the user request;

[0109] An information fragment processing module is used to process the retrieved information fragments as required and use them as context information for the current user question or user request; the processing includes direct processing and / or reprocessing; the reprocessing includes at least one of copying, editing, summarizing, sorting, screening, translating, compressing, filtering, re-encoding, re-retrieval, or multiple re-retrieval of the retrieved information fragments, and code execution based on the retrieval results;

[0110] The transmission module combines and splices the context information and the question information according to the usage method or requirements of the LLM model interface, transmits them separately through independent interfaces, or encrypts and transmits them to the LLM model for processing.

[0111] Since the systems described in Examples 4 to 6 of the present invention are devices used to implement the methods of Examples 1 to 3 of the present invention, those skilled in the art will be able to understand the specific structures and variations of the devices based on the methods described in Examples 1 to 3 of the present invention, and therefore will not be described in detail here. All devices used in the methods of Examples 1 to 3 of the present invention fall within the scope of protection of the present invention.

[0112] The embodiments of the present application have at least the following technical effects or advantages: by pre-managing information in a specific field and adding it to the search scope for retrieval, the LLM model is supplemented with information not covered by the training data, and context information is automatically supplemented for user questions or user requests, solving the problems of long context limitations of long texts, timeliness, limitations, cold start of model data, etc., making it suitable for more specific usage scenarios. Through pre-information management, question pre-processing, information retrieval, and automatic splicing, it is easy to realize the productization of the LLM model, for example, to meet the application in special usage scenarios such as intelligent customer service (including question-answering robots, marketing robots), online document editing assistants, and software intelligent assistants; based on pre-information management, it reduces the situation where users need to enter multiple rounds of supplementary context, avoids the trouble of users manually entering context to a certain extent, improves user favorability, and for paid LLM models, it can also reduce the number of visits to a certain extent, reducing the cost of using the product.

[0113] Although the specific embodiments of the present invention are described above, those skilled in the art should understand that the specific embodiments described are merely illustrative and are not intended to limit the scope of the present invention. Equivalent modifications and changes made by those skilled in the art in accordance with the spirit of the present invention should be included within the scope of protection of the claims of the present invention.

Claims

1. A human-intelligence interaction method based on the LLM model, characterized by: The steps include: S1. Pre-management of specific domain information; the specific domain information is information not covered by the LLM model training data; S2. When receiving a user question or a user request, pre-process each user question or user request; the user question or the user request refers to a user question or user request without the above information; S3, adding the specific field information to the search scope for searching, and finding the information fragment that is most similar to the user question or the user request; S4, processing the retrieved information fragments as required and using them as context information for the current user question or user request; S5. According to the LLM model interface usage method or requirement, the context information and the problem information are passed to the LLM model for processing; There is no limit to the order of S1 and S2.

2. According to the LLM model-based human-intelligence interaction method of claim 1, it is characterized by: In S4, the processing is direct processing and / or reprocessing; the reprocessing is at least one of copying, editing, summarizing, sorting, screening, translating, compressing, filtering, re-encoding or re-searching or re-searching multiple times, or executing a code based on the search results. In said S4, after the retrieved information fragments are processed as required, they are also used as data required by the future LLM interface; In S5, the transmitting includes combining and splicing the context information and the question information before transmitting, or transmitting them through independent interfaces respectively, or encrypting them before transmitting.

3. The human-intelligence interaction method based on the LLM model according to claim 1 or 2, characterized in that: When the pre-management is to use a non-vector database to construct a data set for management, the human intelligence interaction method specifically includes: S11. First, preprocess the specific domain information, including content segmentation and parsing, and use the segmentation labels as metadata of the corresponding information content, and use the relational data or non-relational data format to build a data set for management; S12, when receiving a user question or a user request, performing word segmentation analysis on the user question or the user request, or also including local storage management of the question; S13, adding the specific field information to the search scope, indexing it through the word segmentation weight keywords, and finding the information fragment that is most similar to the user question or the user request; S14, processing the retrieved information fragments as required and using them as context information of the current user question or user request; S15. According to the usage method or requirement of the LLM model interface, the context information and the question information are combined and transmitted, or transmitted through independent interfaces respectively, or encrypted and transmitted to the LLM model for processing.

4. The human-intelligence interaction method based on the LLM model according to claim 1 or 2, characterized in that: When the pre-management is to manage by building a data set using a vector database, the human intelligence interaction method specifically includes: S21, first preprocessing the specific domain information, including vectorizing the specific domain information and managing it using a vector database; S22, when receiving a user question or a user request, vectorizing the user question or the user request, or also including local storage management of the question; S23, adding the specific domain information to the search scope, combining it with the embedding technology to perform indexing, and finding the information fragment that is most similar to the user question or the user request; S24, processing the retrieved information fragments as required and using them as context information of the current user question or user request; S25. According to the usage method or requirement of the LLM model interface, the context information and the question information are combined and spliced ​​for transmission, or are transmitted through independent interfaces respectively, or are encrypted and transmitted to the LLM model for processing.

5. The human-intelligence interaction method based on the LLM model according to claim 1 or 2, characterized in that: When the pre-management is based on third-party pre-information management, the human intelligence interaction method specifically includes: S31. Manage information in specific fields based on self-developed or third-party information search technology; S32. When receiving a user question or a user request, pre-processing the user question or the user request based on the requirements of the self-developed or third-party information search, the pre-processing includes no processing, word segmentation processing, keyword extraction, or local storage management of the question; S33, adding specific field information to the search scope, using self-developed or third-party information search technology to search, and finding the information fragment that is most similar to the user question or the user request; S34, processing the retrieved information fragments as required and using them as context information of the current user question or user request; S35. According to the usage method or requirement of the LLM model interface, the context information and the question information are combined and spliced ​​for transmission, or are transmitted through independent interfaces respectively, or are encrypted and transmitted to the LLM model for processing.

6. A human intelligence interaction system based on the LLM model, characterized by: include: The pre-management module is used to perform pre-management of information in specific fields; The specific domain information is information not covered by the LLM model training data; A question preprocessing module, when receiving a user question or a user request, preprocesses each user question or user request; the user question or the user request refers to a user question or user request without the above information; A retrieval module, used to add specific domain information to the retrieval scope for retrieval, and find the information fragment that is most similar to the user question or the user request; An information fragment processing module is used to process the retrieved information fragments as required and use them as context information for the current user question or user request; The transfer module is used to transfer the context information and the problem information to the LLM model for processing according to the usage method or requirement of the LLM model interface.

7. The human-intelligence interaction system based on the LLM model according to claim 6, characterized in that: In the information fragment processing module, the processing is direct processing and / or reprocessing; the reprocessing is at least one of copying, editing, summarizing, sorting, screening, translating, compressing, filtering, re-encoding or re-searching or re-searching multiple times, and executing codes based on the search results. In the information fragment processing module, the retrieved information fragments are processed as required and also used as data required by the future LLM interface; In the transmission module, the transmission includes combining and splicing the context information and the question information before transmitting, or transmitting them through independent interfaces respectively, or encrypting them before transmitting.

8. The human-intelligence interaction system based on the LLM model according to claim 6 or 7, characterized in that: When the pre-management is to use a non-vector database to construct a data set for management, the human intelligence interaction system specifically includes: The front-end management module is used to pre-process information in a specific field, including word segmentation and parsing of the content, and using the word segmentation tags as metadata of the corresponding information content, and constructing data sets in relational or non-relational data formats for management; A question preprocessing module, when receiving a user question or a user request, performs word segmentation and analysis on the user question or the user request, or also includes local storage management of the question; A search module is used to add information in a specific field to the search scope, index it through word segmentation weight keywords, and find the information fragment that is most similar to the user question or the user request; An information fragment processing module is used to process the retrieved information fragments as required and use them as context information for the current user question or user request; The transmission module is used to combine and splice the context information and the question information according to the usage method or requirements of the LLM model interface, or transmit them separately through independent interfaces or encrypt them and transmit them to the LLM model for processing.

9. The human intelligence interaction system based on the LLM model according to claim 6 or 7, characterized in that: When the pre-management is to manage by building a data set using a vector database, the human intelligence interaction method specifically includes: The front-end management module is used to pre-process the specific domain information, including vectorizing the specific domain information and managing it using a vector database; A question preprocessing module, when receiving a user question or a user request, performs vector processing on the user question or the user request, or also includes local storage management of the question; A retrieval module is used to add information in a specific field to the retrieval scope, and to perform indexing in combination with embedding technology to find the information fragment that is most similar to the user question or the user request; An information fragment processing module is used to process the retrieved information fragments as required and use them as context information for the current user question or user request; The transmission module combines and splices the context information with the question information according to the usage method or requirement of the LLM model interface, transmits them separately through independent interfaces, or encrypts and transmits them to the LLM model for processing.

10. The human intelligence interaction system based on the LLM model according to claim 6 or 7, characterized in that: When the pre-management is based on third-party pre-information management, the human intelligence interaction method specifically includes: The front-end management module is used to manage information in specific fields based on self-developed or third-party information search technology; A question preprocessing module, when receiving a user question or a user request, preprocesses the user question or the user request based on the requirements of the self-developed or third-party information search, and the preprocessing includes no processing, word segmentation processing, keyword extraction or local storage management of the question; A search module is used to add information in a specific field to the search scope, use self-developed or third-party information search technology to search, and find the information fragment that is most similar to the user question or the user request; An information fragment processing module is used to process the retrieved information fragments as required and use them as context information for the current user question or user request; The transmission module combines and splices the context information with the question information according to the usage method or requirement of the LLM model interface, transmits them separately through independent interfaces, or encrypts and transmits them to the LLM model for processing.

Citation Information

Patent Citations

  • Retrieval type intelligent question and answer system and method for coal mine safety regulations

    CN114020862A

  • Multi-engine intelligent question answering system for multi-type knowledge base

    CN115238101A

  • Intelligent question-answering system cold start method and device oriented to specific field

    CN115757726A

  • Multi-strategy intelligent search question and answer method and system for power grid field

    CN115795018A

  • Human-intelligent interaction method and system based on LLM model

    CN116501845A

Cited By

  • Maintenance consultation intelligent customer service system based on large language model

    CN118967144A