Intelligent fan decision-making method and system for generating large model based on retrieval enhancement

Through the method of generating large models based on search enhancement, the challenges of data processing and real-time monitoring in fan operation and maintenance are solved, the accuracy and efficiency of the operation and maintenance system are improved, and the wind power industry needs for efficient and precise operation and maintenance are met.

CN118967113APending Publication Date: 2024-11-15HUNAN UNIV OF SCI & TECH

Patent Information

Application Number
CN202411448221.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-17
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

Traditional fan operation and maintenance methods rely on experience and regular inspections, making it difficult to process a large amount of fan data and real-time monitoring. The existing intelligent operation and maintenance Q&A system has low answer accuracy when there is insufficient training data, and the knowledge retrieval speed is slow, which cannot meet real-time needs.

Method used

Using a method of generating large models based on search enhancement, through vector processing and high-performance vector database, combined with prompt word engineering and RAG data retrieval module, a unified large model platform is built, and multi-source data for fan operation and maintenance are collected and preprocessed, and user query is optimized. Information, candidate answers are generated using LSH similarity search and cosine similarity methods, and processed by a unified large model.

Benefits of technology

It improves the response accuracy and reliability of the fan operation and maintenance system, significantly improves the efficiency of knowledge retrieval, meets the wind power industry's needs for efficient and precise operation and maintenance, and provides real-time response capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118967113A_ABST
    Figure CN118967113A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an intelligent fan decision-making method and system for generating a large model based on retrieval enhancement. The method is applied to the technical field of fan maintenance, and comprises the steps of collecting fan operation and maintenance multi-source data, performing data preprocessing to obtain preprocessed multi-source data, and storing the preprocessed multi-source data to obtain a vector database; collecting user query information, and performing cue word processing on the user query information to obtain optimized user query information; based on the optimized user query information, retrieving a vector database by adopting an LSH similarity retrieval method to generate candidate answers; and constructing a unified large model, and inputting the candidate answers into the unified large model for processing to obtain answers or operation and maintenance suggestions required by the user. In this way, the knowledge retrieval process is optimized through the RAG technology, large model illusion is reduced, it is ensured that the generated content is based on data, the response accuracy and reliability of the fan operation and maintenance system are improved, the retrieval data size is reduced, the search space is reduced, and the RAG retrieval efficiency is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of wind turbine maintenance, and in particular to a method and system for intelligent decision-making of wind turbines based on retrieval-enhanced generation of a large model. Background Art

[0002] As a key component of the wind power industry, the importance of wind turbine intelligent operation and maintenance has become increasingly prominent with the continuous advancement of wind power technology and the increasing scale of wind farms. With the rapid development of wind power technology, the design of wind turbines has become more and more complex, and the operating environment has become more and more diverse, making the operation and maintenance of wind turbines more complex and challenging.

[0003] Traditional wind turbine operation and maintenance methods rely on the experience of operation and maintenance personnel and regular inspections. This method has obvious limitations in processing large amounts of wind turbine data and real-time monitoring, and is difficult to adapt to the wind power industry's needs for efficient and accurate operation and maintenance. Existing intelligent operation and maintenance question-and-answer systems often make up answers when there is a lack of sufficient training data, resulting in low accuracy of answers, further limiting the practicality of the system. At the same time, the knowledge retrieval speed is slow and cannot meet the real-time needs of users, making the response efficiency during the operation and maintenance process insufficient.

[0004] Therefore, it is of great significance to develop an efficient, accurate and real-time responsive wind turbine operation and maintenance solution. Summary of the invention

[0005] The present application provides a method and system for intelligent decision-making of wind turbines based on retrieval-enhanced generation of large models. Through advanced vectorization processing and high-performance vector database, combined with prompt word engineering and RAG data retrieval module, and a unified large model platform, it solves the technical problems of low answer accuracy, slow knowledge retrieval speed and insufficient response efficiency of existing methods.

[0006] According to a first aspect of the present application, a wind turbine intelligent decision-making method based on retrieval enhancement generation of a large model is provided, comprising the following steps: Collect multi-source data related to wind turbine operation and maintenance, perform data preprocessing, obtain and store the preprocessed multi-source data, and obtain a vector database; Collecting user query information, and performing prompt word optimization processing on the user query information to obtain optimized user query information; Based on the optimized user query information, the vector database is searched using an LSH similarity search method to generate candidate answers; A unified large model is constructed, and the candidate answers are input into the unified large model for processing to obtain the answers or operation and maintenance suggestions required by the user.

