Document generation method and device, electronic equipment and storage medium
CN120850962APending Publication Date: 2025-10-28GUANGZHOU QUYAN NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by
Patent Information
- Application Number
- CN202510938518.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-08
- Publication Date
- 2025-10-28
Smart Images

Figure CN120850962A_ABST
Abstract
The invention discloses a document generation method and device, electronic equipment and a storage medium, and the method comprises the steps: dividing an initial document related to a preset document generation task into a plurality of unit contents, and converting each unit content into hierarchical data; the relevancy between each unit content and the document generation task is evaluated, the relevancy score of the unit content is obtained, alternative content is screened out from the corresponding hierarchical data according to the relevancy score for each unit content, the relevancy score is assigned to the alternative content, and the content length of the alternative content is in positive correlation with the relevancy score; and by taking the window size of a preset document generation model as a limit, assembling the alternative contents into a context based on the relevancy score of each alternative content, and generating a target document according to the context. Therefore, the target document is highly related to the document generation task and has necessary details and richness, and meanwhile, the problem that the generated target document is greatly different from the demand due to the limitation of the model input size is solved.
Need to check novelty before this filing date? Find Prior Art