CN-116737896-B - Work order processing method, device, equipment and readable storage medium
Abstract
The application discloses a work order processing method, a device, equipment and a readable storage medium. After a work order to be processed is obtained, first prompt information for indicating the processing of the work order to summarize the content of the work order is determined, then the summarizing content of the work order is obtained based on the first prompt information, whether the problem similar to the summarizing content of the work order exists in a basic knowledge base or not is searched based on the summarizing content of the work order, a first search result is obtained, and finally the work order is processed according to the first search result, so that a reply corresponding to the work order is obtained. Based on the scheme, automatic work order processing can be realized, and further, more efficient and better government affair question and answer can be realized.
Inventors
- LIU QUAN
- WANG CHAOFAN
- GU CHENGMIN
- MEI LINHAI
- WEI SI
- WANG SHIJIN
- LIU CONG
- HU GUOPING
Assignees
- 科大讯飞股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20230608
Claims (9)
- 1. A method of worksheet processing, the method comprising: acquiring a work order to be processed; Determining first prompt information, wherein the first prompt information is used for indicating summarizing the content of the work order; inputting the first prompt information into a large model, generating reply information by the large model based on the first prompt information, and acquiring the reply information generated by the large model as summary content of the work order, wherein the large model is a large model trained by using the training work order and the corresponding summary content; Based on the summary content of the work order, searching whether a first problem exists in a basic knowledge base, wherein the first problem is similar to the summary content of the work order in the basic knowledge base, and obtaining a first search result; Processing the work order according to the first search result to obtain a reply corresponding to the work order; The method comprises the steps of obtaining answers corresponding to first questions, determining second prompt information, obtaining replies of the worksheet based on the second prompt information, processing the worksheet according to the first search result if the first search result is yes, obtaining the replies of the worksheet according to the first search result, wherein the answers corresponding to the worksheet comprise the steps of obtaining answers corresponding to the first questions, determining whether second prompt information is used for indicating to rewrite the answers corresponding to the first questions, obtaining the replies of the worksheet based on the second prompt information, processing the worksheet according to the first search result if the first search result is no, obtaining the replies of the worksheet according to the first search result, and obtaining the replies of the worksheet.
- 2. The method of claim 1, wherein if the second search result is yes, the processing the work order based on the second search result to obtain a reply corresponding to the work order includes: acquiring an answer corresponding to the second question; determining fourth prompt information, wherein the fourth prompt information is used for indicating that an answer corresponding to the second question is rewritten; And based on the fourth prompt information, obtaining the reply of the work order.
- 3. The method of claim 1, wherein if the second search result is no, the processing the work order based on the second search result to obtain a reply corresponding to the work order includes: Determining fifth prompt information, wherein the fifth prompt information is used for indicating that question-answer pairs corresponding to the worksheet are generated according to the government affair document; Obtaining question-answer pairs corresponding to the worksheets based on the fifth prompt information; Acquiring answers in the question-answer pair corresponding to the worksheet; determining sixth prompt information, wherein the sixth prompt information is used for indicating that answers in the question-answer pair corresponding to the worksheet are rewritten; and based on the sixth prompt information, obtaining the reply of the work order.
- 4. The method of claim 3, wherein after the generating of the question-answer pair corresponding to the work order based on the fifth hint information, the method further comprises: and updating the basic knowledge base and/or the professional knowledge base by utilizing the question-answer pair corresponding to the work order.
- 5. The method of claim 1, wherein prior to the obtaining the work order to be processed, the method further comprises: Determining seventh prompt information, wherein the seventh prompt information is used for indicating to process a government affair document and generating a plurality of question-answer pairs, each question-answer pair comprises a question and a corresponding answer, and the questions of each question-answer pair are related to the government affair document; based on the seventh prompt information, a plurality of question-answer pairs are obtained; and constructing a basic knowledge base and a professional knowledge base by utilizing the plurality of question-answer pairs.
- 6. The method of any one of claims 1 to 5, wherein after the obtaining the reply corresponding to the work order, the method further comprises: determining a contact person and a contact way based on the work order; and feeding back a reply corresponding to the work order to the contact person by adopting the contact way.
- 7. A work order processing apparatus, the apparatus comprising: the work order acquisition unit is used for acquiring the work order to be processed; The first prompt information determining unit is used for determining first prompt information, and the first prompt information is used for indicating summarizing the content of the work order; The content summarizing unit is used for inputting the first prompt information into a large model, generating reply information by the large model based on the first prompt information, acquiring the reply information generated by the large model, and taking the reply information as summary content of the work order, wherein the large model is a large model trained by using the training work order and the corresponding summary content; The first retrieval unit is used for retrieving whether a first problem exists in a basic knowledge base or not based on the summary content of the work order, wherein the first problem is similar to the summary content of the work order in the basic knowledge base, and a first retrieval result is obtained; The processing unit is used for processing the work order according to the first search result to obtain a reply corresponding to the work order, wherein different first search results correspond to different modes for processing the work order to obtain the reply corresponding to the work order, if the first search result is yes, the processing unit is used for processing the work order according to the first search result to obtain the reply corresponding to the work order, the processing unit comprises the steps of obtaining an answer corresponding to the first problem, determining second prompt information, the second prompt information is used for indicating to rewrite the answer corresponding to the first problem, obtaining the reply of the work order based on the second prompt information, if the first search result is no, processing the work order according to the first search result to obtain the reply corresponding to the work order, determining third prompt information, the third prompt information is used for indicating to conduct domain classification on the work order, obtaining the reply corresponding to the work order based on the third prompt information, obtaining the class of the work order, the class of the work order is similar to the second problem, and the class of the work order is obtained based on the second domain of the second problem, and the second problem is obtained based on the second domain of the second problem.
- 8. A work order processing apparatus comprising a memory and a processor; the memory is used for storing programs; The processor is configured to execute the program to implement the respective steps of the work order processing method according to any one of claims 1 to 6.
- 9. A readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the work order processing method according to any one of claims 1 to 6.
Description
Work order processing method, device, equipment and readable storage medium Technical Field The present application relates to the field of artificial intelligence technology, and more particularly, to a method, an apparatus, a device, and a readable storage medium for processing a work order. Background In a government questioning and answering scene, the traditional work order processing mode mainly carries out the processing of the work order manually. With the increasing number and increasing types of worksheets, the traditional manual worksheets processing method cannot achieve more efficient and better government questioning and answering. Therefore, how to provide a method for processing a work order to realize more efficient and better government affair questions and answers is a technical problem to be solved by those skilled in the art. Disclosure of Invention In view of the above, the present application provides a method, apparatus, device and readable storage medium for processing a work order. The specific scheme is as follows: a method of worksheet processing, the method comprising: acquiring a work order to be processed; Determining first prompt information, wherein the first prompt information is used for indicating summarizing the content of the work order; Based on the first prompt information, obtaining summary content of the work order; Based on the summary content of the work order, searching whether a first problem exists in a basic knowledge base, wherein the first problem is similar to the summary content of the work order in the basic knowledge base, and obtaining a first search result; And processing the work order according to the first search result to obtain a reply corresponding to the work order. Optionally, if the first search result is yes, the processing the work order according to the first search result to obtain a reply corresponding to the work order includes: Acquiring an answer corresponding to the first question; determining second prompt information, wherein the second prompt information is used for indicating to rewrite an answer corresponding to the first question; and based on the second prompt information, obtaining the reply of the work order. Optionally, if the first search result is no, the processing the work order according to the first search result to obtain a reply corresponding to the work order includes: determining third prompt information, wherein the third prompt information is used for indicating the field classification of the work order; based on the third prompt information, obtaining the field category of the work order; Searching whether a second problem exists in a professional knowledge base corresponding to the field category of the work order, wherein the second problem is similar to the work order in the professional knowledge base, and a second search result is obtained; And processing the work order based on the second search result to obtain a reply corresponding to the work order. Optionally, if the second search result is yes, the processing the work order based on the second search result to obtain a reply corresponding to the work order includes: acquiring an answer corresponding to the second question; determining fourth prompt information, wherein the fourth prompt information is used for indicating that an answer corresponding to the second question is rewritten; And based on the fourth prompt information, obtaining the reply of the work order. Optionally, if the second search result is no, the processing the work order based on the second search result to obtain a reply corresponding to the work order includes: Determining fifth prompt information, wherein the fifth prompt information is used for indicating that question-answer pairs corresponding to the worksheet are generated according to the government affair document; Obtaining question-answer pairs corresponding to the worksheets based on the fifth prompt information; Acquiring answers in the question-answer pair corresponding to the worksheet; determining sixth prompt information, wherein the sixth prompt information is used for indicating that answers in the question-answer pair corresponding to the worksheet are rewritten; and based on the sixth prompt information, obtaining the reply of the work order. Optionally, after the generating of the question-answer pair corresponding to the worksheet based on the fifth prompt information, the method further includes: and updating the basic knowledge base and/or the professional knowledge base by utilizing the question-answer pair corresponding to the work order. Optionally, before the acquiring the work order to be processed, the method further includes: Determining seventh prompt information, wherein the seventh prompt information is used for indicating to process a government affair document and generating a plurality of question-answer pairs, each question-answer pair comprises a question and a corresponding answer, and th