[0007] According to the above aspects and any possible implementation, an implementation is further provided, wherein the process of collecting multi-source data related to wind turbine operation and maintenance and performing data preprocessing to obtain preprocessed multi-source data is as follows: Crawling data to obtain multi-source data on wind turbine operation and maintenance, and then performing data cleaning and sharding to obtain processed sharded data; The sliced ​​data is cleaned and processed for the second time, and the wind turbine operation and maintenance text data is vectorized based on the pre-trained BGE-M3 model to generate a high-dimensional vector that can represent the text semantic information; a suitable high-performance vector database is selected to store the generated high-dimensional vector to construct a vector database.

[0008] According to the above aspects and any possible implementation, an implementation is further provided, wherein the process of collecting wind turbine operation and maintenance multi-source data and performing data cleaning and slicing to obtain processed slicing data is as follows: Using web crawler technology to crawl the full amount of wind turbine operation and maintenance documents, extracting text data from the full amount of documents and performing normalization processing to remove noise information to obtain processed text data; The processed text data is segmented and tagged with parts of speech using a natural language processing method, and fixed-size segmentation, custom segmentation, document-specific segmentation, and semantic segmentation are performed in sequence according to custom segmentation rules to generate segmented data suitable for retrieval and indexing.

[0009] According to the above aspects and any possible implementation, an implementation is further provided, wherein the multi-source data includes wind turbine maintenance reports, wind power literature, public account articles, fault logs, operating manuals, and technical specifications.

[0010] According to the above aspects and any possible implementation manner, an implementation manner is further provided, wherein the process of collecting user query information and performing prompt word optimization processing on the user query information to obtain the optimized user query information is: Constructing a prompt template according to the wind turbine operation and maintenance requirements, processing the user query information based on the prompt template and performing query rewriting processing to obtain the processed user query information; According to the historical user query information, the user query pattern and the common questions are analyzed, and the processed user input query information is processed and background injected according to the user query pattern and the common questions to obtain the optimized user query information.

[0011] According to the above aspects and any possible implementation, an implementation is further provided, wherein the process of searching the vector database based on the optimized query information using the LSH similarity retrieval method to generate candidate answers is as follows: Construct hash functions and corresponding hash bucket structures; Acquire a high-dimensional vector from the vector database, input the high-dimensional vector into the hash function for processing to obtain a hash value, and map the high-dimensional vector to different hash bucket structures based on the hash value; Performing word segmentation processing on the optimized user query information and vectorizing it based on the BGE-M3 model to generate a query vector; Inputting the query vector into the hash function for processing to obtain a corresponding query hash value, and mapping the query vector to different hash bucket structures according to the query hash value; The similarity between the candidate vectors and the query vector in different hash bucket structures is calculated to obtain a candidate set, and Top-K similar vectors are selected from the candidate set to generate candidate answers.

[0012] According to the above aspects and any possible implementation, an implementation is further provided, characterized in that the similarity calculation method is a cosine similarity method, specifically: (1); in: and There are two dimensional vector, represents the dot product of two vectors, and Represents vectors and The modulus, i.e. the length of the vector, is the cosine similarity value.

[0013] According to the above aspects and any possible implementation, an implementation is further provided, wherein the process of constructing a unified large model, inputting the candidate answers into the unified large model for processing, and obtaining the answers or operation and maintenance suggestions required by the user is as follows: Integrate multiple pre-trained large models to build a unified large model, pre-process the candidate answers, and input the processed data into the unified large model for processing to obtain answers or operation and maintenance suggestions for user queries; The answers or operation and maintenance suggestions are integrated and optimized to obtain accurate user answers or operation and maintenance suggestions.

[0014] According to a second aspect of the present application, there is provided a wind turbine intelligent decision-making system based on retrieval enhancement generation of a large model, comprising a data preparation module, a prompt word engineering module, a data retrieval module and a query result output module; The data preparation module is used to collect multi-source data related to wind turbine operation and maintenance, and perform data preprocessing to obtain and store the preprocessed multi-source data to obtain a vector database; The prompt word engineering module is used to collect user query information and perform prompt word optimization processing on the user query information to obtain optimized user query information; The data retrieval module is used to search the vector database based on the optimized user query information using the LSH similarity retrieval method to generate candidate answers; The query result output module is used to construct a unified large model, input the candidate answers into the unified large model for processing, and obtain the answers or operation and maintenance suggestions required by the user.

