Large model-based library updating, question answering, resource sharing method, information display method and device
By using a large-model-based library update method, object types are determined and object information is generated using candidate summary information. This solves the efficiency and accuracy problems of document sorting and information acquisition in the legal field, and realizes intelligent document processing and library updates.
Patent Information
- Application Number
- CN202411339587.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2044-09-24
AI Technical Summary
Existing technologies lack differentiated AI products in the legal field that focus on the case discussion stage, making it difficult to effectively assist users in sorting out documents and quickly finding the information they need.
By using a library update method based on a large model, object types are determined by utilizing candidate summary information from multiple files. This information is then processed using a preset template to generate object information and update the library. Combined with question-answering and resource-sharing methods, intelligent identification and differentiated processing of multimodal files are achieved.
It improves file processing efficiency and library update accuracy, intelligently builds private domain libraries, simplifies data processing workflows, and enhances the intelligence and accuracy of information acquisition.
Smart Images

Figure CN119149790B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of artificial intelligence technology, particularly to the fields of deep learning and large models, and can be used in application scenarios such as generative search, intelligent document editing, intelligent assistants, and virtual assistants. More specifically, it relates to a method and apparatus for library updating, question answering, resource sharing, and information display based on a large model. Background Technology
[0002] With the development of computer and network technologies, the Internet is being used more and more widely in various fields, and the amount of information worldwide is increasing dramatically, generating different types of multimodal data such as text, images, audio, and video. Summary of the Invention
[0003] This disclosure provides a method and apparatus for library updating, question answering, resource sharing, and information display based on a large model.
[0004] According to one aspect of this disclosure, a library update method based on a large model is provided, comprising: in response to receiving an update request, determining, for a plurality of files of a target object included in the update request, an object type of the target object based on candidate digest information of each of the plurality of files, wherein the plurality of files have multiple file types; processing the plurality of candidate digest information according to a preset template for the object type to obtain object information; and updating the library based on the object information, the plurality of files, and the candidate digest information of each of the plurality of files.
[0005] According to one aspect of this disclosure, a large-model-based question answering method is provided, comprising: in response to receiving a question answering request, determining a target library to be matched based on the intent of the question text in the question answering request; matching the target library based on the question text to obtain a matching result, wherein the target library is obtained using a large-model-based library update method; and determining the answer text based on the matching result using the large-model.
[0006] According to one aspect of this disclosure, a resource sharing method based on a large model is provided, comprising: in response to receiving a sharing request, processing summary information of a target object selected in a library indicated by the sharing request to obtain processed information, wherein the library is obtained using a library update method based on a large model; and sharing the processed information as a resource.
[0007] According to one aspect of this disclosure, an information display method is provided, comprising: in response to receiving a user request, sending a pending request, wherein the pending request includes at least one of an update request, a question-and-answer request, and a sharing request; and in response to obtaining response information generated in response to the pending request, displaying the response information, wherein the response information is generated using a large-model-based library update method, a large-model-based question-and-answer method, or a large-model-based resource sharing method, and the response information includes at least one of object information, answer text, and processed information.
[0008] According to another aspect of this disclosure, a library update apparatus based on a large model is provided, comprising: a first determining module, configured to, in response to receiving an update request, determine the object type of the target object based on candidate digest information of each of the multiple files of the target object included in the update request, wherein the multiple files have multiple file types; a first processing module, configured to process the multiple candidate digest information according to a preset template for the object type to obtain object information; and an updating module, configured to update the library based on the object information, the multiple files, and the candidate digest information of each of the multiple files.
[0009] According to another aspect of this disclosure, a large-model-based question-answering device is provided, comprising: a second determining module, configured to determine a target library to be matched based on the intent of the question text in the question-answering request in response to receiving a question-answering request; a matching module, configured to match the target library based on the question text to obtain a matching result, wherein the target library is obtained using a large-model-based library updating device; and a third determining module, configured to determine the answer text based on the matching result using the large model.
[0010] According to another aspect of this disclosure, a resource sharing apparatus based on a large model is provided, comprising: a second processing module, configured to, in response to receiving a sharing request, process summary information of a target object selected in a library indicated by the sharing request to obtain processed information, wherein the library is obtained using a library update apparatus based on a large model; and a resource sharing module, configured to share the processed information.
[0011] According to another aspect of this disclosure, an information display device is provided, comprising: a sending module, configured to send a pending request in response to receiving a user request, wherein the pending request includes at least one of an update request, a question-and-answer request, and a sharing request; and a display module, configured to display the response information generated in response to the pending request, wherein the response information is generated using a large-model-based library update device, a large-model-based question-and-answer device, or a large-model-based resource sharing device, and the response information includes at least one of object information, answer text, and processed information.
[0012] According to another aspect of this disclosure, an electronic device is provided, comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the method described above.
[0013] According to another aspect of this disclosure, a computer-readable storage medium is provided that stores a computer program or instructions thereon, which, when executed by a processor, implement the steps of the above-described method.
[0014] According to another aspect of this disclosure, a computer program product is provided, including a computer program or instructions that, when executed by a processor, implement the steps of the method described above.
[0015] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0016] The above and other objects, features, and advantages of this disclosure will become clearer from the following description of embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0017] Figure 1 This illustration schematically shows a system architecture that can be applied to library updates, question answering, resource sharing, and information display methods based on large models, according to embodiments of the present disclosure.
[0018] Figure 2 A flowchart illustrating a library update method based on a large model according to an embodiment of the present disclosure is shown schematically;
[0019] Figure 3 The illustration shows example diagrams of various file upload processes according to embodiments of the present disclosure;
[0020] Figure 4 This illustration schematically shows an example diagram of the process for determining object names and file names according to embodiments of the present disclosure;
[0021] Figure 5A An example schematic diagram illustrating catalog information according to an embodiment of this disclosure is shown.
[0022] Figure 5B An example schematic diagram illustrating summary information according to embodiments of the present disclosure is shown;
[0023] Figure 6 This illustration schematically depicts an example diagram of a library update process based on a large model according to an embodiment of the present disclosure;
[0024] Figure 7 A flowchart illustrating a large-model-based question-answering method according to an embodiment of the present disclosure is shown schematically;
[0025] Figure 8 The illustration shows an example diagram of a large-model-based question-and-answer process according to an embodiment of the present disclosure;
[0026] Figure 9 A flowchart illustrating a resource sharing method based on a large model according to an embodiment of the present disclosure is shown schematically.
[0027] Figure 10 This illustration schematically shows an example diagram of a resource sharing process according to an embodiment of the present disclosure;
[0028] Figure 11 A flowchart illustrating an information display method according to an embodiment of the present disclosure is shown schematically.
[0029] Figure 12 A block diagram of a large-model-based library update apparatus according to an embodiment of the present disclosure is shown schematically;
[0030] Figure 13 A block diagram of a large-model-based question-answering device according to an embodiment of the present disclosure is shown schematically;
[0031] Figure 14 A block diagram of a resource sharing device based on a large model according to an embodiment of the present disclosure is shown schematically;
[0032] Figure 15 A block diagram of an information display device according to an embodiment of the present disclosure is shown schematically;
[0033] Figure 16 A schematic diagram illustrating the structure of a large-scale intelligent agent according to embodiments of the present disclosure is shown; and
[0034] Figure 17 The diagram illustrates an electronic device suitable for implementing large-model-based library updating, question answering, resource sharing, and information display methods according to embodiments of the present disclosure. Detailed Implementation
[0035] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.
[0036] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0037] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.
[0038] When using expressions such as "at least one of A, B and C", they should generally be interpreted in accordance with the meaning that is commonly understood by those skilled in the art (e.g., "a system having at least one of A, B and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B and C, etc.).
[0039] With the development of computer and network technologies, the internet is being used more and more widely in various fields, and the amount of information worldwide is increasing dramatically. For example, in the legal field, different types of cases involve large-scale, multimodal data with various document types.
[0040] In one example, depending on the target user group, AI products in the legal field can include: products providing legal services to general users and products offering efficiency-enhancing tools to law firms / lawyers. AI products targeting law firms / lawyers typically focus on the case handling stage of the case workflow, lacking products specifically addressing the consultation stage. Therefore, how to develop differentiated AI products by focusing on the consultation stage to assist users in document organization and quickly and effectively finding the information they need is a pressing issue that needs to be addressed.
[0041] To address this, embodiments of this disclosure propose a library update scheme based on a large model. For example, in response to receiving an update request, for multiple files of the target object included in the update request, the object type of the target object is determined based on the candidate digest information of each of the multiple files, wherein the multiple files have multiple file types; the candidate digest information is processed according to a preset template for the object type to obtain object information; and the library is updated based on the object information, the multiple files, and the candidate digest information of each of the multiple files.
[0042] According to embodiments of this disclosure, by utilizing the candidate digest information of multiple files to determine the object type of a target object, intelligent identification of multimodal files can be achieved, improving processing efficiency for different file types. By processing the candidate digest information according to a preset template for object types, object information can be automatically obtained, enabling differentiated processing for different object types and ensuring the accuracy of object information. Furthermore, by updating the library based on object information, multiple files, and the candidate digest information of each file, a private domain library can be intelligently constructed, improving the efficiency and accuracy of library updates.
[0043] The collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved in the technical solution of this invention all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0044] In the technical solution of the present invention, the user's authorization or consent is obtained before acquiring or collecting the user's personal information.
[0045] Figure 1 This illustration schematically depicts a system architecture applicable to large-model-based library updates, question answering, resource sharing, and information display methods according to embodiments of this disclosure. It should be noted that... Figure 1 The examples shown are merely examples of system architectures that can be applied to the embodiments of this disclosure, in order to help those skilled in the art understand the technical content of this disclosure, but do not mean that the embodiments of this disclosure cannot be used in other devices, systems, environments or scenarios.
[0046] like Figure 1 As shown, the system architecture 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.
[0047] Users can interact with server 105 via network 104 using at least one of the first terminal device 101, second terminal device 102, and third terminal device 103 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, second terminal device 102, and third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social media platform software, etc. (for example only).
[0048] The first terminal device 101, the second terminal device 102, and the third terminal device 103 can be various electronic devices with displays and support web browsing, including but not limited to smartphones, tablets, laptops, and desktop computers.
[0049] Server 105 can be a server that provides various services, such as a backend management server that supports websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103 (this is just an example). The backend management server can analyze and process data such as received user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal devices.
[0050] It should be noted that the library update, question-and-answer, resource sharing, and information display methods based on large models provided in this disclosure can generally be executed by server 105. Correspondingly, the library update, question-and-answer, resource sharing, and information display devices based on large models provided in this disclosure can generally be located in server 105. The library update, question-and-answer, resource sharing, and information display methods based on large models provided in this disclosure can also be executed by a server or server cluster that is different from server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or server 105. Correspondingly, the library update, question-and-answer, resource sharing, and information display devices based on large models provided in this disclosure can also be located in a server or server cluster that is different from server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or server 105.
[0051] Alternatively, the library update, question answering, resource sharing, and information display methods based on large models provided in this disclosure can also be executed by the first terminal device 101, the second terminal device 102, or the third terminal device 103, or by other terminal devices different from the first terminal device 101, the second terminal device 102, or the third terminal device 103. Correspondingly, the library update, question answering, resource sharing, and information display devices based on large models provided in this disclosure can also be located in the first terminal device 101, the second terminal device 102, or the third terminal device 103, or in other terminal devices different from the first terminal device 101, the second terminal device 102, or the third terminal device 103.
[0052] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.
[0053] It should be noted that the sequence numbers of the operations in the following methods are for descriptive purposes only and should not be considered as indicating the execution order of the operations. Unless explicitly stated otherwise, the method does not need to be executed in the exact order shown.
[0054] The foregoing section described the system architecture provided in this disclosure, which can apply methods for library updates, question answering, resource sharing, and information display based on large models. The following section will use... Figure 2 As an example, the library update process based on a large model disclosed herein is further illustrated.
[0055] Figure 2 A flowchart illustrating a library update method based on a large model according to an embodiment of this disclosure is shown schematically.
[0056] like Figure 2 As shown, the library update method 200 based on the large model includes operations S210~S230.
[0057] In operation S210, in response to receiving an update request, for multiple files of the target object included in the update request, the object type of the target object is determined based on the candidate digest information of each of the multiple files.
[0058] In operation S220, multiple candidate summary information are processed according to the preset template of the object type to obtain object information.
[0059] In operation S230, the library is updated based on object information, multiple files, and candidate digest information for each of the multiple files.
[0060] Multiple files can be multimodal files targeting the same object. A multimodal file is a file containing multiple data formats; that is, multiple files can have multiple file types. For example, file types can include at least one of the following: text, audio, images, video, and charts, etc.
[0061] For each file, a method corresponding to its file type can be used to process the file and obtain candidate summary information. Candidate summary information refers to information obtained by briefly extracting key information from the file. The processing methods for different file types can be configured according to actual business needs and are not limited here.
[0062] For example, for text files, content can be directly extracted and subjected to keyword analysis or semantic understanding to obtain candidate summary information. Alternatively, for audio files, speech recognition technology can be used to convert the audio into text, and then candidate summary information can be generated based on the text information. Alternatively, for image files, image recognition algorithms can be used to extract visual features, and candidate summary information can be generated based on these visual features. Alternatively, for video files, image and audio analysis can be combined to extract keyframes, keywords, and audio content to generate candidate summary information.
[0063] After obtaining candidate digest information for multiple documents, the object type of the target object can be determined based on this information. For example, in the legal field, the target object can refer to a legal case, and the object type of the target object can refer to the case type.
[0064] Multiple candidate object types and their respective candidate preset templates can be pre-configured. Candidate preset templates can refer to document design strategies used to automatically generate corresponding template structures for data of specific candidate object types. After determining the object type of the target object, a preset template corresponding to the object type can be selected from multiple candidate preset templates based on the object type and multiple candidate object types.
[0065] For example, a preset template may include multiple preset fields. For each preset field in a preset template for object types, the corresponding field value can be determined in the candidate summary information based on that preset field. Then, the extracted field values can be filled into the corresponding preset field positions in the preset template to obtain structured object information.
[0066] The specific format of the preset templates can be configured according to actual business needs and is not limited here. For example, preset templates may include templates for generating a table of contents and templates for generating a summary. The template for generating a table of contents may include information for organizing and summarizing the core content of the target object, which can help quickly browse and find the various parts of the target object. The template for generating a summary may include information summarizing the overall overview and main conclusions of the target object, which can help quickly understand the substantive content and main conclusions of the target object.
[0067] In one example, based on the object type, a template for generating the table of contents can be determined from multiple candidate preset templates. Then, multiple candidate summary information can be populated into the template to obtain the table of contents information. For example, field values corresponding to preset fields can be extracted from the candidate summary information, and these extracted field values can be filled into the corresponding preset field positions in the template to obtain the target information.
[0068] In another example, based on the object type, a template for generating the summary can be selected from multiple candidate preset templates. Then, the summary information from the multiple candidate summary information can be populated into the template used to generate the summary. For example, field values corresponding to preset fields can be extracted from the candidate summary information and filled into the corresponding preset field positions in the template used to generate the summary.
[0069] After obtaining the object information, the library can be updated based on the object information, multiple files, and candidate digest information for each file. For example, the library may include a first database and a second database. The first database can be used to store information related to the target object, and the second database can be used to store information related to the files associated with the target object.
[0070] According to embodiments of this disclosure, by utilizing the candidate digest information of multiple files to determine the object type of a target object, intelligent identification of multimodal files can be achieved, improving processing efficiency for different file types. By processing the candidate digest information according to a preset template for object types, object information can be automatically obtained, enabling differentiated processing for different object types and ensuring the accuracy of object information. Furthermore, by updating the library based on object information, multiple files, and the candidate digest information of each file, a private domain library can be intelligently constructed, improving the efficiency and accuracy of library updates.
[0071] The above section explained the library update process based on a large model. The following section will utilize... Figure 3 The process of uploading multiple files is illustrated.
[0072] Figure 3 The illustration shows example diagrams of various file upload processes according to embodiments of the present disclosure.
[0073] like Figure 3 As shown in 300, the multiple files of the target object may include, for example, audio files 301, image files 302, text files 303, video files, or miscellaneous files 304, etc.
[0074] Click or drag multiple files of different file types for the target object to the front-end interface 305, and after completing the clicking or dragging of multiple files, click the start upload control 306 on the front-end interface to realize the batch upload of multiple files for the target object.
[0075] After receiving an update request containing multiple files, a summary generation tool can be determined for each file based on its file type. This tool processes files of different types to obtain candidate summary information. Based on this, a large model can be used to invoke the summary generation tool. The tool then processes the file to obtain its candidate summary information.
[0076] For example, for text file 303, we can first determine the relationship between the length of file 303 and a threshold. If the length of file 303 is less than or equal to the threshold, file 303 can be directly identified as candidate summary information. If the length of file 303 is greater than the threshold, we can use a summary generation tool corresponding to the text type to process file 303 and obtain candidate summary information. The threshold can be configured according to actual business needs and is not limited here. For example, it can be positively correlated with the input processing length of a large model.
[0077] Alternatively, for audio file 301, the first preset model can be used to process file 301 to obtain the text of file 301. The first preset model can be configured according to actual business needs and is not limited here. For example, the first preset model can be a speech recognition model or a speaker recognition model. For the text of file 301, the operations corresponding to text type files are then performed.
[0078] Alternatively, for image file 302, a second preset model can be used to process file 302 to obtain its text. The second preset model can be configured according to actual business needs and is not limited here. For example, the second preset model can be an image understanding model or an optical character recognition model. Then, for the text file 302, operations corresponding to text-type files are performed.
[0079] Alternatively, for video or mixed-type files 304, the file 304 can be split into text files, audio files, and image files. The processing methods described above for different file types can then be applied to each type of file to obtain sub-summary information for each part. Based on this, candidate summary information can be generated according to the sequential relationship between the files obtained from the split file 304 and the sub-summary information of each file.
[0080] According to embodiments of this disclosure, by combining large models with summarization tools, automation, flexibility, and intelligence in multimodal document summarization are achieved, improving the efficiency and user experience of large-scale data processing, while enhancing the accuracy and scalability of multimodal data processing.
[0081] The above text explained the process of uploading multiple files. The following will utilize... Figure 4 The process of determining the object name and file name is illustrated.
[0082] Figure 4 The illustration shows an example diagram of the process for determining object names and file names according to embodiments of the present disclosure.
[0083] like Figure 4 As shown in the diagram, in error 400, the front-end interface (401) can scan and access the back-end in real time, query the generation status, and display a progress bar. For example, the progress bar can include the file upload step, the intelligent analysis step, and the intelligent summary step. After the user uploads a file, the file upload step in the progress bar can be displayed as complete.
[0084] In one example, candidate summary information can be parsed to obtain keywords, and intent can be determined based on these keywords. Intent refers to summarizing the key information of a document or content to help quickly understand its main content, key information, and core theme.
[0085] After obtaining the intent of the candidate summary information, multiple candidate summaries can be categorized according to the intent of each candidate summary. This facilitates the identification of multiple target summaries belonging to the target type from among the multiple candidate summaries, thereby filtering target summaries of a specific type from the multiple candidate summaries. The target type can refer to a specific type of document; for example, in the legal field, the target type can refer to interview-type documents.
[0086] Based on this, a large model can be used to classify target objects according to multiple target summary information belonging to the target type, thereby obtaining the object type. For example, a preset method can be used to process multiple target summary information to accurately determine the object type. The preset method can be configured according to actual business needs and is not limited here. For example, the preset method can include at least one of the following: rule-based matching, semantic analysis-based matching, Naive Bayes (NB), Support Vector Machine (SVM), or deep learning model, etc.
[0087] According to embodiments of this disclosure, by performing intent recognition on candidate summary information and combining it with automated processing using a large model, the efficiency and intelligence level of multimodal data analysis are improved. Furthermore, by filtering target summary information belonging to the target type from multiple candidate summary information and using a large model to determine the object type based on the target summary information, the data processing and classification process is simplified, and the accuracy of object type determination is improved.
[0088] After obtaining the object type, for the target object, an object name can be generated based on the object type and multiple target summary information. In one example, a large model can be used to extract elements such as participants, time, and location from multiple target summary information, and the object name can be intelligently named in combination with the object type. For example, if the participant is Ms. Zhang and the object type is type A, the object name can be generated as "Ms. Zhang_Type A".
[0089] Furthermore, for each file, a filename can be generated based on the object type, file type, and candidate digest information. In one example, a large model can be used to extract elements such as participants, time, and location from the candidate digest information, and then intelligently name the file based on the object type. For instance, if the participant is Ms. Zhang, the object type is type A, and the file type is "image type," then the filename can be generated as "Ms. Zhang_Type A_Image."
[0090] like Figure 4 As shown, the front-end interface 401 can display the intelligently named file names, such as "X_X_Interview Recording", "X_X_Image", and "X_X_Chat Log". Furthermore, the renaming control 402 provided by the front-end interface 401 can be used to rename the files. After generating the object name and file name, the intelligent analysis step in the progress bar can be displayed as complete.
[0091] According to embodiments of this disclosure, by utilizing a large model, object names are intelligently generated based on object type and multiple target summary information, thereby improving the intelligence and accuracy of object name generation. Furthermore, by utilizing a large model, file names are intelligently generated based on object type and candidate summary information, thereby improving the intelligence and accuracy of file name generation.
[0092] The process of determining object names and file names has been explained above. The following will use 5A to illustrate the directory information.
[0093] Figure 5A An example schematic diagram illustrating catalog information according to an embodiment of this disclosure is shown.
[0094] like Figure 5A As shown, the preset template can include a template for generating a directory, and correspondingly, the object information can include directory information. Templates for generating directories can be pre-configured for different object types. When generating directory information 510, the large model selects the corresponding template for generating the directory based on the object type. Based on the template, the large model generates a directory to be populated and categorizes and organizes the files according to their respective file names, intelligently generating directory information 510.
[0095] In one example, directory information 510 may include different folder categories corresponding to object name A, with each folder category containing files of its own category. For example, folder A includes file "X_X_A", folder B includes files "X_X_B" and "X_X_C", folder C includes file "X_X_D", and so on.
[0096] The above text provided an illustrative description of the directory information. The following will utilize... Figure 5B Provide an illustrative description of the summarized information.
[0097] Figure 5B An example schematic diagram illustrating summary information according to an embodiment of this disclosure is shown.
[0098] like Figure 5B As shown, the preset templates can include templates for generating summaries, and correspondingly, the object information can include summary information. Templates for generating summaries can be pre-configured for different object types. When generating summary information 520, the large model selects the corresponding template for generating the summary based on the object type. Based on the template used to generate the summary, the large model generates the summary to be populated and performs a structured summary of the target objects based on multiple target summary information and directory information, intelligently generating summary information 520.
[0099] In one example, summary information 520 may include basic information, object description, main requirements, and a list of documents.
[0100] According to embodiments of this disclosure, by utilizing a large model combined with preset templates for object types, the automated generation of directory and summary information is achieved, improving the efficiency and accuracy of multimodal data processing. Since the content of different object types can be uniformly and standardized through their respective preset templates, the adaptability of directory and summary information generation is improved.
[0101] The above provides an illustrative description of the table of contents and summary information. The following will utilize... Figure 6 A schematic description of the library update process based on a large model is provided.
[0102] Figure 6 The illustration shows an example diagram of a library update process based on a large model according to an embodiment of the present disclosure.
[0103] like Figure 6 As shown, in step 600, for each file 601 among multiple files of the target object, candidate digest information 602 for file 601 can be determined. After obtaining the candidate digest information 602 for each of the multiple files 601, operation S610 can be performed.
[0104] In operation S610, it can be determined whether the candidate digest information 602 belongs to the target type. For example, based on the intent of each candidate digest information 602, multiple target digest information 603 belonging to the target type can be determined from among the multiple candidate digest information 602. If so, the candidate digest information 602 can be determined as the target digest information 603. If not, the processing of the candidate digest information 602 can be temporarily suspended. After obtaining multiple target digest information 603, the object type 604 can be determined based on the multiple target digest information 603.
[0105] For each file 601, a file name 606 can be generated based on the object type 604 and the candidate digest information 602. After obtaining the file name 606, directory information 608 can be generated based on the file names 606 of each of the multiple files 601 and the directory to be filled 607 generated based on the template used to generate the directory, and the second database 612 used to store information related to the file 601 can be updated.
[0106] In one example, information related to file 601 may include at least one of the following: object identifier, file type, file category, update time, creation time, file name, original file name, candidate digest information, file textification information, and file status. File type refers to the directory where file 601 is stored; file category refers to the multimodal type of file 601, such as plain text, audio, image, or miscellaneous. File status indicates whether file 601 is valid or has been deleted.
[0107] For the target object, an object name 605 can be generated based on the object type 604 and multiple target summary information 603. After obtaining the object name 605, summary information 610 can be generated based on multiple target summary information 603, directory information 608, and a summary to be populated 609 generated based on a template used to generate a summary, and the first database 611 used to store information related to the target object can be updated.
[0108] In one example, information related to the target object may include at least one of the following: object identifier, object name, object type, update time, creation time, summary information, and object status. Object status refers to whether the target object is valid or has been deleted. It should be noted that the first database 611 and the second database 612 can be associated through the relationship between the target object and the file, for example, through the object identifier.
[0109] According to embodiments of this disclosure, by using a first database to store information related to the target object and a second database to store information related to the file, and by linking the two databases through the relationship between the target object and the file, the efficiency of data management, query and update is improved, and the scalability and practicality in complex data scenarios are enhanced.
[0110] The above are merely exemplary embodiments, but are not limited thereto. Other library update methods based on large models known in the art may also be included, as long as they can improve the efficiency and accuracy of library updates.
[0111] The above section explained the library update method based on a large model. The following section will utilize... Figure 7 A schematic description of the question-answering process based on a large model is provided.
[0112] Figure 7 A flowchart illustrating a large-model-based question-answering method according to an embodiment of this disclosure is shown schematically.
[0113] like Figure 7 As shown, the question-answering method 700 based on a large model includes operations S710 to S730.
[0114] When operating the S710, in response to receiving a question-and-answer request, the target library to be matched is determined based on the intent of the question text in the question-and-answer request.
[0115] When operating the S770, the target database is matched based on the question text to obtain the matching results.
[0116] When operating the S730, a large model is used to determine the answer text based on the matching results.
[0117] Upon receiving a question-and-answer request, the intent of the question text can be determined. For example, semantic analysis can be performed on the question text to obtain the intent. The intent can then be used to characterize the scope of matching the question text.
[0118] After obtaining the intent of the question text, the target databases to be matched can be determined based on that intent. The intent can include one of the following: single database matching or combined database matching. For example, if the intent represents a single database matching, the target databases to be matched can be determined to include the first database. Alternatively, if the intent represents a combined database matching, the target databases to be matched can be determined to include both the first and second databases. The target databases can be obtained using a database update method based on a large model.
[0119] After identifying the target database to be matched, the database can be matched against the question text to obtain the matching results. The method of matching the target database can be configured according to actual business needs and is not limited here. For example, the method of matching the target database can include at least one of the following: semantic matching and keyword matching. If the target database includes multiple databases, the outputs of each database can be combined, deduplicated, and categorized to obtain the final matching result.
[0120] After obtaining the matching results, they can be sorted according to relevance and importance, prioritizing the results that best match the question text. Furthermore, the matching results can be enhanced using the user's interaction history with the large model to obtain the answer text. The history refers to the user's past interactions with the large model.
[0121] According to embodiments of this disclosure, by determining the target library of the private domain based on intent analysis of the question text, and by retrieving and accurately matching the target library based on the question text, and then using a large model to generate answer text based on the matching results, the intelligence level of the question-and-answer process is improved and the accuracy of the answer text is ensured.
[0122] The above section explained the question-answering method based on large models. The following section will utilize... Figure 8 A further illustrative description of the question-answering process based on a large model is provided.
[0123] Figure 8 The illustration shows an example diagram of a large-model-based question-and-answer process according to an embodiment of the present disclosure.
[0124] like Figure 8 As shown in Figure 800, in Figure 801, the user can enter question text in the input box 802 of the front-end interface 801 and click the search control 803 to initiate a question-and-answer request. The front-end interface 801 can send the question-and-answer request to the large back-end model, so that the large model can execute the question-and-answer process based on the request.
[0125] After receiving a question-answering request, the large model can determine the intent of the question text. This intent can include single-database matching or multi-database matching. Single-database matching refers to querying and matching data within a single database. Multi-database matching refers to querying and matching data across multiple databases.
[0126] In one example, where the intent is to match a single database, the target database can be determined to include a first database used to store information related to the target object.
[0127] In another example, where the intent is to match a federated database, the target database can be determined to include a first database for storing information related to the target object and a second database for storing information related to the file. The first and second databases can be associated through the relationships between the target object and the file.
[0128] According to embodiments of this disclosure, by dynamically determining single-database matching or combined-database matching based on user intent, the flexibility, efficiency, and accuracy in handling complex queries are improved, providing users with a more efficient and intelligent query experience.
[0129] The target database can include multiple pieces of information to be matched. Each piece of information to be matched has its own vector index and multiple scalar indexes. The vector index can be determined based on the feature vector of the information to be matched, and is used to represent the content, semantics, and other features of the information to be matched, suitable for semantic search or similarity retrieval. The scalar index can be determined based on the fields in the information to be matched, and is used for fast retrieval of numerical fields (such as ID, date, etc.) or categorical fields (such as tags, categories, etc.).
[0130] In one example, semantic matching can be performed on multiple vector indices based on the feature vector of the question text to obtain a first matching result. For example, matching based on vector similarity can be performed on the feature vector and multiple vector indices separately. The first matching result can include the matching information corresponding to the vector index, provided that the feature vector and vector index of the question text satisfy a first predetermined condition.
[0131] The first predefined condition can be configured according to actual business needs and is not limited here. For example, the first predefined condition can be that the first similarity between the feature vector and the vector index is greater than a first similarity threshold. Alternatively, the first predefined condition can also be to limit the number and position of the returned matching results.
[0132] In another example, keyword matching can be performed on multiple scalar indices based on key fields in the question text to obtain a second matching result. This second matching result can include the matching information corresponding to the scalar indices, provided that the key fields and scalar indices in the question text meet a second predetermined condition.
[0133] The second predefined condition can be configured according to actual business needs and is not limited here. For example, the second predefined condition can be that the second similarity between the key field and the scalar index is greater than a second similarity threshold. Alternatively, the second predefined condition can also be to limit the number and position of the returned matching results.
[0134] After obtaining the first and second matching results, the large model can integrate the first and second matching results and combine them with the user's historical dialogue with the large model to generate the answer text, and then display the answer text to the user in the display box 804 of the front-end interface 801.
[0135] According to embodiments of this disclosure, by combining a semantic matching method based on vector indexes and a keyword matching method based on scalar indexes, the query processing capability, as well as the intelligence level and accuracy of matching, are improved.
[0136] The above are merely exemplary embodiments, but are not limited thereto. Other question-answering methods based on large models known in the art may also be included, as long as they can improve the intelligence level of the question-answering process and ensure the accuracy of the answer text.
[0137] The above section explained the question-answering method based on large models. The following section will utilize... Figure 9 A schematic description of the resource sharing process based on a large model is provided.
[0138] Figure 9 A flowchart illustrating a resource sharing method based on a large model according to an embodiment of the present disclosure is shown schematically.
[0139] like Figure 9 As shown, the resource sharing method 900 based on a large model includes operations S910 to S920.
[0140] In operation S910, in response to receiving a sharing request, the summary information of the target object in the library indicated by the sharing request is processed to obtain the processed information.
[0141] When operating the S920, resources are shared on the processed information.
[0142] A share request indicates a selected target object in the library to be shared. The library can be obtained using a library update method based on a large model. Upon receiving a share request, summary information corresponding to the target object can be extracted from the library and processed to obtain content conforming to a story script format. The processing method can be configured according to actual business needs and is not limited here. For example, a natural language generation algorithm can be used to transform the summary information into coherent text paragraphs, resulting in processed information. Alternatively, the summary information can be rearranged to conform to the narrative logic of a story, resulting in processed information. Another alternative is to perturb sensitive words in the summary information, resulting in processed information.
[0143] After obtaining the processed information, it can be shared as a resource. The method of resource sharing can be configured according to actual business needs and is not limited here. For example, resource sharing methods may include at least one of the following: methods based on file sharing systems, methods based on API interfaces, methods based on databases, methods based on social media or content platforms, methods based on access control, and methods based on version control, etc.
[0144] According to embodiments of this disclosure, by responding to a sharing request, the summary information of the target object is processed to generate processed information and shared as a resource, which satisfies the needs of resource sharing and cross-platform transmission, and improves the automation level, accuracy and efficiency of resource sharing.
[0145] In one example, the summary information may include multiple target fields and their respective field values. Target fields are fields that want to be replaced or obfuscated, such as key fields in text. For example, target fields may include at least one of the following: name, time, and location. After obtaining the summary information, for each target field, the corresponding field value can be located, and the target field value can be replaced according to its preset value to obtain the replaced information. The preset value refers to a predefined value used for replacement; it is usually standardized data without specific referential information or a desired field value.
[0146] After obtaining the replaced information, a large model can be used to perturb it, resulting in processed information. Perturbation refers to altering information that is meaningless to the main information thread, creating differences while maintaining the original information. The perturbation method can be configured according to actual business needs and is not limited here.
[0147] For example, perturbation methods can include at least one of the following: semantic perturbation, structural perturbation, and detail perturbation. Semantic perturbation refers to subtly changing the replaced information by altering semantically similar words or phrases, while retaining the original meaning. Structural perturbation involves changing the structure of sentences or paragraph order, affecting the flow of the replaced information, thereby creating a new narrative style. Detail perturbation involves adding or removing details while keeping the main thread of the processed information unchanged, making the generated processed information more variable in its narrative.
[0148] According to embodiments of this disclosure, by replacing the field values of target fields in the summary information and combining this with perturbation processing of the replaced information using a large model, the privacy protection capability during resource sharing and the diversity of the generated processed information are improved.
[0149] The resource sharing method based on large models has been explained above. The following will utilize... Figure 10 A further illustrative description of the resource sharing process based on a large model is provided.
[0150] Figure 10 The illustration shows an example diagram of a resource sharing process according to an embodiment of the present disclosure.
[0151] like Figure 10 As shown in Figure 1000, the display area 1002 of the front-end interface 1001 can display the user's own information. The recommended follow area 1003 of the front-end interface 1001 can display information about other users recommended for the user to follow.
[0152] After obtaining processed information, users can drag and drop it to the input area 1004 of the front-end interface 1001 to upload the information. In addition, the front-end interface 1001 may also include a peer-to-peer communication community area 1005. The target community displayed in the peer-to-peer communication community area 1005 can be determined based on at least one of the user's geographic information and the target object's object type. For example, target community 1 is determined based on the user's geographic information, target community 2 is determined based on the target object's object type, and target community 3 is determined based on both the user's geographic information and the target object's object type. Users can share processed information to any target community by clicking on it on the front-end interface 1001.
[0153] According to embodiments of this disclosure, by determining the target community based on the user's geographic information and the object type of the target object, the accuracy of resource sharing is improved, which is conducive to the targeted promotion of resources.
[0154] The above are merely exemplary embodiments, but are not limited thereto. Other resource sharing methods based on large models known in the art may also be included, as long as they can improve the accuracy of resource sharing.
[0155] The resource sharing method based on large models has been explained above. The following will utilize... Figure 11 Provide an illustrative description of the information presentation process.
[0156] Figure 11 A flowchart illustrating an information display method according to an embodiment of the present disclosure is shown schematically.
[0157] like Figure 11 As shown, the information display method 1100 includes operations S1110 to S1120.
[0158] In operation S1110, in response to receiving a user request, a pending request is sent.
[0159] In operation S1120, in response to receiving the response information generated from the pending request, the response information is displayed.
[0160] When a user request is for a file upload, the pending request can be an update request. The frontend can send the update request to the backend's large model. After receiving the update request, the large model can respond using the library update method based on the large model, obtaining object information. The backend can then send this object information to the frontend. Thus, the frontend can display the object information generated in response to the update request, thereby updating the library.
[0161] When a user request is a question-and-answer operation, the request to be processed can be a question-and-answer request. The frontend can send the question-and-answer request to the backend's large model. After receiving the question-and-answer request, the large model can respond using its own question-and-answer method to obtain the answer text. The backend can then send the answer text back to the frontend. Thus, the frontend can display the answer text generated in response to the question-and-answer request, thereby realizing the question-and-answer functionality.
[0162] When a user request is a sharing operation, the request to be processed can be a sharing request, which the frontend can send to the backend's large model. Upon receiving the sharing request, the large model can respond using its resource sharing method, obtaining processed information. The backend can then send this processed information back to the frontend. Thus, the frontend can display the processed information generated in response to the sharing request, thereby achieving resource sharing.
[0163] According to embodiments of this disclosure, by responding to user requests and displaying response information generated based on different methods, this multi-functional processing capability, real-time response mechanism, and automated display function provide users with a convenient and efficient operating experience, and improve the flexibility and intelligence of information display.
[0164] The above are merely exemplary embodiments, but are not limited thereto. Other information display methods known in the art may also be included, as long as they can improve the flexibility and intelligence of information display.
[0165] It should be noted that in the embodiments of the present invention, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of the present invention. However, they do not mean that the present invention has used or necessarily used such solutions.
[0166] Based on the large model-based library update method provided in this disclosure, this disclosure also provides a large model-based library update apparatus. The following will combine... Figure 12 The device is described in detail.
[0167] Figure 12 A block diagram of a library update apparatus based on a large model according to an embodiment of the present disclosure is shown schematically.
[0168] like Figure 12 As shown, the library update device 1200 based on a large model may include a first determining module 1210, a first processing module 1220, and an update module 1230.
[0169] The first determining module 1210 is configured to, in response to receiving an update request, determine the object type of the target object based on the candidate digest information of each of the multiple files of the target object included in the update request, wherein the multiple files have multiple file types.
[0170] The first processing module 1220 is used to process multiple candidate summary information according to a preset template for the object type to obtain object information.
[0171] The update module 1230 is used to update the library based on object information, multiple files, and candidate summary information for each of the multiple files.
[0172] According to embodiments of this disclosure, the first determining module 1210 may include a first determining unit and a second determining unit.
[0173] The first determining unit is configured to, based on the intent of each candidate summary information, determine multiple target summary information belonging to the target type from among multiple candidate summary information; and
[0174] The second determining unit is used to determine the object type based on multiple target summary information using a large model.
[0175] According to embodiments of this disclosure, the library update apparatus 1200 based on a large model may further include a first generation module and a second generation module.
[0176] The first generation module is used to generate an object name for a target object based on the object type and multiple target summary information.
[0177] The second generation module is used to generate file names for each file based on the object type and candidate digest information, thus obtaining the file names for multiple files.
[0178] According to embodiments of this disclosure, the preset template includes a template for generating a table of contents and a template for generating a summary, and the object information includes table of contents information and summary information for the target object.
[0179] According to embodiments of this disclosure, the first processing module 1220 may include a first generation unit and a second generation unit.
[0180] The first generation unit is used to generate directory information by utilizing a large model, based on the file names of multiple files and the directories to be filled generated based on the template used to generate the directory.
[0181] The second generation unit is used to generate summary information by utilizing the large model, based on multiple target summary information, directory information, and a summary to be filled generated based on the template used to generate the summary.
[0182] According to embodiments of this disclosure, the library includes a first database and a second database. The first database is used to store information related to a target object, and the second database is used to store information related to a file. The first database and the second database are associated through the relationship between the target object and the file.
[0183] According to embodiments of this disclosure, the update module 1230 may include a first update unit and a second update unit.
[0184] The first update unit is used to update the first database for the target object based on the target object's object identifier, object type, object name, and summary information.
[0185] The second update unit is used to update the second database for each file based on the file name, file type, candidate digest information, and directory information.
[0186] According to embodiments of this disclosure, candidate abstract information may be determined in the following manner.
[0187] Using a large model, a file-type-based digest generation tool is invoked. Based on this tool, the file is processed to obtain candidate digest information.
[0188] According to embodiments of this disclosure, the target objects include legal cases in the legal field.
[0189] Based on the large-model-based question answering method provided in this disclosure, this disclosure also provides a large-model-based question answering device. The following will combine... Figure 13 The device is described in detail.
[0190] Figure 13 A block diagram of a large-model-based question-and-answer device according to an embodiment of the present disclosure is shown schematically.
[0191] like Figure 13 As shown, the question-answering device 1300 based on a large model may include a second determining module 1310, a matching module 1320 and a third determining module 1330.
[0192] The second determining module 1310 is used to determine the target library to be matched based on the intent of the question text in the question-and-answer request in response to receiving the question-and-answer request.
[0193] The matching module 1320 is used to match the target library based on the question text to obtain the matching result. The target library is updated using a library based on a large model.
[0194] The third determining module 1330 is used to determine the answer text based on the matching results using a large model.
[0195] According to embodiments of this disclosure, the target library includes multiple pieces of information to be matched, each piece of information to be matched having a vector index and multiple scalar indices. The vector index is determined based on the feature vector of the piece of information to be matched, and the scalar index is determined based on the fields in the piece of information to be matched.
[0196] According to embodiments of this disclosure, the matching module 1320 may include a first matching unit and a second matching unit.
[0197] The first matching unit is used to perform semantic matching on multiple vector indices based on the feature vector of the question text to obtain a first matching result. The first matching result includes the matching information corresponding to the vector index when the feature vector and vector index of the question text satisfy a first predetermined condition.
[0198] The second matching unit is used to perform keyword matching on multiple scalar indices based on the key fields in the question text to obtain a second matching result. The second matching result includes the matching information corresponding to the scalar index when the key fields and scalar indexes in the question text meet the second predetermined conditions.
[0199] According to embodiments of this disclosure, the second determining module 1310 may include a third determining unit and a fourth determining unit.
[0200] The third determining unit is used to determine, in the case that the intent is to match a single database, that the target database includes a first database, wherein the first database is used to store information related to the target object.
[0201] The fourth determining unit is used to determine, when the intent is to match a joint database, that the target database includes a first database and a second database, wherein the second database is used to store information related to files, and the first database and the second database are associated through the relationship between the target object and the file.
[0202] Based on the resource sharing method based on a large model provided in this disclosure, this disclosure also provides a resource sharing device based on a large model. The following will be combined with... Figure 14 The device is described in detail.
[0203] Figure 14 A block diagram of a resource sharing device based on a large model according to an embodiment of the present disclosure is shown schematically.
[0204] like Figure 14 As shown, the resource sharing device 1400 based on a large model may include a second processing module 1410 and a resource sharing module 1420.
[0205] The second processing module 1410 is used to respond to receiving a sharing request, and to process the summary information of the target object selected in the library indicated by the sharing request, so as to obtain processed information, wherein the library is updated using a library based on a large model.
[0206] The resource sharing module 1420 is used for sharing processed information.
[0207] According to embodiments of this disclosure, the summary information includes multiple target fields and the field values of each of the multiple target fields.
[0208] According to embodiments of this disclosure, the second processing module 1410 may include a replacement unit and a disturbance processing unit.
[0209] The replacement unit is used to replace the field value of each target field according to the preset value of the target field, so as to obtain the replaced information.
[0210] The perturbation processing unit is used to perturb the replaced information using a large model.
[0211] According to embodiments of this disclosure, the resource sharing module 1420 may include a fifth determining unit and a sharing unit.
[0212] The fifth determining unit is used to determine the target community based on at least one of the geographic information of the user who selected the target object and the object type of the target object.
[0213] A shared unit is used to share processed information to a target community.
[0214] Based on the information display method provided in this disclosure, this disclosure also provides an information display device. The following will be combined with... Figure 15 The device is described in detail.
[0215] Figure 15 A block diagram of an information display device according to an embodiment of the present disclosure is shown schematically.
[0216] like Figure 15 As shown, the information display device 1500 may include a sending module 1510 and a display module 1520.
[0217] The sending module 1510 is configured to send a pending request in response to receiving a user request, wherein the pending request includes at least one of an update request, a question-and-answer request, and a sharing request.
[0218] The display module 1520 is used to display the response information generated upon receiving the response information of the pending request. The response information is generated using a library update based on a large model, a question-and-answer based on a large model, or a resource sharing based on a large model. The response information includes at least one of object information, answer text, and processed information.
[0219] Figure 16 A schematic block diagram of the structure of a large-scale intelligent agent according to an embodiment of the present disclosure is shown.
[0220] In embodiments of this disclosure, the von Neumann architecture in modern computer theory is inspired, such as... Figure 16 As shown, the AI agent 1600 may include five core modules: input module 1610, control module 1620, storage module 1630, computing module 1640, and output module 1650.
[0221] The input module 1610 is responsible for receiving or sensing information such as queries, requests, instructions, signals, or data from the outside world (e.g., users or the external environment), and converting it into a format that the AI agent 1600 can understand and process. The input module 1610 is the primary link for the AI agent 1600 to interact with the outside world. It enables the AI agent 1600 to efficiently and accurately obtain the necessary "sensory" information from the outside world and respond to this information.
[0222] In the example, input module 1610 can input update requests, question-and-answer requests, and sharing requests as described above.
[0223] The control module 1620 is the core support for the AI agent 1600's ability to handle complex tasks. The control module 1620 can execute the large model-based library update method, the large model-based question answering method, and the large model-based resource sharing method described above.
[0224] In the example, the control module 1620 will continuously interact with the storage module 1630, the arithmetic module 1640, and / or the output module 1650 during operation. However, it should be noted that in the embodiments of this disclosure, the control module 1620 initiates communication with the storage module 1630, the arithmetic module 1640, and / or the output module 1650 as a single initiator, and there is no communication coupling between the storage module 1630, the arithmetic module 1640, and the output module 1650.
[0225] In the example, the performance of the control module 1620 is closely related to the large model on which the AI agent 1600 is based. To fully leverage the capabilities of the large language model, the internal structure of the control module 1620 can be designed to be highly configurable and scalable to handle various types of tasks and requirements in real-world scenarios.
[0226] The storage module 1630 can be responsible for remembering information such as historical dialogues and event streams. The preset templates, the first database, and the second database mentioned above can be included in the storage module 1630.
[0227] In the example, after receiving an update request, AI agent 1600 can determine the object type of the target object. The object type can be stored in storage module 1630. AI agent 1600 can retrieve a preset template for the object type from storage module 1630 and feed it back to control module 1620. Then, control module 1620 can use the fed-back preset template for the object type to obtain object information and pass this object information to output module 1650.
[0228] The computation module 1640 can be viewed as a predefined tool library. Information perturbation tools, etc., used to perturb the previously replaced information, can be included in the computation module 1640.
[0229] In the example, when the AI agent 1600 needs to perturb the replaced information, it can call the relevant information perturbation tool from the computing module 1640 and feed it back to the control module 1620. Then, the control module 1620 can use the feedback information perturbation tool to perturb the replaced information, obtain the processed information, and pass the processed information to the output module 1650. It is understandable that although large language models have excellent language understanding and generation capabilities, like humans, the tasks they can solve without any tools are very limited. When the AI agent 1600 is given the ability to call tools, it can perform tasks such as using a summary generation tool to generate summaries and using an information perturbation tool to perturb information.
[0230] The output module 1650 can output the object information, answer text, and processed information described above.
[0231] The AI agent 1600 according to embodiments of this disclosure can simply and effectively improve the level of intelligence, as well as enhance flexibility and versatility.
[0232] Figure 17 This schematically illustrates a block diagram of an electronic device suitable for implementing large-model-based library updates, question-and-answer, resource-sharing, and information display methods according to embodiments of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0233] like Figure 17 As shown, device 1700 includes a computing unit 1701, which can perform various appropriate actions and processes according to a computer program stored in read-only memory (ROM) 1702 or a computer program loaded from storage unit 1708 into random access memory (RAM) 1703. The RAM 1703 may also store various programs and data required for the operation of device 1700. The computing unit 1701, ROM 1702, and RAM 1703 are interconnected via bus 1704. Input / output (I / O) interface 1705 is also connected to bus 1704.
[0234] Multiple components in device 1700 are connected to I / O interface 1705, including: input unit 1706, such as a keyboard, mouse, etc.; output unit 1707, such as various types of displays, speakers, etc.; storage unit 1708, such as a disk, optical disk, etc.; and communication unit 1709, such as a network card, modem, wireless transceiver, etc. Communication unit 1709 allows device 1700 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0235] The computing unit 1701 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 1701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1701 performs the various methods and processes described above, such as large-model-based library updates, question answering, resource sharing methods, and information display methods. For example, in some embodiments, large-model-based library updates, question answering, resource sharing methods, and information display methods can be implemented as computer software programs tangibly contained in a machine-readable medium, such as storage unit 1708. In some embodiments, part or all of the computer program can be loaded and / or installed on device 1700 via ROM 1702 and / or communication unit 1709. When the computer program is loaded into RAM 1703 and executed by computing unit 1701, one or more steps of the large model-based library update, question-and-answer, resource-sharing, and information display methods described above can be performed. Alternatively, in other embodiments, computing unit 1701 can be configured to perform the large model-based library update, question-and-answer, resource-sharing, and information display methods by any other suitable means (e.g., by means of firmware).
[0236] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0237] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0238] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0239] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0240] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0241] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, distributed system servers, or servers incorporating blockchain technology.
[0242] It should be understood that the various forms of processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0243] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A library update method based on a large model, comprising: In response to receiving an update request, for multiple files of the target object included in the update request, the multiple candidate digest information is classified according to the intent of the candidate digest information of each file, so as to determine multiple target digest information belonging to the target type among the multiple candidate digest information, wherein the multiple files have multiple file types; Using the large model, the target objects are classified according to the multiple target summary information to determine the object type of the target objects; For the target object, an object name is generated based on the object type and the multiple target summary information; For each of the files, a file name is generated based on the object type and the candidate digest information, resulting in file names for each of the multiple files. Based on a preset template for the object type, multiple candidate summary information are processed to obtain object information, including: using the large model, generating directory information based on the file names of the multiple files and a directory to be filled based on a template for generating a directory; using the large model, generating summary information based on the multiple target summary information, the directory information, and a summary to be filled based on a template for generating a summary, wherein the preset template includes the template for generating the directory and the template for generating the summary, and the object information includes the directory information and the summary information for the target object; and The database is updated based on the object information, the plurality of files, and the candidate summary information of each of the plurality of files, including: for the target object, updating the first database based on the object identifier, the object type, the object name, and the summary information of the target object; and for each file, updating the second database based on the file name, the file type, the candidate summary information, and the directory information. The database includes the first database and the second database. The first database is used to store information related to the target object, and the second database is used to store information related to the file. The first database and the second database are associated through the relationship between the target object and the file.
2. The method according to claim 1, wherein, The candidate digest information is determined in the following way: Using the large model, a digest generation tool determined based on the file type of the file is invoked; and The file is processed using the aforementioned abstract generation tool to obtain the candidate abstract information.
3. The method according to claim 1, wherein, The target objects include legal cases in the legal field.
4. A question-answering method based on a large model, comprising: In response to receiving a question-and-answer request, the target library to be matched is determined based on the intent of the question text in the question-and-answer request; Based on the question text, the target library is matched to obtain a matching result, wherein the target library is obtained using the method of any one of claims 1 to 3; as well as Using the large model, the answer text is determined based on the matching results.
5. The method according to claim 4, wherein, The target library includes multiple pieces of information to be matched. Each piece of information to be matched has a vector index and multiple scalar indices. The vector index is determined based on the feature vector of the piece of information to be matched, and the scalar index is determined based on the fields in the piece of information to be matched. The matching process based on the question text and the matching results obtained include: Based on the feature vector of the question text, semantic matching is performed on multiple vector indices to obtain a first matching result, wherein the first matching result includes the information to be matched corresponding to the vector index when the feature vector of the question text and the vector index satisfy a first predetermined condition; and Based on the key fields in the question text, keyword matching is performed on multiple scalar indexes to obtain a second matching result. The second matching result includes the matching information corresponding to the scalar index when the key fields in the question text and the scalar indexes satisfy a second predetermined condition.
6. The method according to claim 4 or 5, wherein, The step of determining the target library to be matched based on the intent of the question text in the question-and-answer request includes: In the case where the intent is to match a single database, the target database is determined to include a first database, wherein the first database is used to store information related to the target object; and In the case where the intent is a joint database match, the target database is determined to include the first database and the second database, wherein the second database is used to store information related to the file, and the first database and the second database are associated through the relationship between the target object and the file.
7. A resource sharing method based on a large model, comprising: In response to receiving a sharing request, the summary information of the target object is processed according to the target object selected in the library indicated by the sharing request to obtain processed information, wherein the library is obtained using the method of any one of claims 1 to 3; and The processed information is shared as a resource.
8. The method according to claim 7, wherein, The summary information includes multiple target fields and the field values of each of the multiple target fields; The process of summarizing the target object to obtain processed information includes: For each target field, the field value of the target field is replaced according to the preset value of the target field to obtain the replaced information; as well as Using the large model, the replaced information is perturbed to obtain the processed information.
9. The method according to claim 7 or 8, wherein, The resource sharing of the processed information includes: The target community is determined based on at least one of the geographic information of the users who selected the target object and the object type of the target object; and The processed information will be shared with the target community.
10. An information display method, comprising: In response to receiving a user request, a pending request is sent, wherein the pending request includes at least one of an update request, a question-and-answer request, and a sharing request; and In response to receiving response information generated in response to the pending request, the response information is displayed, wherein the response information is generated using the method of any one of claims 1 to 3, or the method of any one of claims 4 to 6, or the method of any one of claims 7 to 9, and the response information includes at least one of object information, answer text, and processed information.
11. A library update device based on a large model, comprising: The first determining module is configured to, in response to receiving an update request, determine the object type of the target object based on the candidate digest information of each of the multiple files of the target object included in the update request, wherein the multiple files have multiple file types; A first processing module is configured to process multiple candidate summary information according to a preset template for the object type to obtain object information. The preset template includes a template for generating a table of contents and a template for generating a summary. The object information includes table of contents information and summary information for the target object. The update module is used to update the library based on the object information, the plurality of files, and the candidate summary information of each of the plurality of files. The library includes a first database and a second database. The first database is used to store information related to the target object, and the second database is used to store information related to the files. The first database and the second database are associated through the relationship between the target object and the files. The first determining module includes: a first determining unit, configured to determine, based on the intent of each candidate summary information, multiple target summary information belonging to a target type from among multiple candidate summary information; and a second determining unit, configured to determine the object type based on the multiple target summary information using the large model. The apparatus further includes: a first generation module, configured to generate an object name for the target object based on the object type and the plurality of target digest information; and a second generation module, configured to generate a file name for each file based on the object type and the candidate digest information, thereby obtaining file names for the plurality of files respectively. The first processing module includes: a first generation unit, used to generate the directory information using the large model, based on the file names of the multiple files and the directory to be filled generated based on the template for generating the directory; and a second generation unit, used to generate the summary information using the large model, based on the multiple target summary information, the directory information, and the summary to be filled generated based on the template for generating the summary. The update module includes: a first update unit, configured to update the first database for the target object based on the object identifier, object type, object name, and summary information of the target object; and a second update unit, configured to update the second database for each file based on the file name, file type, candidate summary information, and directory information.
12. The apparatus according to claim 11, wherein, The candidate digest information is determined in the following way: Using the large model, a digest generation tool determined based on the file type of the file is invoked; and The file is processed using the aforementioned abstract generation tool to obtain the candidate abstract information.
13. The apparatus according to claim 11, wherein, The target objects include legal cases in the legal field.
14. A question-answering device based on a large model, comprising: The second determining module is used to, in response to receiving a question-and-answer request, determine the target library to be matched based on the intent of the question text in the question-and-answer request; A matching module is configured to match the target library based on the question text to obtain a matching result, wherein the target library is obtained using the apparatus of any one of claims 11 to 13; as well as The third determining module is used to determine the answer text based on the matching results using the large model.
15. The apparatus according to claim 14, wherein, The target library includes multiple pieces of information to be matched. Each piece of information to be matched has a vector index and multiple scalar indices. The vector index is determined based on the feature vector of the piece of information to be matched, and the scalar index is determined based on the fields in the piece of information to be matched. The matching module includes: A first matching unit is configured to perform semantic matching on a plurality of vector indices based on the feature vector of the question text to obtain a first matching result, wherein the first matching result includes the information to be matched corresponding to the vector index when the feature vector of the question text and the vector index satisfy a first predetermined condition; and The second matching unit is used to perform keyword matching on multiple scalar indexes based on the key fields in the question text to obtain a second matching result. The second matching result includes the matching information corresponding to the scalar index when the key fields in the question text and the scalar indexes satisfy a second predetermined condition.
16. The apparatus according to claim 14 or 15, wherein, The second determining module includes: The third determining unit is configured to, if the intent is a single database match, determine that the target database includes a first database, wherein the first database is used to store information related to the target object; and The fourth determining unit is configured to determine, when the intent is a joint database match, that the target database includes the first database and the second database, wherein the second database is used to store information related to the file, and the first database and the second database are associated through the relationship between the target object and the file.
17. A resource sharing device based on a large model, comprising: The second processing module is configured to, in response to receiving a sharing request, process the summary information of the target object selected in the library indicated by the sharing request, to obtain processed information, wherein the library is obtained using the apparatus of any one of claims 11 to 13; and The resource sharing module is used to share the processed information.
18. The apparatus according to claim 17, wherein, The summary information includes multiple target fields and the field values of each of the multiple target fields; The second processing module includes: A replacement unit is configured to, for each target field, replace the field value of the target field according to a preset value of the target field, thereby obtaining replaced information; and The perturbation processing unit is used to perturb the replaced information using the large model to obtain the processed information.
19. The apparatus according to claim 17 or 18, wherein, The resource sharing module includes: The fifth determining unit is configured to determine a target community based on at least one of the geographic information of the user who selected the target object and the object type of the target object; and A sharing unit is used to share the processed information to the target community.
20. An information display device, comprising: The sending module is configured to send a pending request in response to receiving a user request, wherein the pending request includes at least one of an update request, a question-and-answer request, and a sharing request; and A display module is configured to display the response information generated in response to the request to be processed, wherein the response information is generated using the apparatus of any one of claims 11-13, or any one of claims 14-16, or any one of claims 17-19, and the response information includes at least one of object information, answer text, and processed information.
21. An electronic device, comprising: One or more processors; Memory, used to store one or more computer programs. The characteristic is that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 3, or any one of claims 4 to 6, or any one of claims 7 to 9, or the method according to claim 10.
22. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 3, or the method according to any one of claims 4 to 6, or the method according to any one of claims 7 to 9, or the method according to claim 10.
23. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of any one of the methods according to claims 1 to 3, or claims 4 to 6, or claims 7 to 9, or the method according to claim 10.
Citation Information
Patent Citations
Large model-based people mediation case retrieval system and retrieval method thereof
CN117493382A
Method and system for assisting in handling case in whole course under driving of large language model
CN118606486A
Auxiliary case judgment method and system based on generative automatic abstract
CN118608657A
