Interactive data management system for Chinese text vectorization model based on AI PaaS platform
By building an interactive data management system for the Chinese text vectorization model on the AI PaaS platform, the problem of the missing text vectorization model on the AI PaaS platform is solved, and efficient management and security improvement of text data are achieved.
Patent Information
- Application Number
- CN202410070601.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-17
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-01-17
AI Technical Summary
In the existing technology, the text vectorization model technology is not built into the AI PaaS platform and an interactive data management system is built, so the vectorized text data cannot be effectively managed.
Based on the AI PaaS platform, build an interactive data management system for the Chinese text vectorization model, including the AI PaaS platform module, text vectorization module and interactive data management module. Through the debugging unit, function integration unit, data transmission unit, data storage unit, vocabulary Table unit, word segmentation unit, vectorization unit, data search unit and data adjustment unit realize text vectorization and management functions.
It achieves efficient management of text data on the AI PaaS platform, reduces deployment and operating costs, and improves user convenience and data privacy and security.
Smart Images

Figure CN117891918B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent office technology, and specifically to an interactive data management system of a Chinese text vectorization model based on an AI PaaS platform. Background Art
[0002] AI PaaS (Artificial Intelligence Platform as a Service) is a cloud computing service model that provides a range of tools and services for building, training, and deploying artificial intelligence models. The AI PaaS platform is designed to simplify the development process of artificial intelligence applications, enabling developers to more easily utilize advanced machine learning and deep learning technologies.
[0003] Text vectorization is the process of converting text data into numerical vectors so that computers can better understand and process text information. The goal of the text vectorization model is to map the semantic information in the text into a high-dimensional vector space for machine learning and natural language processing tasks.
[0004] Among the existing technologies, there is no technology that can build text vectorization model technology in the AI PaaS platform and construct an interactive data management system.
[0005] In view of this, the present invention proposes an interactive data management system for a Chinese text vectorization model based on an AI PaaS platform. Summary of the invention
[0006] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.
[0007] In view of the above-mentioned problems, the present invention is proposed.
[0008] Therefore, the technical problem solved by the present invention is: based on the AI PaaS platform, a technology for building a text vectorization model and managing the vectorized text data.
[0009] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0010] An interactive data management system for a Chinese text vectorization model based on an AI PaaS platform includes an AI PaaS platform module, a text vectorization module, and an interactive data management module; the AI PaaS platform module includes a debugging unit, a function integration unit, a data transmission unit, and a data storage unit; the text vectorization module includes a vocabulary unit, a word segmentation unit, and a vectorization unit; the interactive data management module includes a data search unit and a data adjustment unit.
[0011] Preferably, the debugging unit is used to create a visual interface, allocate the acquired AI PaaS platform performance, and display the performance indicators of the AI PaaS platform in real time through the visual interface;
[0012] The function integration unit is used to integrate the required function model into the AI PaaS platform; the created interactive data management system is imported into the AI PaaS platform through the function integration unit;
[0013] The data transmission unit is used to receive a request instruction sent by the user end to the AI PaaS platform and transmit feedback data sent by the AI PaaS platform to the user end;
[0014] The data storage unit is used to store vectorized text data transmitted by users to the AI PaaS platform, request instructions sent, and log data generated when the associated functions of the AI PaaS platform are working.
[0015] Preferably, the vocabulary unit is used to construct a vector table of Chinese vocabulary; generate unique corresponding vector values for the Chinese vocabulary to be stored, and integrate all vocabulary vector values into a vocabulary; the vocabulary table V is represented as: V = {W1, W2, ..., W n};
[0016] The word segmentation unit is to segment the input text into words; the word segmentation is to divide the input text into characters and words, and convert the words into data form according to the vector value of the vocabulary table. If the input text is a character, it is represented as: T fi =[C1, C2, ..., C n ]; if the input text is a word, it is represented as: T ci =[Z1,Z2,...,Z n ]; Increase the vector space dimension for each word and vocabulary vector value to represent the position of characters and vocabulary in the text.
[0017] Preferably, the vectorization unit is used to vectorize and store text. When a new text is input, an initial identification vector S is generated; when the text input is completed, an end identification vector E is generated. The storage vector data of a single text is represented as: i=[S,T fi , T ci , E];
[0018] The initial identification vector S stores the name information of the vectorized text, the storage location information of the vectorized text and the time information when the vectorized text starts to be stored; the end identification vector E stores the time information when the vectorized text ends to be stored, the space size occupancy information of the vectorized text and the statistical information on the number of characters and words in the vectorized text.
[0019] Preferably, the data search unit adopts a search algorithm for searching the stored vectorized text; the search algorithm includes a vocabulary search algorithm and a sentence search algorithm;
[0020] The steps of constructing the vocabulary search algorithm are as follows:
[0021] For vectorized text data, calculate the frequency of each word in each text and construct a word-text matrix: Matrix(X i , t j ), where t j Represents the vocabulary in the vectorized text X i The frequency of occurrence in
[0022] For each vocabulary t j , create a vocabulary containing t i The text list in(t j ), expressed as: in(t j )={X i …}, represented by vocabulary t i appears in the text in the text list;
[0023] For each text X i , use the TF-IDF method to calculate the text weight:
[0024] TF-IDF(t j , d i )=TF(t j , X i )×IDF(t j )
[0025] Among them, TF(t j , X i ) represents vocabulary t j In Text X i The word frequency in IDF(t j ) represents the inverse text frequency; inverse text IDF(t j ) is calculated as:
[0026]
[0027] Among them, N is the total number of texts, n is the number of words contained in t j The number of texts;
[0028] The query term t j , find the word t through the inverted index j The text list is sorted and output according to the text weight.
[0029] Preferably, the constructed statement search algorithm steps are as follows:
[0030] Design multiple hash functions to map text vectors into different hash buckets through multiple hash functions;
[0031] For the input query statement, the input statement is vectorized according to the vocabulary data to generate a query vector;
[0032] For the query vector, use the constructed hash function to map the query vector to the corresponding hash bucket;
[0033] Find similar text vectors in the hash bucket mapped to the query vector hash value;
[0034] Calculate the distance between each similar text vector and the query vector;
[0035] Select the text vector closest to the value for output.
[0036] Preferably, the data adjustment unit includes adjusting the stored text content within the scope of the user's authority based on the user's identity and authority;
[0037] The adjustment includes modifying and deleting the stored text content, and generating new vectorized text data according to the new text content after the user modifies and deletes the text content;
[0038] When a user modifies or deletes text data stored by himself, a log file of the modified or deleted text data is generated and stored in the data storage unit of the AI PaaS platform.
[0039] A method for an interactive data management system of a Chinese text vectorization model based on an AI PaaS platform, the method comprising:
[0040] Debug the AI PaaS platform, classify the performance of the AI PaaS platform, display the performance indicators of the AI PaaS platform, and integrate interactive data management functions into the AI PaaS platform;
[0041] Build a vocabulary table and vectorize and store the text information to be stored according to the vocabulary table;
[0042] Build interactive data management functions to allow users to search and delete text data stored by themselves.
[0043] A computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the Elasticsearch text vectorization search method based on the AIPaaS platform when executing the computer program.
[0044] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the Elasticsearch text vectorization search method based on the AIPaaS platform.
[0045] Beneficial effects of the present invention: The present invention is based on the AI PaaS platform, takes the AI PaaS platform as a base, and develops an interactive data management system for a text vectorization model, which can allow multiple users to manage text data at the same time.
[0046] Based on the cloud service characteristics of the AI PaaS platform, the present invention greatly reduces the deployment cost and operating cost of such systems. Through self-built management algorithms, it optimizes the interactive functions of text data management, improves the convenience of users in managing their own stored text data, and improves the privacy and security of users' storage and access to text data through corresponding user authority and data security function settings. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:
[0048] Figure 1 This is a structural diagram of the interactive data management system for the Chinese text vectorization model based on the AI PaaS platform;
[0049] Figure 2 It is a flowchart of the interactive data management method of the text vectorization model based on the AI PaaS platform;
[0050] Figure 3 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application;
[0051] Figure 4 It is a schematic diagram of the structure of a computer-readable storage medium provided by an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to make the above-mentioned purposes, features and advantages of the present invention more understandable, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0053] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0054] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0055] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.
[0056] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0057] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0058] Example 1
[0059] Reference Figure 1The first embodiment of the present invention provides an interactive data management system for a Chinese text vectorization model based on an AI PaaS platform.
[0060] Specifically, the system includes an AI PaaS platform module, a text vectorization module and an interactive data management module.
[0061] The AI PaaS platform module includes a debugging unit, a function integration unit, a data transmission unit and a data storage unit; the AI PaaS platform module is used to debug the AI PaaS platform, divide the performance of the AI PaaS platform, display the performance indicators of the AI PaaS platform, and integrate interactive data management functions in the AI PaaS platform.
[0062] The text vectorization module includes a vocabulary unit, a word segmentation unit and a vectorization unit; the text vectorization module is used to construct a vocabulary and vectorize and store the text information to be stored according to the vocabulary.
[0063] The interactive data management module includes a data search unit and a data adjustment unit; the interactive data management module is used to construct an interactive data management function, and the user searches and deletes the text data stored by the user.
[0064] The debugging unit is used to create a visual interface, allocate the acquired AI PaaS platform performance, and display the performance indicators of the AI PaaS platform in real time through the visual interface.
[0065] The functional integration unit is used to integrate the required functional models into the AI PaaS platform; the created interactive data management system is imported into the AI PaaS platform through the functional integration unit. The functional integration unit can also be used to integrate other functions and can be used to expand the functions of the constructed AI PaaS platform module.
[0066] Through the functional integration unit, trained models and developed systems can be deployed in the AI PaaS platform.
[0067] The data transmission unit is used to receive request instructions sent by the user end to the AI PaaS platform and transmit feedback data sent by the AI PaaS platform to the user end.
[0068] The transmission unit encodes and decodes the data to be transmitted, supports different transmission protocols, selects the corresponding transmission protocol based on actual communication requirements, and encrypts the transmitted data for transmission.
[0069] The data storage unit is used to store vectorized text data transmitted by users to the AI PaaS platform, request instructions sent, and log data generated when the associated functions of the AI PaaS platform are working.
[0070] The data storage unit is a database, and the performance of the database is configured according to actual needs.
[0071] The vocabulary unit is used to construct a vector table of Chinese vocabulary; generate unique corresponding vector values for the Chinese vocabulary to be stored, and integrate all vocabulary vector values into a vocabulary table; the vocabulary table V is represented as: V = {W1, W2, ..., W n}.
[0072] The vocabulary is pre-generated according to the range of text data to be stored. When a word outside the range appears, a vector is immediately generated for the word outside the range and the word is included in the vocabulary.
[0073] The word segmentation unit is to segment the input text into words; the word segmentation is to divide the input text into characters and words, and convert the words into data form according to the vector value of the vocabulary table. If the input text is a character, it is represented as: T fi =[C1,C2,...,C n ]; if the input text is a word, it is represented as: T ci =[Z1, Z2, ..., Z n ]; Increase the vector space dimension for each word and vocabulary vector value to represent the position of characters and vocabulary in the text.
[0074] The vectorization unit is used to vectorize and store text. When a new text is input, an initial identification vector S is generated; when the text input is completed, an end identification vector E is generated. The storage vector data of a single text is represented as: i =[S,T fi , T ci , E].
[0075] The initial identification vector S stores the name information of the vectorized text, the storage location information of the vectorized text and the time information when the vectorized text starts to be stored; the end identification vector E stores the time information when the vectorized text ends to be stored, the space size occupancy information of the vectorized text and the statistical information on the number of characters and words in the vectorized text.
[0076] The data search unit adopts a search algorithm for searching the stored vectorized text; the search algorithm includes a vocabulary search algorithm and a sentence search algorithm.
[0077] The steps of constructing the vocabulary search algorithm are as follows:
[0078] For vectorized text data, calculate the frequency of each word in each text and construct a word-text matrix: Matrix(X i , tj ), where t j Represents the vocabulary in the vectorized text X i The frequency of occurrence in
[0079] For each vocabulary t j , create a vocabulary containing t i The text list in(t j ), expressed as: in(t j )={X i …}, represented by vocabulary t j appears in the text in the text list;
[0080] For each text X i , use the TF-IDF method to calculate the text weight:
[0081] TF-IDF(t j , d i )=TF(t j , X i )×IDF(t j )
[0082] Among them, TF(t j , X i ) represents vocabulary t j In Text X i The word frequency in IDF(t j ) represents the inverse text frequency;
[0083] Inverse text IDF(t j ) is calculated as:
[0084]
[0085] Among them, N is the total number of texts, n is the number of words contained in t j The number of texts;
[0086] The query term t j , find the word t through the inverted index j The text list is sorted and output according to the text weight.
[0087] The steps of the constructed statement search algorithm are as follows:
[0088] Design multiple hash functions to map text vectors into different hash buckets through multiple hash functions;
[0089] For the input query statement, the input statement is vectorized according to the vocabulary data to generate a query vector;
[0090] For the query vector, use the constructed hash function to map the query vector to the corresponding hash bucket;
[0091] Find similar text vectors in the hash bucket mapped to the query vector hash value;
[0092] Calculate the distance between each similar text vector and the query vector;
[0093] Select the text vector closest to the value for output.
[0094] The data adjustment unit includes adjusting the stored text content within the scope of the user's authority based on the user's identity and authority.
[0095] The adjustment includes modifying and deleting the stored text content, and generating new vectorized text data according to the new text content after the user modifies and deletes the text content.
[0096] When a user modifies or deletes text data stored by himself, a log file of the modified or deleted text data is generated and stored in the data storage unit of the AI PaaS platform.
[0097] Example 2
[0098] The second embodiment of the present invention provides an interactive data management method for a text vectorization model based on an AI PaaS platform.
[0099] S1: Debug the AI PaaS platform, classify the performance of the AI PaaS platform, display the performance indicators of the AI PaaS platform, and integrate interactive data management functions in the AI PaaS platform.
[0100] S101: Create a visualization interface, allocate the obtained AI PaaS platform performance, and display the performance indicators of the AI PaaS platform in real time through the visualization interface.
[0101] S102: Integrate the required functional models on the AI PaaS platform; import the created interactive data management system into the AI PaaS platform through the functional integration unit.
[0102] S103: receiving a request instruction sent by the user end to the AI PaaS platform and transmitting feedback data sent by the AI PaaS platform to the user end.
[0103] S104: Store the vectorized text data transmitted by the user to the AI PaaS platform, the request instructions sent, and the log data generated when the AIPaaS platform-related functions work.
[0104] S2: Build a vocabulary table and vectorize and store the text information to be stored according to the vocabulary table.
[0105] S201: construct a vector table of Chinese vocabulary; generate unique corresponding vector values for the Chinese vocabulary to be stored, and integrate all vocabulary vector values into a vocabulary table.
[0106] S202: Segment the input text into characters and words, and convert the words into data format according to the vector values of the vocabulary table.
[0107] S203: vectorize and store the text. When new text is input, an initial identification vector S is generated; when the text input is completed, an end identification vector E is generated.
[0108] S3: Build interactive data management functions to allow users to search and delete text data stored by themselves.
[0109] S301: Using a search algorithm to search for stored text content.
[0110] S302: modifying and deleting the stored text content, and generating new vectorized text data according to the new text content after the user modifies and deletes the text content.
[0111] Example 3
[0112] Figure 3 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 3 As shown, according to another aspect of the present application, an electronic device 500 is also provided. The electronic device 500 may include one or more processors and one or more memories. The memories store computer readable codes, and when the computer readable codes are executed by one or more processors, the intelligent manufacturing decision-making method driven by multi-source heterogeneous data as described above may be executed.
[0113] The method or system according to the embodiment of the present application can also be used by Figure 3 The electronic device architecture shown in FIG. Figure 3 As shown, the electronic device 500 may include a bus 501, one or more CPUs 502, a read-only memory (ROM) 503, a random access memory (RAM) 504, a communication port 505 connected to a network, an input / output component 506, a hard disk 507, etc. The storage device in the electronic device 500, such as ROM 503 or hard disk 507, can store the multi-source heterogeneous data-driven intelligent manufacturing decision-making method provided in the present application. The multi-source heterogeneous data-driven intelligent manufacturing decision-making method includes: debugging the AI PaaS platform, dividing the performance of the AI PaaS platform, displaying the performance indicators of the AI PaaS platform, and integrating the interactive data management function in the AI PaaS platform; constructing a vocabulary, and vectorizing and storing the text information to be stored according to the vocabulary;
[0114] Constructing interactive data management function, users can search and delete text data stored by themselves. Further, electronic device 500 can also include user interface 508. Of course, Figure 3 The architecture shown is only exemplary and can be omitted according to actual needs when implementing different devices. Figure 3 One or more components of an electronic device are shown.
[0115] Example 4
[0116] Figure 4 Schematic diagram of a computer-readable storage medium structure provided by an embodiment of the present application. Figure 4 As shown, a computer-readable storage medium 600 according to an embodiment of the present application is shown. Computer-readable instructions are stored on the computer-readable storage medium 600. When the computer-readable instructions are executed by the processor, the multi-source heterogeneous data-driven intelligent manufacturing decision-making method according to the embodiment of the present application described with reference to the above figures can be executed. The storage medium 600 includes, but is not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.
[0117] In addition, according to the implementation of the present application, the process described in the above reference flowchart can be implemented as a computer software program. For example, the present application provides a non-transitory machine-readable storage medium, which stores machine-readable instructions, and the machine-readable instructions can be executed by a processor to execute instructions corresponding to the method steps provided in the present application, such as: debugging the AI PaaS platform, dividing the performance of the AI PaaS platform, displaying the performance indicators of the AI PaaS platform, integrating interactive data management functions in the AI PaaS platform; building a vocabulary, and vectorizing and storing the text information to be stored according to the vocabulary; building an interactive data management function, and users search and delete their own stored text data.
[0118] The methods, apparatuses, and devices of the present application may be implemented in many ways. For example, the methods, apparatuses, and devices of the present application may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present application are not limited to the order specifically described above unless otherwise specified. In addition, in some embodiments, the present application may also be implemented as programs recorded in a recording medium, which include machine-readable instructions for implementing the method according to the present application. Therefore, the present application also covers recording media storing programs for executing the method according to the present application.
[0119] In addition, the parts of the above-mentioned technical solutions provided in the embodiments of the present application that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive redundancy.
[0120] The specific implementation modes as described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation mode of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An interactive data management system for Chinese text vectorization model based on AI PaaS platform, characterized by: Including AI PaaS platform module, text vectorization module and interactive data management module; The AI PaaS platform module includes a debugging unit, a function integration unit, a data transmission unit, and a data storage unit; the AI PaaS platform module is used to debug the AI PaaS platform, divide the performance of the AI PaaS platform, display the performance indicators of the AI PaaS platform, and integrate interactive data management functions in the AI PaaS platform; The text vectorization module includes a vocabulary unit, a word segmentation unit and a vectorization unit; the text vectorization module is used to construct a vocabulary, divide the input text vocabulary, and vectorize and store the text information to be stored according to the vocabulary; The interactive data management module includes a data search unit and a data adjustment unit; the interactive data management module is used to construct an interactive data management function, and the user searches and deletes the text data stored by the user; The debugging unit is used to create a visual interface, allocate the acquired AI PaaS platform performance, and display the performance indicators of the AI PaaS platform in real time through the visual interface; The function integration unit is used to integrate the required function model into the AI PaaS platform; the created interactive data management system is imported into the AI PaaS platform through the function integration unit; The data transmission unit is used to receive a request instruction sent by the user end to the AI PaaS platform and transmit feedback data sent by the AI PaaS platform to the user end; The data storage unit is used to store vectorized text data transmitted by the user to the AI PaaS platform, request instructions sent, and log data generated when the associated functions of the AI PaaS platform work; The vocabulary unit is used to construct a vector table of Chinese vocabulary; generate unique corresponding vector values for the Chinese vocabulary to be stored, and integrate all vocabulary vector values into a vocabulary; the vocabulary table V is expressed as: ; The word segmentation unit is to segment the input text; the word segmentation is to divide the input text into characters and words, and convert the words into data form according to the vector value of the vocabulary table. If the input text is a character, it is expressed as: ; If the input text is a vocabulary, it is represented as: ; Increase the vector space dimension for each word and vocabulary vector value to represent the position of the characters and vocabulary in the text; The vectorization unit is used to vectorize and store text. When a new text is input, an initial identification vector S is generated; when the text input is completed, an end identification vector E is generated. The storage vector data of a single text is represented as: ; The initial identification vector S stores the name information of the vectorized text, the storage location information of the vectorized text, and the time information when the vectorized text starts to be stored; the end identification vector E stores the time information when the vectorized text ends to be stored, the space size occupied by the vectorized text, and the number statistics of the characters and words in the vectorized text; The data search unit uses a search algorithm to search for stored vectorized text; the search algorithm includes a vocabulary search algorithm and a sentence search algorithm; The steps of constructing the vocabulary search algorithm are as follows: For vectorized text data, calculate the frequency of each word in each text and build a word-text matrix: ,in Representing vocabulary in vectorized text The frequency of occurrence in For each word , create a List of text , expressed as: , represented as a vocabulary appears in the text in the text list; For each text , use the TF-IDF method to calculate the text weight: ; in, Words to express In text The word frequency in represents the inverse text frequency; Reverse Text The calculation formula is: ; Among them, N is the total number of texts, n is the number of words contained The number of texts; The vocabulary of the query , find the words contained in the inverted index The text list is sorted and output according to the text weight; The steps of the constructed statement search algorithm are as follows: Design multiple hash functions to map text vectors into different hash buckets through multiple hash functions; For the input query statement, the input statement is vectorized according to the vocabulary data to generate a query vector; For the query vector, use the constructed hash function to map the query vector to the corresponding hash bucket; Find similar text vectors in the hash bucket mapped to the query vector hash value; Calculate the distance between each similar text vector and the query vector; Select the text vector closest to the value for output.
2. The interactive data management system of the Chinese text vectorization model based on the AI PaaS platform according to claim 1 is characterized in that: The data adjustment unit includes adjusting the stored text content within the scope of the user's authority based on the user's identity and authority; The adjustment includes modifying and deleting the stored text content, and generating new vectorized text data according to the new text content after the user modifies and deletes the text content; When a user modifies or deletes text data stored by himself, a log file of the modified or deleted text data is generated and stored in the data storage unit of the AI PaaS platform.
3. A method for an interactive data management system of a Chinese text vectorization model based on an AI PaaS platform according to any one of claims 1 and 2, characterized in that: The method comprises, Debug the AI PaaS platform, classify the performance of the AI PaaS platform, display the performance indicators of the AI PaaS platform, and integrate interactive data management functions into the AI PaaS platform; Build a vocabulary table and vectorize and store the text information to be stored according to the vocabulary table; Build interactive data management functions to allow users to search and delete text data stored by themselves.
4. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method described in claim 3 are implemented.
5. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program implements the steps of the method according to claim 3 when executed by a processor.