[0015] Compared with the prior art, the present invention has achieved the following beneficial effects: The wind turbine intelligent decision-making method and system based on retrieval-enhancement (RAG) generation of a large model provided by the present invention aims to improve the operation and maintenance efficiency by intelligently analyzing and processing multi-source data related to wind turbine operation and maintenance, and meet the professional needs of the wind turbine operation and maintenance market. By collecting and preprocessing multi-source data related to wind turbine operation and maintenance, and utilizing advanced vectorization processing and high-performance vector database, the knowledge retrieval process is optimized, the large model illusion is reduced, and the generated content is ensured to have a basis, thereby improving the accuracy and reliability of the response of the wind turbine operation and maintenance system; at the same time, combined with the prompt word engineering and LSH similarity retrieval method, similar vectors are hashed into the same bucket to reduce the amount of retrieved data, thereby narrowing the search space, significantly improving the retrieval efficiency of RAG in a large knowledge base, and through a unified large model platform, an in-depth understanding and efficient processing of wind turbine operation and maintenance data is achieved, providing an efficient and accurate intelligent operation and maintenance solution for the wind power industry.

[0016] It should be understood that the contents described in the Summary of the Invention are not intended to limit the key or important features of the embodiments of the present application, nor are they intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The above and other features, advantages and aspects of the embodiments of the present application will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present application. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, among which: Figure 1 A schematic flow chart of a wind turbine intelligent decision-making method based on retrieval enhancement and generation of a large model according to an embodiment of the present application is shown; Figure 2 A schematic diagram of generating operation and maintenance answers for a wind turbine intelligent decision-making method based on a retrieval-enhanced generation large model according to an embodiment of the present application is shown; Figure 3 A schematic diagram of a similarity retrieval process of a wind turbine intelligent decision-making method based on retrieval enhancement to generate a large model according to an embodiment of the present application is shown; Figure 4 A schematic diagram of the structure of a wind turbine intelligent decision-making system based on retrieval enhancement to generate a large model according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0019] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0020] Please refer to Figure 1 and Figure 2 As shown, this embodiment provides a wind turbine intelligent decision-making method based on retrieval enhancement to generate a large model, comprising the following steps: S101, collecting multi-source data related to wind turbine operation and maintenance, and performing data preprocessing to obtain preprocessed multi-source data, and storing the preprocessed data to obtain a vector database.

[0021] This embodiment uses web crawler technology, combined with the requests library and BeautifulSoup library in the Python programming language, to capture the full amount of documents related to wind turbine operation and maintenance from multiple source channels such as wind turbine manufacturers, industry forums, professional book websites, and related public accounts, including maintenance reports, fault logs, operating manuals, technical specifications and other documents. By using PyPDF2 or pdfplumber libraries, text data is extracted from PDF files, and normalized, duplicate data is removed, noise information is removed, and formatting and data verification are performed. Subsequently, natural language processing (NLP) technology, such as Jieba, is used to segment and tag the extracted text to improve the accuracy of text processing. According to the custom segmentation rules, a script written in Python is used and fixed-size segmentation, custom segmentation, document-specific segmentation, and semantic segmentation methods are used in turn to segment the data to generate segmented data suitable for retrieval and indexing.

[0022] After the processing is completed, this embodiment vectorizes the preprocessed multi-source data based on the pre-trained BGE-M3 model, generates a high-dimensional text vector, and stores it to obtain the data to be queried.

[0023] Text vectorization: Use the pre-trained BGE-M3 model to vectorize the pre-processed wind turbine operation and maintenance text data to generate a high-dimensional vector that can represent the text semantic information.

[0024] Vector database storage: Choose a suitable high-performance vector database (such as Milvus, Chroma) to store the generated text vectors for efficient similarity search and fast query.

