Information processing method and device, equipment and storage medium
By receiving the target type and data source configuration of the knowledge base through the configuration page, importing data and setting indexes, the problem of low efficiency in creating existing knowledge bases is solved, and a knowledge base can be quickly created and flexibly used.
Patent Information
- Application Number
- CN202411748663.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-03-28
- Filing Date
- 2024-11-29
- Publication Date
- 2025-09-30
AI Technical Summary
The existing knowledge base creation and calling methods are inefficient, which affects the speed and accuracy of information acquisition.
An information processing method is provided, which receives the target type and data source configuration of a knowledge base through a configuration page, presents an index setting page after importing data to receive index setting information, and creates a knowledge base of the target type based on the index setting information.
It improves the efficiency and flexibility of knowledge base creation, allowing users to quickly create a knowledge base that is easy to index and facilitate information acquisition.
Smart Images

Figure CN120723948A_ABST
Abstract
Description
[0001] This application claims priority to the Chinese invention patent application entitled “Information processing method, apparatus, device and storage medium” and application number 202410371110.2, filed on March 28, 2024. The entire contents of that application are incorporated herein by reference. Technical Field
[0002] Example embodiments of the present disclosure relate generally to the field of computers, and more particularly to information processing. Background Art
[0003] In recent years, with the rapid development of artificial intelligence (AI), the creation and use of knowledge bases has become increasingly widespread. Knowledge bases can store specialized knowledge or content in relevant fields, allowing people to quickly access the information they need. However, existing methods for creating and accessing knowledge bases remain unsatisfactory, potentially hindering the efficiency of creating and accessing information. Summary of the Invention
[0004] In a first aspect of the present disclosure, an information processing method is provided. The method includes: in response to receiving a creation request, presenting a configuration page for receiving configuration information of a knowledge base, the configuration page including: a first configuration area for receiving a configuration of a target type of the knowledge base from a plurality of data types, and a second configuration area for receiving a configuration of a target data source of the knowledge base; in response to receiving the configuration of the target type and the target data source, importing data of the target type from the target data source into the knowledge base; in response to completing the data import, presenting an index setting page corresponding to the target type, for receiving index setting information for the imported data; and in response to receiving the index setting information, creating a knowledge base of the target type based on the index setting information.
[0005] In a second aspect of the present disclosure, a device for information processing is provided. The device includes: a presentation module configured to present a configuration page for receiving configuration information of a knowledge base in response to receiving a creation request, the configuration page including: a first configuration area for receiving a configuration of a target type of the knowledge base from a plurality of data types, and a second configuration area for receiving a configuration of a target data source of the knowledge base; an import module configured to import data of the target type from the target data source into the knowledge base in response to receiving the configuration of the target type and the target data source; a setting module configured to present an index setting page corresponding to the target type in response to completion of data import, for receiving index setting information for the imported data; and a creation module configured to create a knowledge base of the target type based on the index setting information in response to receiving the index setting information.
[0006] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform operations to implement the method of the first aspect.
[0007] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0008] In a fifth aspect of the present disclosure, a computer program product is provided, which is tangibly stored in a computer storage medium and includes computer-executable instructions that, when executed by a device, cause the device to perform operations to implement the method of the first aspect.
[0009] It should be understood that the content described in this summary section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0011] Figure 1 A schematic diagram illustrating an example environment in which embodiments according to the present disclosure may be implemented;
[0012] Figure 2 A schematic diagram illustrating a knowledge base architecture according to some embodiments of the present disclosure is shown;
[0013] Figure 3 A flowchart illustrating an example process of data processing according to some embodiments of the present disclosure;
[0014] Figures 4A to 4E An example of a page for creating a knowledge base of a document type according to some embodiments of the present disclosure is shown;
[0015] Figures 5A to 5G An example of a page for creating a knowledge base of an image type according to some embodiments of the present disclosure is shown;
[0016] Figure 6 An example of a page showing a knowledge base view list according to some embodiments of the present disclosure is shown.
[0017] 7A to 7FAn example of a page for managing a knowledge base of document types according to some embodiments of the present disclosure is shown;
[0018] Figures 8A to 8C An example of a page for managing a knowledge base of image types according to some embodiments of the present disclosure is shown;
[0019] Figure 9 An example of a page for configuring a knowledge base in a third-party application according to some embodiments of the present disclosure is shown;
[0020] Figure 10 A flowchart illustrating an example process of adding table-type data according to some embodiments of the present disclosure;
[0021] Figure 11 A flowchart illustrating an example process of retrieving knowledge base data based on hybrid search according to some embodiments of the present disclosure is shown;
[0022] Figure 12 An example of a page showing knowledge base application settings according to some embodiments of the present disclosure is shown;
[0023] Figure 13A and 13B A flowchart illustrating an example process of retrieving image type knowledge base data according to some embodiments of the present disclosure is shown;
[0024] Figure 14 A flowchart illustrating an example process for information processing according to some embodiments of the present disclosure;
[0025] Figure 15 A schematic structural block diagram showing an example apparatus for information processing according to some embodiments of the present disclosure; and
[0026] Figure 16 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0027] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0028] It should be noted that the titles of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and any type of embodiment may be included under any section / subsection. Furthermore, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or in different sections / subsections.
[0029] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.
[0030] Herein, unless explicitly stated otherwise, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.
[0031] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition, use, storage or deletion of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0032] It is understandable that before using the technical solutions disclosed in the various embodiments of the present disclosure, the type, scope of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to relevant users and authorization should be obtained from relevant users in an appropriate manner in accordance with relevant laws and regulations. The relevant users may include any type of right holders, such as individuals, enterprises, and groups.
[0033] For example, in response to receiving an active request from a user, a prompt message is sent to the relevant user to clearly prompt the relevant user that the operation requested to be performed will require obtaining and using the information of the relevant user, so that the relevant user can independently choose whether to provide information to the software or hardware such as the electronic device, application, server or storage medium that executes the operation of the technical solution of the present disclosure based on the prompt message.
[0034] As an optional but non-limiting implementation, in response to receiving an active request from a relevant user, a prompt message may be sent to the relevant user in the form of a pop-up window, in which the prompt message may be presented in text form. Furthermore, the pop-up window may also include a selection control for the user to select "agree" or "disagree" to provide information to the electronic device.
[0035] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0036] As used herein, the term "model" can learn the association between corresponding inputs and outputs from training data, so that after training is completed, corresponding outputs can be generated for given inputs. The generation of the model can be based on machine learning technology. Deep learning is a machine learning algorithm that processes inputs and provides corresponding outputs by using multiple layers of processing units. A neural network model is an example of a model based on deep learning. In this article, "model" may also be referred to as "machine learning model", "learning model", "machine learning network" or "learning network", and these terms are used interchangeably in this article.
[0037] As mentioned above, with the rapid development of artificial intelligence, the creation and use of knowledge bases are becoming increasingly widespread. Knowledge bases can store specialized knowledge or content in relevant fields, allowing people to quickly access the information they need. However, limitations in existing knowledge base creation and access methods significantly impact the efficiency of knowledge base creation and information retrieval.
[0038] Some embodiments of the present disclosure propose solutions for knowledge base creation, management, and application. One solution may include: in response to receiving a creation request, presenting a configuration page for receiving configuration information of the knowledge base, the configuration page including a first configuration area for receiving a configuration of a target type of the knowledge base from a plurality of data types, and a second configuration area for receiving a configuration of a target data source of the knowledge base. In response to receiving the configuration of the target type and the target data source, importing data of the target type from the target data source into the knowledge base. In response to the completion of the data import, presenting an index setting page corresponding to the target type for receiving index setting information for the imported data. In response to receiving the index setting information, processing the imported data based on the index setting information to create a knowledge base of the target type, the created knowledge base including a plurality of data items that can be indexed after processing.
[0039] In this way, users can be supported in creating specific types of knowledge bases as needed, and based on the type of knowledge base, they can be guided in configuring the information required for the knowledge base, thereby improving the efficiency of knowledge base creation and the flexibility of subsequent use of the knowledge base. In addition, some embodiments of the present disclosure can provide a modular, simple, and data-selective knowledge base creation solution, allowing users to easily and quickly create knowledge bases that are easy to index data, while also making it easier for users to obtain the information they need from the knowledge base.
[0040] Various example implementations of this solution are described in detail below in conjunction with the accompanying drawings.
[0041] Figure 1 1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, the application management platform 110 can provide users 105 with an environment for creating, managing, and publishing knowledge bases, data sets, various applications, and workflows. The application management platform 110 can be any appropriate platform that supports users in developing knowledge bases, various applications, workflows, and the like. In some embodiments, the application management platform 110 can be a low-code platform that provides a collection of tools for knowledge base creation. The application management platform 110 can support visual development of knowledge bases, applications, and workflows, allowing developers to skip the manual coding process and speed up the development cycle. Such a platform can support users in efficient development and implement operations such as application creation and application function adjustment.
[0042] The application management platform 110 can be deployed locally on the terminal device of the user 105, and / or can be supported by a remote server. For example, the terminal device of the user 105 can run a client of the application management platform 110, which can support the interaction between the user and the application management platform 110. In the case where the application management platform 110 runs locally on the user's terminal device, the user 105 can directly use the client to interact with the local application management platform 110. In the case where the application management platform 110 runs on a server-side device, the server-side device can, based on the communication connection with the terminal device, realize the provision of services to the client running in the terminal device. The application management platform 110 can present a corresponding page 122 to the user 105 based on the operation of the user 105 to output information to the user 105 and / or receive information from the user 105.
[0043] In some embodiments, the application management platform 110 can be associated with a corresponding database, which stores the data or information required for the knowledge base creation process supported by the application management platform 110. For example, the database can store the code and description information corresponding to each functional module used to constitute the knowledge base. The application management platform 110 can also perform operations such as calling, adding, deleting, and updating on the functional modules in the database. The database can also store operations that can be performed on different functional blocks. For example, in a scenario where a knowledge base is to be created, the application management platform 110 can call the corresponding functional blocks from the database to build the knowledge base.
[0044] In an embodiment of the present disclosure, the user 105 can create a knowledge base 120 on the application management platform 110 as needed and publish the knowledge base 120. The knowledge base 120 can be published to any appropriate platform as long as the platform can support access to the knowledge base.
[0045] After publication, the knowledge base 120 can be associated with one or more applications 135 or workflows 136. The application 135 or workflow 136 may need to rely on the knowledge in the knowledge base 120 to determine the response to the user's query. In some embodiments, the application 135 may include a digital assistant. The knowledge base 120 can be configured to the digital assistant. The digital assistant can interact with the user 135 based on the content in the knowledge base 120. The interactive messages between the user 135 and the digital assistant may include messages in multimodal forms, such as text messages (e.g., natural language text), voice messages, image messages, video messages, and the like.
[0046] The application management platform 110 can run on appropriate electronic devices. The electronic devices here can be any appropriate type of device with computing capabilities, including terminal devices or server devices. The terminal device can be any type of mobile terminal, fixed terminal or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication systems (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio broadcast receivers, e-book devices, gaming devices or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. The server device can, for example, include a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and so on. In some embodiments, the application management platform 110 can be implemented based on cloud services.
[0047] It should be understood that the structure and functionality of the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure. Figure 1 A single user is shown interacting with the application management platform 110 , but in practice multiple users may access the application management platform 110 to each create a knowledge base, develop applications, workflows, and the like.
[0048] Some example embodiments of the present disclosure will be described in detail below with reference to the examples in the accompanying drawings. It should be understood that the pages shown in the accompanying drawings are merely examples, and a variety of page designs may exist. The various graphical elements in a page may have different arrangements and different visual representations, one or more elements may be omitted or replaced, and one or more other elements may also be present. The embodiments of the present disclosure are not limited in this respect.
[0049] The knowledge base creation process described in the embodiments of the present disclosure can be implemented on a knowledge base creation platform, a terminal device installed with the knowledge base creation platform, and / or a server corresponding to the knowledge base creation platform. In the following examples, for the purpose of discussion, the process is described from the perspective of the knowledge base creation platform, for example Figure 1 The application management platform 110 shown. The page presented by the application management platform 110 can be presented via the terminal device of the user 105, and the user input can be received via the terminal device of the user 105. In this document, the user 105 who creates the knowledge base is sometimes also referred to as a knowledge base creator, a knowledge base developer, etc.
[0050] The user 105 can initiate a creation request to the application management platform 110 as needed. In response to receiving the creation request, the application management platform 110 presents a page for creating a knowledge base. On this page, the user 105 can select the knowledge base to be created (assuming it is Figure 1 Unlike creating a knowledge base by writing code, in the embodiment of the present disclosure, the page for creating a knowledge base is designed to include at least one configuration area for receiving configuration information of the knowledge base. Each configuration area is defined to receive a type of configuration information required for building the knowledge base.
[0051] Figure 2 Schematic diagram of the knowledge base architecture according to some embodiments of the present disclosure is shown. Figure 2 As shown in the schematic diagram 200 of the knowledge base architecture in, the knowledge base architecture 202 can be composed of multiple types of data. For example, the types of the knowledge base architecture 202 can include document type 210, table type 212, and image type 214. The user 105 can create at least one knowledge base 120 of the corresponding type based on the knowledge base architecture 202 of the corresponding type. For example, under the knowledge base of document type 210, the user 105 can establish one or more knowledge bases of document type 210 ((knowledge base 1, knowledge base 2)) as needed. The knowledge base of each document type can include one document or a combination of multiple documents. For table type 212 and image type 214, the user 105 can also create one or more corresponding databases in a similar manner. It can be understood that the knowledge base 120 of document type 210 can include data of document type 210, the knowledge base 120 of table type 212 can include data of table type 212, and the knowledge base 120 of image type 214 can include data of image type 214.
[0052] In some embodiments, continue to refer to Figure 2 , an application or workflow can be associated with at least one knowledge base 120. Further, an application or workflow can call data of at least one knowledge base 120 associated therewith during use. As an example, Figure 2 As shown, the application is associated with two knowledge bases of document type 210 and one knowledge base 120 of image type 214. The application can then retrieve document data from the knowledge base 120 of the two document types 210 and image data from the knowledge base 120 of image type 214 during use. A workflow 222 is associated with a knowledge base 120 of a table type 212. The workflow 222 can retrieve table data from the knowledge base of the table type 212. The application mentioned herein can be implemented as a digital assistant, any database with question-and-answer functionality, or knowledge retrieval functionality. The workflow mentioned herein can be configured to automatically perform specific tasks.
[0053] Figure 3 FIG. 3 is a flow chart showing an example process 300 of knowledge base management according to some embodiments of the present disclosure. The data processing process 300 may be executed in the application management platform 110 as described above. Figure 1 300 is described below.
[0054] like Figure 3 As shown, the management cycle of the knowledge base can be divided into the creation / import stage and the viewing / editing stage.
[0055] During the creation / import phase, at block 302 , the application management platform 110 may receive a knowledge base creation request.
[0056] In response to receiving the knowledge base creation request, the application management platform 110 may provide the user with selectable knowledge base types for selection. The selectable knowledge base types include document type 210, table type 212, and image type 214. It will be appreciated that, depending on actual application needs, more, fewer, or different types of data may be configured or supported, such as video type, mind map type, and so on.
[0057] After determining that the user selects the document type 210 , in block 310 , the application management platform 110 may present a corresponding page to the user and receive segment settings corresponding to the document type from the user.
[0058] After determining that the user selects the table type 212 , in block 312 , the application management platform 110 may present a corresponding page to the user and receive a table header structure setting corresponding to the table type from the user.
[0059] After determining that the user selects the image type 214 , in block 314 , the application management platform 110 may present a corresponding page to the user and receive annotation settings corresponding to the image type from the user.
[0060] After executing box 310 , box 312 or box 314 , in box 320 , the application management platform 110 may perform data processing to import and process data, thereby completing the creation of the knowledge base.
[0061] After the knowledge base is created, it can also be associated with one or more applications (e.g., digital assistant applications, question-and-answer applications, etc.) or workflows (e.g., workloads that rely on knowledge to perform data queries). If the knowledge base is associated with an application or workflow, then the knowledge base can be called to process query information for the associated application or workflow. The call to the knowledge base is optional, and it can be determined based on the query information whether the associated knowledge base needs to be scheduled to assist in the processing of the current query information. The data stored in the knowledge base can be queried to determine the response to the query information.
[0062] After the knowledge base is created, it can be viewed or edited. During the view / edit phase, the data in the knowledge base 120 can be viewed or edited. For clarity, the view / edit phase will be described with respect to an image type knowledge base. At block 325, the application management platform 110 can view the image set.
[0063] At block 330 , the application management platform 110 may view a single image from the image collection.
[0064] At block 335 , the application management platform 110 may modify the image annotation information.
[0065] The detailed steps in data processing can be found in the following description and will not be repeated here.
[0066] Figures 4A to 4E 400A to 400E of a document type knowledge base according to some embodiments of the present disclosure are shown. Figure 1 Provided by the application management platform 110 shown.
[0067] Specifically, the page includes at least a first configuration area for receiving configuration of a target type of the knowledge base 120 from a plurality of data types. For example, Figure 4A Page 400A (also referred to as the knowledge base creation page 400A) provides a first configuration area 410, which includes three type selection boxes, each type selection box corresponding to a document type, a table type, and an image type. Selecting the type selection box of the document type indicates that the target type for receiving the configuration of the knowledge base 120 is the document type.
[0068] The target type configured for knowledge base 120, received as part of the configuration information for knowledge base 120, will limit the data types supported by knowledge base 120 to the target type and exclude data of other types. Knowledge base 120 can only store data of the target type. In other words, the knowledge base 120 established here is a dedicated database that only supports the target type.
[0069] During the creation process, a specific visual configuration area is provided to allow the user to select the target type, so that the user can conveniently set the data types supported by the knowledge base 120.
[0070] In some embodiments, the page may further include a second configuration area for receiving configuration of a target data source for the knowledge base 120. The knowledge base 120 may obtain data from the configured target data source, that is, the user 105 may select a method or source for uploading data.
[0071] In some embodiments, the second configuration area presents at least one supported type. The at least one type of data source may include at least one of a local data source, an online data source, a database, custom data, etc. For example, Figure 4A Page 400A of FIG. 4 shows a second configuration area 420 associated with the document type selection box in the first configuration area 410. The second configuration area 420 includes multiple document selection boxes, each corresponding to a target data source. The target data sources here can include local documents (e.g., supporting local documents in formats such as PDF, TXT, and DOCX), online data (e.g., obtaining content from online web pages), XX applications (capturing document data from any application or database), and custom (e.g., allowing the creation and editing of custom document content).
[0072] In some embodiments, the page further includes a third configuration area for receiving a name for the knowledge base 120. The user can name the knowledge base being created based on the third configuration area. For example, Figure 4A Page 400A of FIG. 4 shows a third configuration area 430 , which includes a name input box for accepting a name input by a user through natural language.
[0073] In some embodiments, the page also includes a fourth configuration area for receiving description information of the knowledge base. The user can enter description information of the knowledge base based on the fourth configuration area. The description information can indicate the type, function, and other information of the knowledge base. For example, Figure 4APage 400A provides a fourth configuration area 432, which includes a description input box for receiving descriptive information of the knowledge base input by the user in natural language. The name and description information of the knowledge base 120 can be collectively referred to as the metadata of the knowledge base. In some embodiments, if the knowledge base is associated with a specific application or workflow, then the corresponding application or workflow can determine whether to call the knowledge base based on the description information or metadata of the knowledge base when processing its respective query information. In some embodiments, if the application or workflow is built based on a machine learning model (such as a generative model), if the knowledge base is associated with the above application or workflow, then a prompt word (Prompt) can be constructed based on the description information or metadata of the knowledge base and provided to the model on which the above application or workflow depends, and the model determines whether to call the knowledge base to determine the response to the query information.
[0074] In some embodiments, the application management platform 110 may import data of the target type from the target data source into the knowledge base in response to receiving the configuration of the target type and the target data source.
[0075] In some embodiments, the application management platform 110 may present the following configuration in response to receiving the configuration of the document type and the local document: Figure 4B Page 400B is shown.
[0076] In some embodiments, Figure 4B Page 400B of FIG. 400B provides a document upload area 435. The document upload area 435 may provide information indicating the format, size, or number of pages of documents that can be received. In some embodiments, the document upload area 435 includes a document upload control 436. In response to triggering the document upload control 436, the application management platform 110 may receive a document uploaded to the knowledge base 120 by the user 105 through the document upload control 436.
[0077] In some embodiments, the application management platform 110 may also receive documents that the user 105 drags to the document upload area 435 . For example, the user 105 may select a document from a local file and drag it to the document upload area 435 to upload the document to the knowledge base 120 .
[0078] In some embodiments, Figure 4B Page 400B also provides a document area 440. The document area 440 can present at least one document that has been uploaded to the knowledge base 120. The document area 440 can also present upload information of the at least one document, and the upload information of the document can include the document name, document upload status, and document size.
[0079] In some embodiments, Figure 4BThe document area 440 also provides a document operation control 441. Furthermore, the application management platform 110 can also delete the document associated with the document operation control 441 in response to triggering the document operation control 441.
[0080] In some embodiments, the application management platform 110 may present the following configuration in response to receiving the configuration of the document type and online data: Figure 4C Page 400C is shown.
[0081] In some embodiments, Figure 4C Page 400C provides a new URL (Uniform Resource Locator, also known as a web link) area 445. In some embodiments, the new URL area 445 includes a new URL control. In response to triggering the new URL control, the application management platform 110 can receive the user's URL link, further obtain the document in the URL link, and upload it to the knowledge base 120. As an example, the method for obtaining the document in the URL link can be online extraction.
[0082] In some embodiments, the application management platform 110 may present a document type and a customized configuration in response to receiving the document type and the customized configuration. Figure 4D Page 400D is shown.
[0083] In some embodiments, the application management platform 110 may present a data input area in response to the target data source being a custom data type. In the data input area, the user may customize or enter the input they wish to import. However, the application management platform 110 may import the input data received in the data input area into the knowledge base.
[0084] In some embodiments, Figure 4D The page 400D of FIG. 4 shows a document customization area 450 (corresponding to the “data input area” under the document type). The application management platform 110 can receive the document content edited by the user in the document customization area 450, generate a document based on the document content, and upload the document to the knowledge base 120. As an example, Figure 4D As shown, document customization area 450 may include a custom name control 451 and a custom edit control 452. Custom name control 451 may be used to receive a document name entered by a user in natural language. Custom edit control 452 may be used to receive document content entered by a user in natural language. In some embodiments, the number of natural language characters that can be accepted by custom name control 451 and / or custom edit control 452 may be limited. Any such limit on the number of characters that can be entered is within the scope of this disclosure.
[0085] Although Figure 4DThe customization of document-type data is shown in the figure, but it is understood that for table-type data, corresponding data input areas can also be provided for receiving user-defined table data, such as one or more table entries. In addition, for image-type data, corresponding data input areas, such as a drawing board, can also be provided for receiving user-defined images.
[0086] In some embodiments, in response to the completion of the data import, the application management platform 110 may present an index setting page corresponding to the target type for receiving index setting information for the imported data. It should be noted that when accessing data in the knowledge base, the corresponding data in the knowledge base may be matched based on the index information associated with the index setting information.
[0087] In some embodiments, in response to the completion of document type data import, the application management platform 110 may present an index settings page corresponding to the document data type, for receiving segmented index settings for the document, where the segmented index settings indicate at least one of the following: a segmentation rule for the document, a segment length, and a segment pre-processing rule. Here, the document segments correspond to data items for indexing.
[0088] In some embodiments, the application management platform 110 may present an index setting page corresponding to the table data type in response to completion of the table type data import, for receiving a header index setting for the table, where the header index setting indicates a header field in the table used to index data items.
[0089] In some embodiments, the application management platform 110 Figure 4E The document index setting area 455 is provided in the page 400E of FIG. The application management platform 110 can receive the document index setting information (also called segment index setting) in the document index setting area 455. As an example, Figure 4E As shown, the document index setting area 455 provides an automatic segmentation and cleaning control 456 (also known as the input entry for the default segmentation index setting) and a custom control 457 (also known as the input entry for the user-defined segmentation index setting). It should be noted that the automatic segmentation and cleaning control 456 and the custom control 457 are mutually exclusive controls.
[0090] In some embodiments, the application management platform 110 can respond to triggering the automatic segmentation and cleaning control 456 and use the automatic segmentation and pre-processing rules as index setting information for the document. The automatic segmentation and pre-processing rules can be set by technicians as needed, and this disclosure does not limit this.
[0091] In some embodiments, the application management platform 110 can use the customized segmentation rules, segment length, and pre-processing rules as the index setting information of the document in response to triggering the customized control 457. For example, the user can enter the customized segmentation rules, segment length, and pre-processing rules in the customized control 457 through natural language.
[0092] Figures 5A to 5G 500A to 500G of the knowledge base of the image type according to some embodiments of the present disclosure are shown. Figure 1 Provided by the application management platform 110 shown.
[0093] In some embodiments, continue to refer to Figure 4A , the application management platform 110 may respond to the selection operation of the image type selection box in the first configuration area 410 by presenting the following Figure 5A The second configuration area 420 is shown on page 500A.
[0094] In some embodiments, as Figure 5A As shown, the second configuration area 420 associated with the image type selection box in the first configuration area 410 may include multiple image selection boxes, each of which may correspond to a target data source. The target data source may include local images (e.g., local image files supporting JPG, JPEG, and PNG), online images (e.g., images obtained from online web pages), XX applications (image files from any application or database may be obtained), and custom images (e.g., image files may be created and edited by the user).
[0095] In some embodiments, the application management platform 110 may present the following configuration in response to receiving the configuration of the image type and the local image: Figure 5B Page 500B is shown.
[0096] In some embodiments, Figure 5B Page 500B of FIG. 500B provides an image upload area 510. The image upload area 510 may provide information indicating the image formats and sizes that can be received. In some embodiments, the image upload area 510 includes an image upload control 511. In response to triggering the image upload control 511, the application management platform 110 may receive a document uploaded to the knowledge base 120 by the user 105 through the image upload control 511.
[0097] In some embodiments, the application management platform 110 may also receive an image that the user 105 drags to the image upload area 510 . For example, the user 105 may select an image from the local images and drag it to the image upload area 510 to upload the image to the knowledge base 120 .
[0098] In some embodiments, Figure 5B Page 500B also provides an image area 515. The image area 515 can present at least one image that has been uploaded to the knowledge base 120. The image area 515 can also present upload information of at least one image, and the image upload information can include image name, image upload status, and image size.
[0099] In some embodiments, Figure 5B The image area 515 also provides an image operation control 516. Furthermore, the application management platform 110 can also delete the image associated with the image operation control 516 in response to triggering the image operation control 516.
[0100] In some embodiments, the application management platform 110 may present the following configuration in response to receiving the configuration of the image type and the online image: Figure 5C Page 500C is shown.
[0101] In some embodiments, Figure 5C Page 500C provides a manual collection area 520. In some embodiments, in response to receiving a trigger for the manual collection area 520, the application management platform 110 may receive a URL link from the user, further obtain an image in the URL link, and upload it to the knowledge base 120. As an example, the image in the URL link may be obtained by installing a browser extension in the manual collection area 520 and relying on the browser extension to obtain the image in the URL link.
[0102] In some embodiments, continue to refer to Figure 5C The application management platform 110 may also respond to receiving the user's URL link in the manual collection area 520 by presenting Figure 5D Page 500D is shown.
[0103] In some embodiments, the application management platform 110 may be Figure 5D The page 500D provides a picture display area 530. The image display area 530 can present at least one image associated with a URL link.
[0104] In some embodiments, the application management platform 110 may also provide an image search control 525 in the page 500D. Furthermore, the application management platform 110 may receive input information from the user 105 in the image search control 525 and update the image display area 530 to present at least one image associated with the input information.
[0105] In some embodiments, the application management platform 110 may also provide an image filter control 535 in the page 500D. Furthermore, the application management platform 110 may receive a conditional selection operation of the user 105 on the image filter control 535 and update the image display area 530 to present at least one image associated with the filter control 535.
[0106] In some embodiments, the application management platform 110 may further provide a radio button 540 in the page 500D. Furthermore, the application management platform 110 may receive an image selected by the user 105 in the image display area 530 in response to triggering the radio button 540 .
[0107] In some embodiments, the application management platform 110 may also provide a multi-selection control 545 in the page 500D. Furthermore, the application management platform 110 may receive multiple images selected by the user 105 in the image display area 530 in response to triggering the multi-selection control 545.
[0108] In some embodiments, the application management platform 110 may also provide a view data control 550 in the page 500D. Further, the application management platform 110 may present the following in response to triggering the view data control 545: Figure 5E Page 500E is shown.
[0109] In some embodiments, Figure 5E The page 500E presents a picture pre-selection area 555. The application management platform 110 can present a thumbnail of at least one image selected by the user 105 based on a single-selection or multi-selection control in the picture pre-selection area 555.
[0110] In some embodiments, the application management platform 110 may further provide an image deletion control 556 in the thumbnail of at least one image in the image pre-selection area 555. Furthermore, the application management platform 110 may delete the image associated with the image deletion control 556 in the image pre-selection area 555 in response to triggering the image deletion control 556.
[0111] In some embodiments, the application management platform 110 may also provide a completion and collection control 560 in the page 500D. Further, the application management platform 110 may present the following in response to triggering the completion and collection control 560: Figure 5F Page 500F is shown.
[0112] In some embodiments, in response to the target type being an image type, the application management platform 110 may present an index setting page corresponding to the image type for receiving annotation settings for the image, wherein the flag setting indicates a text annotation for indexing the image.
[0113] In some embodiments, the application management platform 110 Figure 5F The image index setting area 565 is provided in the page 500F of FIG. The application management platform 110 can receive the image index setting information (also called annotation setting) in the image index setting area 565. As an example, Figure 5F As shown, the image index setting area 565 provides an automatic annotation control 566 (also known as the automatically generated entry for annotation settings) and a manual annotation control 567 (also known as the input entry for user-defined annotation settings). It should be noted that the automatic annotation control 566 and the manual annotation control 567 are mutually exclusive controls.
[0114] In some embodiments, the application management platform 110 can respond to triggering of the automatic annotation control 566, deeply understand the image, automatically generate a content description of the image, and use the content description as image index setting information. Here, the automatic annotation of the image can be implemented as OCR (Optical Character Recognition) text recognition, extracting text information from the image as annotation information. Here, the automatic annotation of the image can also be implemented as an image processing model, and this disclosure does not limit the specific image processing model.
[0115] In some embodiments, the application management platform 110 can use the customized image description as the index setting information of the image in response to triggering the manual annotation control 567. As an example, the user can enter the image description in the manual annotation control 567 through natural language.
[0116] In some embodiments, the application management platform 110 may, in response to receiving the index setting information, create a target-type knowledge base 120 based on the index setting information. In some embodiments, the received index setting information can be used to build a data index. The application management platform 110 may process the imported target-type data based on the index setting information to create a target-type knowledge base 120, where the created knowledge base 120 includes a plurality of data items that are indexable after processing.
[0117] In some embodiments, the application management platform 110 may present the following information in response to the received index setting information of the image: Figure 5G Page 500G is shown.
[0118] In some embodiments, the application management platform 110 may present the image processing process in page 500G. The image processing process may include image processing progress.
[0119] In some embodiments, the application management platform 110 may present a knowledge base list page in response to the knowledge base list viewing request. The knowledge base list page may include multiple category viewing entries corresponding to multiple data types.
[0120] In some embodiments, Figure 6 An example of a page 600 of a knowledge base view list according to some embodiments of the present disclosure is shown. The page 600 may be, for example, Figure 1 Provided by the application management platform 110 shown.
[0121] In some embodiments, as Figure 6 As shown, the application management platform 110 can present a page 600 of a knowledge base viewing list in response to a knowledge base list viewing request. As an example, the page 600 can present a knowledge base list area 610. The knowledge base list area 610 can present multiple knowledge bases 120 (e.g., knowledge base A, knowledge base B...), and the multiple knowledge bases 120 can include multiple data types (e.g., knowledge base A is a document type, knowledge base B is a table type, and knowledge base E is an image type). The knowledge base list area 610 can also present knowledge base information corresponding to each knowledge base 120, and the knowledge base information can include the knowledge base type, knowledge base size, knowledge base creation time, etc.
[0122] In some embodiments, the application management platform 110 may provide an enablement control 611 in the knowledge base list area 610. Furthermore, in response to triggering the enablement control 611, the application management platform 110 may switch the enablement state of the knowledge base 120 or the data in the knowledge base associated with the enablement control 611 to on or off. For example, if the enablement state of the knowledge base 120 is on, it means that the data in the knowledge base 120 can be called, and if the enablement state of the knowledge base 120 is off, it means that the data in the knowledge base 120 cannot be called.
[0123] In some embodiments, the application management platform 110 may provide a knowledge base deletion control 612 in the knowledge base list area 610. Furthermore, the application management platform 110 may delete the knowledge base 120 associated with the knowledge base deletion control 612 in the knowledge base list area 610 in response to triggering the knowledge base deletion control 612.
[0124] In some embodiments, the application management platform 110 may provide multiple category view portals 620 in the page 600. Each category view portal is associated with the knowledge base 120 of the corresponding data type. Figure 6As shown, the application management platform 110 provides an all-category view entry 620-1, a document category view entry 620-2, a table category view entry 620-3, and an image category view entry 620-4 (collectively or individually referred to as category view entry 620) on page 600. The first data type corresponding to the all-category view entry 620-1 is the database 120 of all data types, the first data type corresponding to the document category view entry 620-2 is the document type, the first data type corresponding to the table category view entry 620-3 is the table type, and the first data type corresponding to the image category view entry 620-4 is the image type.
[0125] In some embodiments, the application management platform 110 may present the created knowledge base 120 of the first data type in the knowledge base list area 610 in response to selection of the category view entry 620 corresponding to the first data type among the multiple data types.
[0126] In some embodiments, the application management platform 110 may also provide a knowledge base search input box 625 in the page 600. Furthermore, the application management platform 110 may receive search information input by the user 105 in the knowledge base search input box 625 and update the knowledge base list area 610 to present the knowledge base 120 associated with the search information.
[0127] In some embodiments, the application management platform 110 may also provide a create knowledge base control 630 in the page 600. Further, the application management platform 110 may respond to the triggering of the create knowledge base control 630 and call the application management platform 110 to present the Figure 4A The knowledge base creation page 400A.
[0128] In some embodiments, the application management platform 110 may present a details page of the knowledge base 120 in response to a request to view details of the knowledge base 120. The details page includes an aggregated presentation of multiple processed data items, and may also include metadata of the knowledge base 120 (the name and description of the knowledge base 120 may be collectively referred to as metadata of the knowledge base), a list of files imported into the knowledge base 120, index setting information corresponding to the knowledge base, and / or the number of data items.
[0129] In some embodiments, the application management platform 110 may also provide a detail view control 613 in the knowledge base list area 610. Furthermore, the application management platform 110 may present a detail page of the knowledge base 120 associated with the detail view control in response to triggering of the detail view control 613.
[0130] In some embodiments, the application management platform 110 may present a detailed view control 613 of the knowledge base 120 associated with the document type in response to triggering the detailed view control 613. Figure 7A The details page 700A of the knowledge base 120 for the document type is shown.
[0131] 7A to 7F 700A to 700F of a knowledge base for managing document types according to some embodiments of the present disclosure are shown. Figure 1 Provided by the application management platform 110 shown.
[0132] In some embodiments, the application management platform 110 may present a detail page 700A of a knowledge base A of a document type, such as Figure 7A As shown. The application management platform 110 can present a document presentation area 710 on the detail page 700A, and the document presentation area 710 can present multiple indexable data items. As an example, Figure 7A In the details page 700A shown, the data corresponding to each color block is an indexable data item (here, the document type).
[0133] In some embodiments, in response to selection of a target file in the list of files, the application management platform 110 may present an aggregate presentation of data items obtained after processing the target file in a detail page.
[0134] In some embodiments, the application management platform 110 may provide a document list control 715 in the detail page 700A. Further, the application management platform 110 may present a list of documents (documents may be referred to as files) imported into the knowledge base 120 in response to triggering of the document list control 715. The list of documents may present multiple document selection items, and the document selection items may include a full content selection item and at least one document name selection item associated with a single document. For example, Figure 7A On the details page 700A, the list of documents includes a full content selection item, a XXXXX.TXT selection item, a XXXXXX.DOC selection item, and so on.
[0135] In some embodiments, the application management platform 110 may update the document presentation area 710 to present at least one indexable data item associated with the document selection item in response to the triggering of the document selection item. Figure 7A In the details page 700A of FIG, the application management platform 110 can respond to the triggering of the "All Content" selection item by updating all data items in the knowledge base 120 in the document presentation area 710. The application management platform 110 can also respond to the triggering of the "XXXXX.TXT" selection item by updating the content of XXXXX.TXT in the document presentation area 710.
[0136] In some embodiments, the application management platform 110 may also present metadata corresponding to the knowledge base 120 (ie, the name and description information of the knowledge base 120 ) in the details page 700A. The description information may indicate the type, function, etc. of the knowledge base 120 .
[0137] In some embodiments, the application management platform 110 may also present index setting information corresponding to the knowledge base 120 (ie, the segmentation strategy of the knowledge base 120 ) in the details page 700A.
[0138] In some embodiments, the application management platform 110 may also present the number of data items (ie, the total number of segments of the data items) in the detail page 700A.
[0139] In some embodiments, the application management platform 110 may also present a new data adding entry in the details page 700A. Figure 7A The details page 700A provides an add document control 720. The application management platform 110 can respond to the triggering of the add document control 720 and present a new data page 700B as shown in 7B. The method for selecting the upload data on the new data page 700B can be referred to Figure 4A The method involved in the second configuration area 420 in page 400A will not be repeated here.
[0140] In some embodiments, the application management platform 110 may present the following information in response to selecting the upload method of the local document in the new data page 700B: Figure 7C The upload data page 700C shown here. The upload method of the upload data page 700C can be referred to Figure 4B The method involved in the document upload area 435 of the 400B page will not be repeated here.
[0141] In some embodiments, the application management platform 110 may also present a re-indexing trigger entry in the details page 700A. Figure 7A The details page 700A provides a re-segmentation control 725. The application management platform 110 can respond to the triggering of the re-segmentation control 725 and present a re-segmentation page 700D as shown in 7D. The segmentation method of the re-segmentation page 700D can be referred to Figure 4E The method involved in the document index setting area 455 in the 400E page will not be repeated here.
[0142] In some embodiments, the application management platform 110 may present the following information in response to the segmentation setting completion of the re-segmentation page 700D: Figure 7EAs shown in the updated content page 700E, it can be seen from the updated content page 700E that based on the segmentation settings on the re-segmentation page 700D, the segmentation settings of all data items in the knowledge base 120 can be updated (ie, the index setting information is updated).
[0143] In some embodiments, the application management platform 110 may also present an entry for setting the update frequency in the details page 700A. As an example, the entry for setting the update frequency only appears in the details page of the knowledge base 120 where the target data source is selected as online data. The application management platform 110 may provide an update frequency control in the details page of the knowledge base 120 where the target data source is selected as online data. Furthermore, the application management platform 110 may present update frequency selection items in response to the triggering of the update frequency control. The update frequency selection items may include no automatic update, daily update, update every 3 days, update every 7 days, etc. The update frequency is the frequency of updating documents from online data, such as daily update means updating documents from online data once a day. The specific update frequency selection items can be set as needed, and the present disclosure does not impose any restrictions on this.
[0144] In some embodiments, the application management platform 110 may also respond to a first preset operation (long press or double click, etc.) on a target data item among the multiple data items on the detail page 700A by presenting a processing control associated with the target data item. Figure 7F As shown in page 700F, the application management platform 110 can present a processing box 730 associated with the target data item in response to a first preset operation on the target data item. Processing box 730 can include an edit option 731 and a delete option 732. Furthermore, in response to triggering the edit document control 731, the application management platform 110 can receive edit information from the user 105 regarding the data item associated with the edit document control 731 in edit mode, thereby modifying the data item. In response to triggering the delete row control 732, the application management platform 110 can also delete the data item associated with the delete row control 732.
[0145] In some embodiments, the application management platform 110 may receive a modification request for the knowledge base 120 , where the modification request indicates at least one of the following: modification of metadata of the knowledge base, modification of index setting information of the knowledge base, and addition of data to the knowledge base.
[0146] In some embodiments, the application management platform 110 can receive modification information of the knowledge base metadata (including the knowledge base name and description information) input by the user through natural language in response to a second preset operation (long press or double click, etc.) on the knowledge base name on the details page 700A, and then modify the metadata of the knowledge base 120.
[0147] In some embodiments, for a table-type knowledge base, the layout and information presented on its details page may be similar to that of a table-type knowledge base. 7A to 7F The difference is that in a table-type knowledge base, each entry in the table (corresponding to the indexable data items in the table) can be presented to the user one by one.
[0148] In some embodiments, continue to refer to Figure 6 , the application management platform 110 may respond to triggering of the detail view control 613 of the knowledge base 120 associated with the image type, and present the following Figure 8A The details page 800A of the knowledge base 120 for the image type is shown.
[0149] Figures 8A to 8C 800A to 800C of a knowledge base for managing image types according to some embodiments of the present disclosure are shown. Figure 1 Provided by the application management platform 110 shown.
[0150] In some embodiments, the application management platform 110 may present Figure 8A The application management platform 110 may present an image presentation area 810 on the detail page 800A, and the image presentation area 810 may present multiple indexable data items. For example, Figure 8A In the details page 800A shown, each box containing a picture and an image annotation is an indexable data item (here, a picture type).
[0151] In some embodiments, the application management platform 110 may present a list of images imported into the knowledge base E (including the image content of each data item (including the image and image name)) and text annotations corresponding to the images on the details page 800A. The application management platform 110 may present the upload method of the data item in the knowledge base on the details page 800A. The upload method may include local image, online image, XX application, and custom. As an example, Figure 8A Interface 800A in the figure displays an upload method area 815. The display of "Local" in upload method area 815 indicates that the upload method of the data item in knowledge base E is local image. Correspondingly, if the upload method of the data item in knowledge base E is online image, "Online" may be displayed in upload method area 815; if the upload method of the data item in knowledge base E is XX application, "XX application" may be displayed in upload method area 815; and if the upload method of the data item in knowledge base E is customized, "Custom" may be displayed in upload method area 815.
[0152] In some embodiments, the application management platform 110 may also present the annotation method of the data item in the knowledge base in the details page 800A. Figure 8A The 800A interface in the figure presents a labeling method area 820. The labeling method area 820 presents automatic identification, indicating that the labeling method of the data item in the knowledge base E is automatic labeling (or intelligent labeling). Correspondingly, when the labeling method of the data item in the knowledge base E is manual labeling, manual identification can be presented in the upload method area 815.
[0153] In some embodiments, the application management platform 110 may also present a target image on the detail page 800A in response to a request to view details of the target image among the multiple images in the knowledge base 120. For example, Figure 8A The application management platform 110 may respond to a request for viewing details of a target image (receiving an operation of clicking on an image or annotating an image) by presenting the following details page 800A: Figure 8B Target image page 800B is shown.
[0154] In some embodiments, the application management platform 110 may be Figure 8B The target image page 800B presents the target image's image content (image name and image) and image annotations (text annotations of the image). The application management platform 110 may also provide an annotation input box 825 (also known as an annotation display area) in the target image page 800B. Furthermore, the application management platform 110 may receive annotation information input by the user through natural language and update the image annotations of the target image.
[0155] In some embodiments, the application management platform 110 may also provide an automatic identification control 830 in the target image page 800B. Further, when the image annotation content of the target image is not empty, the application management platform 110 may respond to the triggering of the automatic identification control 830 and present the following information: Figure 8C As shown in the overlay reminder area 835. As an example, as shown in 8C, the overlay reminder area can present a reminder message, which can be a text content "OK to overwrite the existing marked content".
[0156] In some embodiments, further, the overlay reminder area 835 may provide a confirmation option 836 and a cancel option 837. The application management platform 110 may automatically generate annotation content for the target image in response to the triggering of the confirmation option 836. The application management platform 110 may also cancel the automatic generation of annotation content for the target image in response to the triggering of the confirmation option 837.
[0157] In some embodiments, when the image annotation content of the target image is empty, the application management platform 110 can automatically generate annotation content for the target image in response to triggering of the automatic recognition control 830 .
[0158] In some embodiments, the method of automatically generating annotation content for the target image may be to rely on a relevant image model to deeply understand the image to generate annotation content or to perform OCR (Optical Character Recognition) text recognition to extract text information in the image as annotation information.
[0159] In some embodiments, the application management platform 110 may also provide an add image control 840 in the target image page 800A. Further, the application management platform 110 may add a new image to the knowledge base in response to the triggering of the add image control 840. The specific image adding method can be referred to above. Figures 5A to 5G The image uploading method involved will not be described in detail here.
[0160] As mentioned above, the created knowledge base can be associated with an application or workflow. In some embodiments, the application management platform 110 can present a knowledge base selection area in the creation page of the target application or target workflow, and the knowledge base selection area indicates multiple data types. In response to the selection of a target type from the multiple data types, the application management platform 110 can present at least a knowledge base corresponding to the target data type in the knowledge base selection area. In response to receiving the selection of the presented knowledge base, the application management platform 110 can associate the selected knowledge base with the target application or target workflow.
[0161] Figure 9 An example of a creation page 900 for configuring a knowledge base in a third-party application according to some embodiments of the present disclosure is shown. The third-party application may be a target application or a target workflow. Figure 9 In the example, it is assumed that the application to which the knowledge base is to be configured is a digital assistant. For example, when developing a digital assistant application, it is expected to associate the digital assistant with a specific knowledge base to perform information retrieval from the knowledge base, thereby enabling better question-and-answer interaction with the user. The creation page 900 can be, for example, Figure 1 Provided by the application management platform 110 shown.
[0162] In some embodiments, the application management platform 110 may present Figure 9 The application management platform 110 may provide a knowledge base selection area 910 in the creation page 900. The knowledge base selection area 910 may provide options corresponding to multiple data types of the knowledge base, such as document options, table options, and image options. Figure 9On the creation page 900, the knowledge base selection area 910 may include a document option 915-1, a table option 915-2, and an image option 915-3 (individually or collectively referred to as data type options 915). The creator of the digital assistant can determine whether to associate the digital assistant with one or more knowledge bases as needed and select the corresponding type for knowledge base association.
[0163] For example, in response to the selection of a target type from among the multiple data types, the application management platform 110 may present at least one or more knowledge bases 120 that have been created and are associable under the target type in the knowledge base selection area 910. Figure 9 On the creation page 900 , the application management platform 110 may present the knowledge base 120 of document types in response to selection of the document option 915 - 1 among the plurality of data type options 915 .
[0164] In some embodiments, upon receiving a selection of a knowledge base 120 on the create page 900 , the application management platform 110 may associate the knowledge base 120 with the target application or target workflow. After the association is complete, the target application or target workflow determines whether to call the associated knowledge base as needed (e.g., based on received query information). If a call is determined to be necessary, the query information for the target application or target workflow can be processed by calling data from the associated knowledge base 120.
[0165] In some embodiments, the application management platform 110 may further provide a storage selection area and / or a skill configuration area on the creation page 900 to configure storage or corresponding skills for a target application or a target workflow.
[0166] Figure 10 A flowchart of an example process 1000 of adding table-type data according to some embodiments of the present disclosure is shown. The process 1000 of adding table-type data can be executed in the application management platform 110 as described above or in the application management platform 110 (hereinafter, the execution in the application management platform 110 is taken as an example, and the execution method in the application management platform 110 is the same as this, and will not be repeated here). Figure 1 To describe process 1000.
[0167] As shown, at block 1010 , the application management platform 110 may receive a request 1010 to add a table fragment.
[0168] In block 1015 , the application management platform 110 may receive a selected upload method, which may include local upload 1015 - 1 , API interface upload 1015 - 2 , and custom upload 1015 - 3 .
[0169] After selecting local upload 1015 - 1 , block 1020 - 1 may be executed. In block 1020 - 1 , the application management platform 110 receives a table file in a local file, such as a table file on a user's terminal device.
[0170] After selecting the API interface to upload 1015-2, block 1020-2 may be executed. In block 1020-2, the application management platform 110 may receive a table file associated with the API interface. The API interface here may be any application that can provide a table type file.
[0171] After selecting custom upload 1015 - 3 , block 1020 - 3 may be executed. In block 1020 - 3 , the application management platform 110 may receive the manually written table file.
[0172] After executing block 1020 - 1 or block 1020 - 2 , block 1025 is executed. In block 1025 , the application management platform 110 may verify whether the layouts of the tables are aligned, and align the tables if the layouts are not aligned.
[0173] After executing block 1025 , block 1030 is executed. In block 1030 , the application management platform 110 previews the table file and sets index setting information (eg, table header structure settings, indicating table header fields for indexing data items in the table) for the table file.
[0174] After executing block 1030 or block 1020 - 3 , block 1035 is executed. In block 1035 , the application management platform 110 may complete the addition of the form in response to the completion of uploading the form file.
[0175] In some embodiments, one or more types of index libraries can be constructed for the data imported into the target type of knowledge base. The processed multiple data items are respectively stored in multiple types of index libraries and are indexed by multiple types of data indexes. Pre-constructing multiple types of data indexes helps to provide diversified data retrieval methods in subsequent calls to the knowledge base. In some embodiments, for the knowledge base 120 of document type, at least two types of index libraries can be established for the data items imported therein. The first index library can be a full-text search engine based on dependent keywords (such as ES (Elasticsearch)). The second index library can be a vector-based text relevance query engine (such as Viking), in which the feature vectors corresponding to each segment (i.e., data item) of the document are used as the basis for relevance retrieval. The establishment of the index library can be, for example, in the data processing stage of knowledge base creation.
[0176] Figure 11 FIG. 1 shows an example of a page 1100 of a knowledge base application setting according to some embodiments of the present disclosure. The page 1100 may be configured by, for example, Figure 1 Provided by the application management platform 110 shown.
[0177] The application management platform 110 may receive an application setting request to the knowledge base 120 and present Figure 11 The application management platform 110 may provide a search strategy area 1101 on page 1100. The search strategy area 1101 may include a hybrid search option 1105-1, a semantic search option 1105-2, and a full-text search option 1105-3 (individually or collectively referred to as search options 1105). In response to selection of the search option 1105, the application management platform 110 may set the search strategy of the knowledge base 120 to the search strategy associated with the search option 1105.
[0178] If the semantic search option 1105-2 is enabled, then for the data in the knowledge base 120, a semantic search of the document data can be performed based on the feature vectors in the second index library. If the full-text search option 1105-3 is enabled, then for the data in the knowledge base 120, a full-text search can be performed on the document data by keywords based on the first index library. If the hybrid search option 1105-1 is enabled, then both semantic search and full-text search of the document data can be performed based on the first index library and the second index library. As an example, Figure 11 On page 1100 , the application management platform 110 may set the search strategy of the knowledge base 120 to a hybrid search strategy in response to selection of the hybrid search option 1105 - 1 .
[0179] In some embodiments, the application management platform 110 may provide a maximum recall number setting area 1110, a minimum match setting area 1115 and / or a recall method setting area 1120 on page 1100. Further, the application management platform 110 may receive the set maximum recall number (for example, the range may be 1-10) in the maximum recall number setting area 1110. The application management platform 110 may receive the set minimum match setting area 1115 (for example, the range may be 0.01-0.99). The application management platform 110 may receive the set recall method (i.e., the method of recalling data, such as automatic recall or recall on demand) in the recall method setting area 1120.
[0180] Figure 12 A flowchart of an example process 1200 of retrieving knowledge base data based on hybrid search according to some embodiments of the present disclosure is shown. The process 1200 of retrieving knowledge base data based on hybrid search can be executed in the application management platform 120 as described above. Figure 1 To describe process 1200.
[0181] Figure 12 In the example, assume that a knowledge base 120 of the document type is associated with a digital assistant 1205. In response to receiving a query for the knowledge base 120, the application management platform 120 can search for multiple groups of data items matching the query from index libraries of multiple types according to search algorithms corresponding to the multiple types; and select at least one data item from the multiple groups of data items as a response to the query based on the sorting results of the multiple groups of data items.
[0182] like Figure 12 As shown, the application management platform 120 can respond to the request of the digital assistant 1205 to obtain the data of the knowledge base 120, and obtain at least one data item 1220-1 (for example, top-K1 data items) and at least one data item 1220-2 (for example, top-K2 data items) that match the query from the knowledge base 120 based on the first index library 1215-1 and the second index library 1215-2, respectively, where K1 and K2 are positive integers greater than or equal to 1. The first index library 1215-1 can be a full-text search engine based on dependent keywords (such as ES (Elasticsearch)). The second index library 121 5-2 can be a vector-based text relevance query engine (such as Viking), in which the feature vectors corresponding to the various segments (i.e., data items) of the document in the index library are used as the basis for relevance retrieval. Afterwards, at least one data item 1220-1 and at least one data item 1220-2 can be reordered, and at least one filtered data item 1225 can be obtained based on the reordering result. For example, the first K data items of K1+K2 data items can be selected, where K is a positive integer greater than or equal to 1. In some embodiments, the sets of two data items given by the two index libraries can be reordered based on the RFF algorithm (Reciprocal Rank Fusion algorithm, which is an algorithm that merges multiple ranked lists into a single aggregated list). At least one filtered data item 1225 is returned to the digital assistant 1205 as a retrieval result of knowledge retrieval.
[0183] It should be understood that although Figure 11 and Figure 12 Two index libraries are used in the relevant description, but in fact there can be more different types of index libraries that rely on different retrieval schemes.
[0184] Figure 13A and 13BFlowcharts of example processes 1300A and 1300B for retrieving image type knowledge base data according to some embodiments of the present disclosure are shown. The processes 1300A and 1300B for retrieving image type knowledge base data can be executed in the application management platform 110 as described above. In this example, it is assumed that the knowledge base created is of the image type. Figure 1 To describe processes 1300A and 1300B.
[0185] like Figure 13A As shown, in box 1305, the application management platform 110 can receive a request from a digital assistant (or other applications such as workflow) to associate with an image type knowledge base, and associate the digital assistant with the image type knowledge base.
[0186] In block 1310 , the application management platform 110 may receive query information input by a user via a digital assistant.
[0187] At block 1315, the application management platform 110 may calculate the similarity between the query information and the annotation information of the images in the knowledge base 120, and match the images in the knowledge base 120 based on the calculated similarity. Since both the query information and the annotation information are in text form, the application management platform 110 may also use a semantic search, full-text search, or hybrid search strategy within the image annotation information to find annotation information that matches the query information, in accordance with a document-based knowledge base approach.
[0188] In block 1320 , the application management platform 110 may recall a preset number of images whose similarity meets a preset threshold and the annotation information corresponding to the images as recalled content.
[0189] At block 1325, the application management platform 110 may combine the recalled content (including the image and its corresponding annotation information) with the query information as a query result and output it to the digital assistant. For example, the process of generating the query result based on the recalled content and the query information may be implemented using an LLM (Large Language Model).
[0190] Figure 14 FIG14 is a flow chart showing an example process 1400 for information processing according to some embodiments of the present disclosure. The process 1400 may be implemented in the application management platform 110. Figure 1 To describe process 1400.
[0191] As shown in the figure, in box 1410, the application management platform 110 presents a configuration page for receiving configuration information of the knowledge base in response to receiving the creation request, and the configuration page includes: a first configuration area for receiving the configuration of the target type of the knowledge base from multiple data types, and a second configuration area for receiving the configuration of the target data source of the knowledge base.
[0192] In block 1420 , the application management platform 110 imports data of the target type from the target data source into the knowledge base in response to receiving the configuration of the target type and the target data source.
[0193] In block 1430 , in response to the data import being completed, the application management platform 110 presents an index setting page corresponding to the target type for receiving index setting information for the imported data.
[0194] In block 1440 , in response to receiving the index setting information, the application management platform 110 creates a knowledge base of the target type based on the index setting information.
[0195] In some embodiments, the second configuration area presents at least one type of supported data source, where the at least one type of data source includes at least one of the following: a local data source, an online data source, a database, and custom data.
[0196] In some embodiments, importing the target type of data from the target data source into the knowledge base includes: presenting a data input area in response to the target data source being the type of custom data; and importing input data received in the data input area into the knowledge base.
[0197] In some embodiments, the target type includes a document type, and presenting an index settings page that matches the target type includes presenting an index settings page corresponding to the document type for receiving segment indexing settings for the document, the segment indexing settings indicating at least one of: a segmentation rule, a segment length, and a segment pre-processing rule for the document, the document segments corresponding to data items for indexing. In some embodiments, the target type includes a table type, and presenting an index settings page that matches the target type includes presenting an index settings page corresponding to the table type for receiving header indexing settings for the table, the header indexing settings indicating header fields in the table for indexing data items. In some embodiments, the target type includes an image type, and presenting an index settings page that matches the target type includes presenting an index settings page corresponding to the image type for receiving annotation settings for the image, the flag settings indicating text annotations for indexing the image.
[0198] In some embodiments, the target type includes a document type, and the index settings page corresponding to the document type includes an entry for default segment index settings and a user-defined segment index setting. In some embodiments, the target type includes an image type, and the index settings page corresponding to the image type includes an entry for automatically generating annotation settings and a user-defined annotation setting.
[0199] In some embodiments, process 1400 also includes: in response to a knowledge base list viewing request, presenting a knowledge base list page, the knowledge base list page including multiple category viewing entries corresponding to each of the multiple data types; and in response to selection of a category viewing entry corresponding to a first data type among the multiple data types, presenting a knowledge base of the created first data type.
[0200] In some embodiments, process 1400 also includes: in response to a request to view the details of the knowledge base, presenting a details page of the knowledge base, the details page including an aggregated presentation of multiple processed data items, and also including at least one of the following: metadata of the knowledge base, a list of files imported into the knowledge base; index setting information corresponding to the knowledge base, the number of data items, a new data addition entry, a re-indexing trigger entry, or an update frequency setting entry.
[0201] In some embodiments, process 1400 also includes: in response to a trigger operation on the first data item in the details page, presenting an edit option or a delete option for the first data item; and in response to selection of the edit option, receiving editing input for the first data item in the edit mode of the first data item; and in response to selection of the delete option, deleting the first data item from the knowledge base.
[0202] In some embodiments, process 1400 further includes: in response to selection of a target file in the list of files, presenting an aggregate presentation of data items obtained after processing the target file in the detail page.
[0203] In some embodiments, process 1400 further includes: receiving a modification request for the knowledge base, the modification request indicating at least one of the following: modification of metadata of the knowledge base, modification of index setting information of the knowledge base, and addition of data to the knowledge base.
[0204] In some embodiments, the target type of the knowledge base is an image type, and presenting a detail page of the knowledge base includes presenting a list of images imported into the knowledge base and text annotations corresponding to one or more images on the detail page.
[0205] In some embodiments, process 1400 further includes: in response to a request to view the details of a target image in a knowledge base, presenting the target image. Alternatively or additionally, in some embodiments, process 1400 further includes: in response to receiving a trigger operation for automatic annotation generation, using an automatic annotation generation tool to generate a target text annotation corresponding to the target image. Alternatively or additionally, in some embodiments, process 1400 further includes, in response to the target image not having a corresponding text annotation, presenting the target text annotation in the annotation display area corresponding to the target image. Alternatively or additionally, in some embodiments, process 1400 further includes, in response to the target image having a corresponding previous text annotation, replacing the previous text annotation with the target text annotation in the annotation display area corresponding to the target image upon receiving user confirmation.
[0206] In some embodiments, process 1400 also includes: presenting a knowledge base selection area in a creation page of a target application or a target workflow, the knowledge base selection area indicating a plurality of data types; in response to a selection of a target type from the plurality of data types, presenting at least the knowledge base corresponding to the target type in the knowledge base selection area; and in response to receiving a selection of a knowledge base, associating the knowledge base with the target application or the target workflow.
[0207] In some embodiments, process 1400 further includes: in response to the knowledge base being associated with the target application or target workflow, causing the knowledge base to be called to determine processing of the query information based on query information of the target application or target workflow.
[0208] In some embodiments, creating the knowledge base of the target type includes: processing the imported data of the target type based on the index setting information, and the created knowledge base includes a plurality of data items that are indexable after the processing.
[0209] In some embodiments, for the target type of data, the plurality of data items are stored in multiple types of index repositories and indexed by multiple types of data indexes. Process 1400 further includes: in response to receiving a query against a knowledge base, searching the multiple types of index repositories for multiple groups of data items that match the query according to search algorithms corresponding to the multiple types; and selecting at least one data item from the multiple groups of data items as a response to the query based on a ranking result of the multiple groups of data items.
[0210] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 151 shows a schematic structural block diagram of an example apparatus 1500 for creating a virtual object according to certain embodiments of the present disclosure. Apparatus 1500 may be implemented as or included in electronic device 110. Each module / component in apparatus 1500 may be implemented by hardware, software, firmware, or any combination thereof.
[0211] like Figure 15 As shown, the device 1500 includes a presentation module 1510, which is configured to present a configuration page for receiving configuration information of a knowledge base in response to receiving a creation request, the configuration page including: a first configuration area for receiving a configuration of a target type of the knowledge base from a plurality of data types, and a second configuration area for receiving a configuration of a target data source of the knowledge base; an import module 1520, which is configured to import data of the target type from the target data source into the knowledge base in response to receiving the configuration of the target type and the target data source; a setting module 1530, which is configured to present an index setting page corresponding to the target type in response to completion of data import, for receiving index setting information for the imported data; a creation module 1540, which is configured to create a knowledge base of the target type based on the index setting information in response to receiving the index setting information.
[0212] In some embodiments, the second configuration area presents at least one type of supported data source, where the at least one type of data source includes at least one of the following: a local data source, an online data source, a database, and custom data.
[0213] In some embodiments, the import module 1520 is further configured to: present a data input area in response to the target data source being the type of custom data; and import the input data received in the data input area into the knowledge base.
[0214] In some embodiments, the target type includes a document type, and the presentation module 1510 is configured to present an index setting page corresponding to the document type, for receiving segment indexing settings for the document, the segment indexing settings indicating at least one of the following: a segmentation rule, a segment length, and a segment pre-processing rule for the document, the segments of the document corresponding to the data items for indexing. In some embodiments, the target type includes a table type, and the presentation module 1510 is configured to present an index setting page corresponding to the table type, for receiving a header indexing setting for the table, the header indexing setting indicating a header field in the table for indexing the data items. In some embodiments, the target type includes an image type, and the presentation module 1510 is configured to present an index setting page corresponding to the image type, for receiving a tag setting for the image, the flag setting indicating a text tag for indexing the image.
[0215] In some embodiments, the target type includes a document type, and the index settings page corresponding to the document type includes an entry for default segment index settings and a user-defined segment index setting. In some embodiments, the target type includes an image type, and the index settings page corresponding to the image type includes an entry for automatically generating annotation settings and a user-defined annotation setting.
[0216] In some embodiments, the device 1500 also includes: a list presentation module, configured to present a knowledge base list page in response to a knowledge base list viewing request, the knowledge base list page including multiple category viewing entries corresponding to each of the multiple data types; and a knowledge base viewing module, configured to present a created knowledge base of the first data type in response to a selection of a category viewing entry corresponding to a first data type among the multiple data types.
[0217] In some embodiments, the device 1500 also includes: a details presentation module, configured to present a details page of the knowledge base in response to a details viewing request for the knowledge base, the details page including an aggregated presentation of multiple processed data items, and also including at least one of the following: metadata of the knowledge base, a list of files imported into the knowledge base; index setting information corresponding to the knowledge base, the number of data items, a new data addition entry, a re-indexing trigger entry, or an update frequency setting entry.
[0218] In some embodiments, the device 1500 also includes: an option presentation module, configured to present an edit option or a delete option for the first data item in response to a trigger operation on the first data item in the details page; and an edit receiving module, configured to receive edit input for the first data item in the edit mode of the first data item in response to selection of the edit option; and a data item deletion module, configured to delete the first data item from the knowledge base in response to selection of the delete option.
[0219] In some embodiments, the device 1500 further includes an aggregate presentation module configured to present an aggregate presentation of data items obtained after processing the target file in the detail page in response to selection of the target file in the list of files.
[0220] In some embodiments, the device 1500 also includes a modification request receiving module, which is configured to: receive a modification request for the knowledge base, the modification request indicating at least one of the following: modification of the metadata of the knowledge base, modification of the index setting information of the knowledge base, and addition of data to the knowledge base.
[0221] In some embodiments, the target type of the knowledge base is an image type, and the presentation module 1510 is further configured to present a list of images imported into the knowledge base and text annotations corresponding to one or more images on the detail page.
[0222] In some embodiments, the device 1500 also includes: an image presentation module, configured to present the target image in response to a request for viewing the details of the target image in the knowledge base; an annotation generation module, configured to generate a target text annotation corresponding to the target image using an automatic annotation generation tool in response to receiving a trigger operation for automatic annotation generation; an annotation presentation module, configured to present the target text annotation in the annotation display area corresponding to the target image in response to the existence of a corresponding text annotation for the target image; and an annotation replacement module, configured to replace the previous text annotation with the target text annotation in the annotation display area corresponding to the target image upon receiving user confirmation in response to the existence of a corresponding previous text annotation for the target image.
[0223] In some embodiments, the device 1500 also includes: a knowledge base selection module, configured to present a knowledge base selection area in a creation page of a target application or a target workflow, the knowledge base selection area indicating multiple data types; a type selection module, configured to present at least the knowledge base corresponding to the target type in the knowledge base selection area in response to a selection of a target type among multiple data types; and a knowledge base association module, configured to associate the knowledge base with the target application or target workflow in response to receiving a selection of the knowledge base.
[0224] In some embodiments, the apparatus 1500 further includes a calling module configured to: in response to the knowledge base being associated with the target application or target workflow, based on query information of the target application or target workflow, cause the knowledge base to be called to determine processing of the query information.
[0225] In some embodiments, the creation module 1530 is further configured to: process the imported data of the target type based on the index setting information, and the created knowledge base includes a plurality of data items that are indexable after the processing.
[0226] In some embodiments, for the target type of data, the multiple data items are stored in multiple types of index repositories and indexed by multiple types of data indexes. Apparatus 1500 further includes a search module configured to, in response to receiving a query against a knowledge base, search the multiple types of index repositories for multiple groups of data items that match the query according to search algorithms corresponding to the multiple types; and a data item selection module configured to select at least one data item from the multiple groups of data items as a response to the query based on a ranking result of the multiple groups of data items.
[0227] Figure 16 1 shows a block diagram of an electronic device 1600 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 16The illustrated electronic device 1600 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 16 The electronic device 1600 shown can be used to implement Figure 1 application management platform 110 and application management platform 110.
[0228] like Figure 16 As shown, electronic device 1600 is in the form of a general electronic device. Components of electronic device 1600 may include, but are not limited to, one or more processors or processing units 1610, memory 1620, storage device 1630, one or more communication units 1640, one or more input devices 1650, and one or more output devices 1660. Processing unit 1610 may be a real or virtual processor and is capable of performing various processes according to programs stored in memory 1620. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to increase the parallel processing capabilities of electronic device 1600.
[0229] The electronic device 1600 typically includes a plurality of computer storage media. Such media can be any accessible media that is accessible to the electronic device 1600, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 1620 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 can be a removable or non-removable medium and can include a machine-readable medium, such as a flash drive, a disk, or any other medium that can be used to store information and / or data and can be accessed within the electronic device 1600.
[0230] The electronic device 1600 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 16 As shown in FIG, a magnetic disk drive for reading from or writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. Memory 1620 may include a computer program product 1625 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.
[0231] The communication unit 1640 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 1600 can be implemented as a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the electronic device 1600 can operate in a networked environment using a logical connection to one or more other servers, a network personal computer (PC), or another network node.
[0232] Input device 1650 may be one or more input devices, such as a mouse, keyboard, or trackball. Output device 1660 may be one or more output devices, such as a renderer, speaker, or printer. Electronic device 1600 may also communicate with one or more external devices (not shown) via communication unit 1640 as needed, such as a storage device, a renderer, or the like, with one or more devices that allow a user to interact with electronic device 1600, or with any device that allows electronic device 1600 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0233] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0234] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0235] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, such that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0236] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0237] The flow charts and block diagrams in the accompanying drawings have presented the possible architecture, functions and operations of the systems, methods and computer program products according to multiple implementations of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction comprises one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a special hardware-based system that performs the function or action of the specification, or can be implemented by a combination of special hardware and computer instructions.
[0238] While various implementations of the present disclosure have been described above, the foregoing description is intended to be illustrative, not exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is selected to best explain the principles of the implementations, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. An information processing method, comprising: In response to receiving the creation request, presenting a configuration page for receiving configuration information of the knowledge base, the configuration page including: a first configuration area for receiving a configuration of a target type of the knowledge base from a plurality of data types, and A second configuration area is used to receive configuration of a target data source of the knowledge base; In response to receiving the configuration of the target type and the target data source, importing data of the target type from the target data source into the knowledge base; In response to the data import being completed, presenting an index setting page corresponding to the target type for receiving index setting information for the imported data; and In response to receiving the index setting information, the knowledge base of the target type is created based on the index setting information. 2 . The method according to claim 1 , wherein the second configuration area presents at least one type of supported data source, the at least one type of data source comprising at least one of the following: a local data source, an online data source, a database, and custom data.
3. The method according to claim 2, wherein importing the target type of data from the target data source into the knowledge base comprises: In response to the target data source being the type of the custom data, presenting a data input area; as well as Input data received in the data input area is imported into the knowledge base.
4. The method according to claim 1, wherein The target type includes a document type, and presenting an index setting page matching the target type includes: Presenting an index setting page corresponding to the document type, for receiving segment index settings for the document, the segment index settings indicating at least one of the following: a segment rule, a segment length, and a segment pre-processing rule for the document, wherein the segments of the document correspond to data items for indexing; or, The target type includes a table type, and presenting an index setting page matching the target type includes: presenting an index setting page corresponding to the table type, for receiving a header index setting for the table, the header index setting indicating a header field in the table for indexing data items; or The target type includes an image type, and presenting an index setting page matching the target type includes presenting an index setting page corresponding to the image type for receiving an annotation setting for the image, the flag setting indicating a text annotation for indexing the image.
5. The method according to claim 1, wherein The target type includes a document type, and the index setting page corresponding to the document type includes input entries for default segment index settings and user-defined segment index settings; or The target type includes an image type, and the index setting page corresponding to the image type includes an automatic generation entry for annotation settings and an input entry for user-defined annotation settings.
6. The method according to claim 1, further comprising: In response to the knowledge base list viewing request, presenting a knowledge base list page, the knowledge base list page including a plurality of category viewing entries corresponding to each of the plurality of data types; as well as In response to selection of a classification view entry corresponding to a first data type among the plurality of data types, the created knowledge base of the first data type is presented.
7. The method according to claim 1, further comprising: In response to a request for viewing details of the knowledge base, a details page of the knowledge base is presented, wherein the details page includes an aggregate presentation of the processed multiple data items and further includes at least one of the following: metadata of the knowledge base, a list of files imported into the knowledge base; Index setting information corresponding to the knowledge base, the number of data items, New data addition entry, Re-indexing trigger entry, Entrance to set the update frequency.
8. The method according to claim 7, further comprising: In response to a triggering operation on a first data item in the detail page, presenting an edit option or a delete option for the first data item; as well as In response to selection of the edit option, receiving an edit input for the first data item in an edit mode for the first data item; and In response to selection of the delete option, the first data item is deleted from the knowledge base.
9. The method according to claim 7, further comprising: In response to selection of a target file in the file list, an aggregate presentation of data items processed from the target file is presented in the detail page.
10. The method according to claim 1, further comprising: A modification request for the knowledge base is received, the modification request indicating at least one of the following: Modification of metadata of said knowledge base, Modification of index setting information of the knowledge base, Additions to the knowledge base.
11. The method according to claim 7, wherein the target type of the knowledge base is an image type, and wherein presenting a detail page of the knowledge base comprises: A list of images imported into the knowledge base and text annotations corresponding to one or more images are presented on the detail page.
12. The method of claim 11, further comprising performing at least one of the following: In response to a request for viewing details of a target image in the knowledge base, presenting the target image; In response to receiving a trigger operation for automatic annotation generation, generating a target text annotation corresponding to the target image using an automatic annotation generation tool; In response to the target image not having a corresponding text annotation, presenting the target text annotation in an annotation display area corresponding to the target image; In response to the existence of a previous text annotation corresponding to the target image, the previous text annotation is replaced with the target text annotation in the annotation display area corresponding to the target image upon receiving user confirmation.
13. The method according to claim 1, further comprising: In a creation page of a target application or a target workflow, presenting a knowledge base selection area, wherein the knowledge base selection area indicates the plurality of data types; In response to selection of the target type from the plurality of data types, presenting at least the knowledge base corresponding to the target type in the knowledge base selection area; as well as In response to receiving a selection of the knowledge base, the knowledge base is associated with the target application or the target workflow.
14. The method according to claim 13, further comprising: In response to the knowledge base being associated with the target application or the target workflow, the knowledge base is called to determine processing of the query information based on query information of the target application or the target workflow.
15. The method of claim 1 , wherein creating the knowledge base of the target type comprises: The imported data of the target type is processed based on the index setting information, and the created knowledge base includes a plurality of data items that are indexable after the processing.
16. The method according to claim 15, wherein for the data of the target type, the plurality of data items are respectively stored in index repositories of multiple types and indexed by data indexes of multiple types, the method further comprising: In response to receiving a query targeting the knowledge base, searching for a plurality of groups of data items matching the query from the index libraries of the plurality of types respectively according to the search algorithms corresponding to the plurality of types; as well as Based on the ranking results of the plurality of groups of data items, at least one data item is selected from the plurality of groups of data items to be used as a response to the query.
17. An apparatus for information processing, comprising: a presentation module configured to, in response to receiving a creation request, present a configuration page for receiving configuration information of a knowledge base, the configuration page comprising: a first configuration area for receiving configuration of a target type of the knowledge base from a plurality of data types, and a second configuration area for receiving configuration of a target data source of the knowledge base; an import module configured to import data of the target type from the target data source into the knowledge base in response to receiving configuration of the target type and the target data source; a setting module configured to, in response to completion of the data import, present an index setting page corresponding to the target type, for receiving index setting information for the imported data; A creating module is configured to create the knowledge base of the target type based on the index setting information in response to receiving the index setting information.
18. An electronic device comprising: at least one processing unit; as well as At least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 16 when executed by the at least one processing unit.
19. A computer-readable storage medium having a computer program stored thereon, wherein the computer program is executable by a processor to implement the method according to any one of claims 1 to 16.
20. A computer program product tangibly stored in a computer storage medium and comprising computer executable instructions which, when executed by a device, cause the device to perform the method according to any one of claims 1 to 16.
Citation Information
Cited By
Information processing method and apparatus, device, and storage medium
WO2025200593A1