Intelligent question and answer method, device and equipment for knowledge in power production field and medium
By semantically segmenting and vectorizing the knowledge base in the power production field, combining vector retrieval with keyword retrieval, and generating and fusing multi-way retrieval recall results, the problem of insufficient utilization of information resources in the power production field is solved, and efficient and accurate knowledge question and answering is achieved.
Patent Information
- Application Number
- CN202510606788.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-12
- Publication Date
- 2025-09-16
AI Technical Summary
In the field of power production, existing technologies have difficulty in fully utilizing diverse information resources and have limitations in timeliness and multimodal data processing, making it difficult for non-professionals to quickly and accurately obtain the required information from massive amounts of standard data.
By semantically segmenting and vectorizing the knowledge base documents, a data set and vector set in the field of power production are formed. Vector retrieval and keyword retrieval are combined to generate multi-way retrieval recall results, and question-answering results are generated through large-scale model fusion. Multi-way retrieval recall and retrieval enhancement generation technology are introduced.
It improves the efficiency and accuracy of knowledge questions and answers in the field of power production, ensures the comprehensiveness and accuracy of query results, reduces search latency, and improves user experience.
Smart Images

Figure CN120653727A_ABST
Abstract
Claims
1. An intelligent question-answering method for knowledge in the field of power production, characterized in that: The following steps are involved: Perform semantic segmentation and vector embedding on knowledge base documents to form data sets and vector sets in the field of power production, and obtain user queries on knowledge related to the field of power production; performing vector search and keyword search on the data set and the vector set respectively according to the user's query on the knowledge question in the field of power production, and obtaining a multi-way search recall result; The multi-way retrieval recall results are integrated to obtain a vector document block candidate set, the vectorized knowledge question and the vector document block candidate set are input into a large model, and the large model generates a question-answering result for the knowledge question.
2. The intelligent question-answering method for power production domain knowledge according to claim 1 is characterized in that: The semantic segmentation and vectorization embedding of the knowledge base documents to form a data set and vector set in the field of power production include: Semantically segment the knowledge base documents into blocks to generate a set of document blocks; The document block set is embedded in a text embedding model, and the text embedding model vectorizes the divided document blocks to form a data set and a vector set in the field of power production.
3. The intelligent question-answering method for power production domain knowledge according to claim 2, characterized in that: The step of semantically segmenting the knowledge base documents to generate a document block set includes: Divide the document into chunks based on the sentence or paragraph units in the knowledge base document; The segmented knowledge base documents are input into a text embedding model, which converts each sentence or paragraph into a target dimensional space to generate a vector set; Calculate the cosine similarity between each sentence vector block or paragraph unit vector block in turn; The vector blocks are grouped into document blocks according to the cosine similarity until all vector blocks are allocated.
4. The intelligent question-answering method for power production domain knowledge according to claim 3 is characterized in that: The step of performing vector search and keyword search on the data set and the vector set respectively according to the user's query on the knowledge question in the field of power production, and obtaining a multi-way search recall result, includes: Mapping document blocks in the new document block set to a multidimensional vector space to generate vector document blocks; Mapping knowledge problems in the field of power production into a multi-dimensional vector space to generate problem vectors; Calculating the cosine similarity between the question vector and the vector document block; The document blocks are sorted in descending order according to their cosine similarity to generate multi-way retrieval recall results.
5. The intelligent question-answering method for power production domain knowledge according to claim 4 is characterized in that: The step of performing vector search and keyword search on the data set and the vector set respectively according to the user's query on the knowledge question in the field of power production, and obtaining a multi-way search recall result, includes: Calculate the keyword search similarity score of the question vector and the vector document block based on word frequency, inverse document frequency, and document length; The document blocks are sorted in descending order according to their keyword retrieval similarity scores to generate multi-way retrieval recall results.
6. The intelligent question-answering method for power production domain knowledge according to claim 5, characterized in that: The vector document block candidate set is obtained by integrating the multi-way retrieval recall results, including: Calculate the fusion similarity based on the ranking position of the multi-retrieval recall results and the differentiation weight coefficient; The vector document block candidate set is generated by filtering and fusing the multi-way retrieval recall results according to the fusion similarity.
7. An intelligent question-answering device for knowledge in the field of power production, characterized in that: include: The acquisition module is used to perform semantic segmentation and vector embedding on the knowledge base documents to form a data set and vector set in the field of power production, and obtain user queries on the knowledge questions in the field of power production; a generation module, configured to perform vector search and keyword search on the data set and the vector set respectively according to the user's query on the knowledge question in the field of power production, and obtain a multi-way search recall result; A fusion module is used to fuse the multi-channel retrieval recall results to obtain a vector document block candidate set, input the vectorized knowledge questions and the vector document block candidate set into a large model, and the large model outputs the question-answering results of the knowledge questions.
8. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the intelligent question-answering method for knowledge in the field of electric power production as described in any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the intelligent question-answering method for knowledge in the field of power production as described in any one of claims 1 to 6.
10. A computer program product, characterized in that It includes a computer program, which, when executed by a processor, is used to implement the intelligent question-answering method for knowledge in the field of power production as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Question and answer method and device based on keywords and semantic model and storage medium
CN118520089A
Well engineering knowledge base-based question and answer method and related device
CN118689970A
Question and answer processing method and device, electronic equipment and storage medium
CN119202151A
Processing method and system based on Telechat large model
CN119226489A
Power document intelligent question and answer method and system based on large language model
CN119577082A
Cited By
Document retrieval method and system based on electric power semantic enhancement and electronic equipment
CN120950672A
RAG intelligent retrieval question-answering system and method based on enhanced metadata
CN121256007A
Retrieval method and system supporting use of cross-modal information
CN121350183A
Intelligent question and answer method in wind power field
CN122112045A