[0025] Specifically, first, using Hugging Face's Transformers library, we can have an in-depth semantic understanding of the text. To ensure the quality of the input text, before vectorization, the text is cleaned and preprocessed through libraries such as NLTK or spaCy, including removing stop words, performing stem extraction, and word form restoration to reduce noise and improve the accuracy of semantic analysis. Then, the BGE-M3 model in Hugging Face is used to encode the preprocessed text to generate high-dimensional vectors. These high-dimensional vectors can not only capture the deep semantic information of the text, but also lay the foundation for subsequent similarity searches. On this basis, according to the system performance requirements and actual needs, the vector database Milvus is used for storage and retrieval. Milvus is a vector search engine based on a high-performance distributed database. It not only supports multiple data models, but also can perform efficient vector retrieval through a rich query language.

[0026] S102: Collect user query information, and perform prompt word processing on the user query information to obtain optimized user query information.

[0027] This embodiment uses the prompt word engineering module to design a standard prompt template and optimize the user's query content to enhance the accuracy and relevance of the model-generated answers. At the same time, based on historical query records, the user's query is automatically adjusted and optimized, specifically including: Design standard prompt templates: Develop a series of standardized prompt templates using Python programming language. These templates will include predefined question formats and key parameters such as wind turbine model, fault code, maintenance cycle, etc. These templates will guide users to ask questions in a more precise way.

[0028] Optimize user query content: Use prompt word engineering to preprocess and optimize user input queries to improve the clarity and accuracy of queries. Through natural language understanding technology, such as BERT, these models can understand the complexity of natural language and automatically identify and supplement key information that may be missing in user queries, such as fan model, fault phenomenon, etc., to enhance the relevance of model-generated answers. These models will analyze the context of user input, predict and suggest supplementary information to improve the clarity and accuracy of queries.

[0029] Automatic adjustment based on historical query records: Regularly use data analysis tools such as Pandas or NumPy to conduct in-depth analysis of historical query records to identify common query types, user preferences, and query patterns. These analyses will help the system understand user behavior trends and demand changes. Based on the analysis results, automatically adjust the prompt template and query optimization strategy to better adapt to user query habits and needs, and improve query accuracy and efficiency.

[0030] S103: Based on the optimized user query information, the LSH similarity retrieval method is used to search the vector database to generate candidate answers.

[0031] like Figure 3 As shown, this embodiment adopts the local sensitive hashing (LSH) similarity retrieval method to retrieve information from the vector database according to the user question information to obtain preliminary answers and suggestions. The core purpose of LSH is to maximize the collision probability of similar documents or queries while reducing the collision probability of dissimilar documents by designing a hash function.

[0032] Specifically, firstly, the optimized user query information is segmented and vectorized based on the BGE-M3 model to generate a query vector.

[0033] After the query vector is generated, a hash function is constructed. In this embodiment, the selected hash function is a hash function based on random projection, specifically: Create a set of random vectors , each random vector has the same dimension as the original vector.

[0034] Dot product projection: Perform dot product operations on each vector to be hashed with these random vectors: (1); in, Represents a hash value, is the input vector, which can be the vector converted from the user question or the vector stored in the database; is a randomly generated vector, Represents their dot product. If the dot product is greater than or equal to zero, the hash value is 1, otherwise it is 0.

[0035] Multiple hash bucket generation: Multiple hash buckets are generated by combining multiple such hash functions. For example, suppose there is A random vector , then the vector The hash value will be a A binary string of bits, such as 1010…, which can be used as a bucket identifier.

[0036] After the hash function is constructed, the vectors in the vector database are input into the hash function for processing to generate a specific hash value. This hash value determines which hash bucket it should be placed in. After the vector database is processed by the hash function, it is mapped to different hash buckets. For example, vectors with the same hash value will be placed in the same bucket.

[0037] Subsequently, the generated query vector is processed by the same set of hash functions to generate a corresponding hash value. According to the generated hash value, the corresponding hash bucket is found, and the similarity between the candidate vectors in the hash bucket and the query vector is further calculated. This embodiment adopts the cosine similarity method for calculation. The cosine similarity is used to measure the similarity between the query vector and the candidate vector. The similarity is measured by calculating the cosine value of the angle between them. After calculating the similarity, the top-k similar vectors are selected from the candidate set. The cosine similarity of this embodiment is used to measure the similarity between two vectors. It is usually used for similarity measurement of text and high-dimensional data. It calculates the cosine value of the angle between two vectors. The formula is as follows: (2); in: and There are two dimensional vector, represents the dot product of two vectors, and Represents vectors and The modulus, i.e. their length, cosine similarity The value of is between [-1,1]. The closer the cosine similarity is to 1, the more similar the two vectors are.

[0038] The advantage of this method is that it uses LSH to quickly narrow the search scope and only performs precise calculations on a small number of candidate vectors, thereby improving retrieval efficiency. It is particularly suitable for approximate nearest neighbor retrieval of large-scale data sets.

[0039] S104: Build a unified large model, input the candidate answers into the unified large model for processing, and obtain the answers or operation and maintenance suggestions required by the user.

[0040] This embodiment calls a unified large model platform module to integrate multiple pre-trained large models, such as Qianwen, Zhipu GLM4, etc., and generates accurate answers or operation and maintenance suggestions required by users based on the retrieved relevant fragments. For the answers generated by multiple models, the results are integrated and optimized to provide an optimal comprehensive answer. The specific process is as follows: Integrate large models: Use a unified large model platform, such as Hugging Face's Model Hub, Qwen, Chatglm3, Llama3, Qwen-max, Chatglm4, etc. to integrate a variety of pre-trained large language models. These models have been trained on a large amount of text data and have powerful natural language understanding and generation capabilities.

[0041] Generate answers: Relevant data fragments retrieved from the local knowledge base are preprocessed, such as removing stop words and stemming, to enhance the quality of input data. The pre-trained large model is called, and the processed data fragments are used as context input. The natural language generation capability of the model is used to generate preliminary answers or operation and maintenance suggestions for user queries.

[0042] Fusion and optimization: When multiple models generate answers, use answer fusion algorithms, such as weighted average or BERT-based ranking models, to comprehensively consider multiple answers to generate a fused answer. Implement answer optimization strategies, including using text summarization technology to extract key information and natural language polishing tools to improve the readability and accuracy of answers.

[0043] like Figure 4 As shown, this embodiment also provides a wind turbine intelligent decision-making system based on retrieval enhancement to generate a large model, including a data preparation module 1, a prompt word engineering module 2, a data retrieval module 3 and a query result output module 4; The data preparation module 1 is used to collect multi-source data related to wind turbine operation and maintenance, and perform data preprocessing to obtain and store the preprocessed multi-source data to obtain a vector database; The prompt word engineering module 2 is used to collect user query information and perform prompt word optimization processing on the user query information to obtain optimized user query information; The data retrieval module 3 is used to search the vector database based on the optimized user query information using the LSH similarity retrieval method to generate candidate answers; The query result output module 4 is used to construct a unified large model, input the candidate answers into the unified large model for processing, and obtain the answers or operation and maintenance suggestions required by the user.

[0044] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0045] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.

[0046] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A wind turbine intelligent decision-making method based on retrieval enhancement to generate a large model, characterized in that: The following steps are involved: Collect multi-source data related to wind turbine operation and maintenance, perform data preprocessing, obtain and store the preprocessed multi-source data, and obtain a vector database; Collecting user query information, and performing prompt word optimization processing on the user query information to obtain optimized user query information; Based on the optimized user query information, the vector database is searched using an LSH similarity search method to generate candidate answers; A unified large model is constructed, and the candidate answers are input into the unified large model for processing to obtain the answers or operation and maintenance suggestions required by the user.

2. The wind turbine intelligent decision-making method based on retrieval enhancement generation of large models according to claim 1 is characterized in that: The process of collecting multi-source data related to wind turbine operation and maintenance and preprocessing the data to obtain the preprocessed multi-source data is as follows: Crawling data to obtain multi-source data on wind turbine operation and maintenance, and then performing data cleaning and sharding to obtain processed sharded data; The sliced ​​data is cleaned and processed twice, and the wind turbine operation and maintenance text data is vectorized based on the pre-trained BGE-M3 model to generate a high-dimensional vector that can represent the text semantic information; a high-performance vector database is used to store the generated high-dimensional vector.

3. The wind turbine intelligent decision-making method based on retrieval enhancement generation of large models according to claim 2 is characterized in that: The process of collecting wind turbine operation and maintenance multi-source data and performing data cleaning and slicing to obtain processed slicing data is as follows: Using web crawler technology to crawl the full amount of wind turbine operation and maintenance documents, extracting text data from the full amount of documents and performing normalization processing to remove noise information to obtain processed text data; The processed text data is segmented and tagged with parts of speech using a natural language processing method, and fixed-size segmentation, custom segmentation, document-specific segmentation, and semantic segmentation are performed in sequence according to custom segmentation rules to generate segmented data suitable for retrieval and indexing.

4. The wind turbine intelligent decision-making method based on retrieval enhancement generation of large models according to claim 1 is characterized in that: The multi-source data includes wind turbine maintenance reports, wind power literature, public account articles, fault logs, operation manuals and technical specifications.

5. The wind turbine intelligent decision-making method based on retrieval enhancement generation of large models according to claim 1 is characterized in that: The process of collecting user query information and performing prompt word optimization processing on the user query information to obtain the optimized user query information is as follows: Constructing a prompt template according to the wind turbine operation and maintenance requirements, processing the user query information based on the prompt template and performing query rewriting processing to obtain the processed user query information; According to the historical user query information, the user query pattern and the common questions are analyzed, and the processed user input query information is processed and background injected according to the user query pattern and the common questions to obtain the optimized user query information.

6. The wind turbine intelligent decision-making method based on retrieval enhancement generation of large models according to claim 1 is characterized in that: The process of searching the vector database based on the optimized query information using the LSH similarity search method to generate candidate answers is as follows: Construct hash functions and corresponding hash bucket structures; Acquire a high-dimensional vector from the vector database, input the high-dimensional vector into the hash function for processing to obtain a hash value, and map the high-dimensional vector to different hash bucket structures based on the hash value; Performing word segmentation processing on the optimized user query information and vectorizing it based on the BGE-M3 model to generate a query vector; Inputting the query vector into the hash function for processing to obtain a corresponding query hash value, and mapping the query vector to different hash bucket structures according to the query hash value; The similarity between the candidate vectors and the query vector in different hash bucket structures is calculated to obtain a candidate set, and Top-K similar vectors are selected from the candidate set to generate candidate answers.

7. The wind turbine intelligent decision-making method based on retrieval enhancement generation of large models according to claim 6 is characterized in that: The similarity calculation method is a cosine similarity method, specifically: (1); in: and There are two dimensional vector, represents the dot product of two vectors, and Represents vectors and The modulus, i.e. the length of the vector, is the cosine similarity value.

8. The wind turbine intelligent decision-making method based on retrieval enhancement generation of large models according to claim 1 is characterized in that: The process of constructing a unified large model, inputting the candidate answers into the unified large model for processing, and obtaining the answers or operation and maintenance suggestions required by the user is as follows: Integrate multiple pre-trained large models to build a unified large model, pre-process the candidate answers, and input the processed data into the unified large model for processing to obtain answers or operation and maintenance suggestions for user queries; The answers or operation and maintenance suggestions are integrated and optimized to obtain accurate user answers or operation and maintenance suggestions.

9. A wind turbine intelligent decision-making system based on retrieval enhancement to generate a large model, characterized in that: It includes a data preparation module (1), a prompt word engineering module (2), a data retrieval module (3) and a query result output module (4); The data preparation module (1) is used to collect multi-source data related to wind turbine operation and maintenance, and perform data preprocessing to obtain and store the preprocessed multi-source data to obtain a vector database; The prompt word engineering module (2) is used to collect user query information and perform prompt word optimization processing on the user query information to obtain optimized user query information; The data retrieval module (3) is used to search the vector database based on the optimized user query information using an LSH similarity retrieval method to generate candidate answers; The query result output module (4) is used to construct a unified large model, input the candidate answers into the unified large model for processing, and obtain the answers or operation and maintenance suggestions required by the user.

Citation Information

Patent Citations

  • Construction method of feature retrieval system, feature retrieval method, device and equipment

    CN113190551A

  • Similar appeal processing recommendation method and device based on quick retrieval algorithm

    CN116628356A

  • Extensible large language model calling method and device based on graph database knowledge enhancement

    CN117235220A

  • Water affair industry knowledge question-answering system implementation method and system based on large language model

    CN118193711A

  • Class case retrieval system and method based on retrieval enhancement generation technology

    CN118260391A

Cited By

  • Power field SQL intelligent agent construction method based on KMDI chain

    CN119166662A

  • Bidding field question and answer method and system based on retrieval enhancement generation architecture

    CN119441446A

  • Power system operation maintenance method and system based on retrieval enhancement technology

    CN119557463A

  • Large security model construction method and application for industrial internet security protection

    CN120455066A