Reading note generation method and device, equipment, storage medium and program product

By obtaining reader information and generating prompts to input them into the reading note generation model, reading notes are automatically generated, which solves the problem of low efficiency in the generation of reading notes in the prior art and improves reading efficiency and experience.

CN119005141APending Publication Date: 2024-11-22MIGU DIGITAL MEDIA CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411085146.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing reading note generation methods are inefficient and require readers to add notes manually, which is inefficient.

Method used

By obtaining the reading content, relevant information and attribute information selected by the reader, a prompt is generated and inputted into the pre-trained reading note generation model to automatically generate reading notes.

Benefits of technology

It improves the efficiency of reading notes, reduces the difficulty of readers to understand content, and enhances reading experience and user stickiness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119005141A_ABST
    Figure CN119005141A_ABST
Patent Text Reader

Abstract

The invention discloses a reading note generation method and device, equipment, a storage medium and a program product, and belongs to the technical field of artificial intelligence. The reading note generation method in the embodiment of the invention comprises the following steps: in response to a received instruction of creating a reading note, obtaining reading content selected by a reader, data information related to the reading content and attribute information of the reader; generating prompt words according to the reading content, the data information and the attribute information; the prompt words are used for describing required reading notes; and inputting the prompt into a pre-trained reading note generation model to obtain a reading note of the reading content. Therefore, the generation efficiency of the reading notes can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of artificial intelligence technology, and specifically relates to a reading note generation method, device, equipment, storage medium and program product. Background Art

[0002] As digital reading becomes more and more popular, the types of digital content become more and more abundant, and adding notes and annotations to the digital content is becoming more and more common. In the related art, when a reader wants to add reading notes to the reading content, the reader usually manually adds the required note content at the location where the reading notes are to be added. It can be seen that the current reading note generation method is inefficient. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a reading note generation method, device, equipment, storage medium and program product to solve the problem of low efficiency of current reading note generation methods.

[0004] In order to solve the above technical problems, this application is implemented as follows:

[0005] In a first aspect, a reading note generation method is provided, comprising:

[0006] In response to receiving an instruction to create a reading note, obtaining reading content selected by a reader, material information related to the reading content, and attribute information of the reader;

[0007] Generate prompts according to the reading content, the material information and the attribute information; wherein the prompts are used to describe the required reading notes;

[0008] The prompt is input into a pre-trained reading note generation model to obtain reading notes of the reading content.

[0009] In a second aspect, a reading note generating device is provided, comprising:

[0010] An acquisition module, configured to acquire, in response to receiving an instruction to create a reading note, the reading content selected by the reader, material information related to the reading content, and attribute information of the reader;

[0011] A generating module, used to generate prompts according to the reading content, the material information and the attribute information; wherein the prompts are used to describe the required reading notes;

[0012] The processing module is used to input the prompt into a pre-trained reading note generation model to obtain reading notes for the reading content.

[0013] In a third aspect, an electronic device is provided, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0014] In a fourth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0015] In a fifth aspect, a computer program product is provided, comprising computer instructions, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0016] Through the solution in the embodiment of the present application, in response to receiving an instruction to create a reading note, the reading content selected by the reader, the material information related to the reading content, and the attribute information of the reader can be obtained, and a prompt is generated based on the obtained information, the prompt is used to describe the required reading notes, and the prompt is input into a pre-trained reading note generation model to obtain the reading notes of the selected reading content. In this way, reading notes can be automatically generated without the reader having to manually add reading notes, thereby improving the efficiency of generating reading notes.

[0017] Furthermore, the reading notes obtained through the scheme in this application can also provide a reference for readers to understand the corresponding reading content, helping readers to understand the corresponding reading content more easily and deeply, thereby reducing the difficulty of readers to understand the corresponding reading content, improving readers' reading efficiency and reading experience, thereby enhancing the user stickiness of the reading product. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 is a flow chart of a reading note generating method provided by an embodiment of the present application;

[0019] Figure 2 is a schematic diagram of a reading note generation process in an embodiment of the present application;

[0020] Figure 3 is a structural schematic diagram of a reading note generating device provided in an embodiment of the present application;

[0021] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions 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.

[0023] The following, in conjunction with the accompanying drawings, describes in detail the reading note generation method, device, equipment, storage medium and program product provided in the embodiments of the present application through specific embodiments and their application scenarios.

[0024] See also Figure 1 , Figure 1 is a flowchart of a reading note generation method provided in an embodiment of the present application, the method is applied to an electronic device, such as Figure 1 As shown, the method comprises the following steps:

[0025] Step 11: in response to receiving an instruction to create a reading note, obtaining the reading content selected by the reader, material information related to the reading content, and attribute information of the reader;

[0026] Step 12: Generate prompts based on the reading content, the material information and the attribute information; the prompts are used to describe the required reading notes;

[0027] Step 13: Input the prompt into a pre-trained reading note generation model to obtain reading notes for the reading content.

[0028] In an embodiment of the present application, the instruction to create a reading note may be issued by the current reader. The reader may first select the reading content for which the reading note is to be created, and then trigger the identification for creating a reading note displayed in the pop-up window, thereby issuing an instruction to create a reading note. The above-mentioned selection of the reading content for which the reading note is to be created may be by long pressing the left or right button of the mouse to select the reading content. In addition, the reader may also first select the reading content for which the reading note is to be created, and then issue an instruction to create a reading note through a voice message, for example, the above-mentioned voice message may be "Create a reading note" or the like.

[0029] After receiving the instruction to create a reading note, the reading content selected by the reader, the material information related to the reading content, and the attribute information of the reader can be obtained through a variety of methods. For example, taking the reading content as text content, the position of the reader's selection operation in the current reading window can be first determined, and then the selected text content can be determined based on the position. The material information related to the reading content and the attribute information of the reader can be obtained based on preset information and / or the reader's input information, which is not limited.

[0030] The reading content may be text content in an electronic document; the electronic document may be an electronic book, or an electronic article from an Internet website (information involved includes but is not limited to news information, entertainment information, financial information, etc.). In addition, the reading content may also be a picture, a mathematical formula, etc.; in this case, the picture, mathematical formula, etc. may be first identified to obtain the corresponding text content, and then the subsequent operation of generating reading notes may be performed based on the text content.

[0031] The data information related to the above reading content may include but is not limited to the name, author, introduction and other related information of the e-book or e-article corresponding to the reading content.

[0032] The attribute information of the reader may include but is not limited to characteristic information such as the reader's occupation, education level, age, gender, etc.

[0033] The above prompts can be understood as summary information obtained by superimposing the reading content selected by the reader, the material information related to the reading content and the reader's attribute information (such as occupation, education level, age, gender, etc.), and are demand description information corresponding to the reading notes to be generated.

[0034] Optionally, after obtaining the reading notes of the reading content, the reading notes can be displayed, such as displaying the reading notes on the reading interface, so as to present the reading notes to the reader for the reader to view. For displaying the reading notes, the reading notes can be displayed directly after obtaining the reading notes of the reading content, or can be displayed in response to a received display instruction.

[0035] Through the scheme in the embodiment of the present application, in response to receiving an instruction to create a reading note, the reading content selected by the reader, the material information related to the reading content, and the attribute information of the reader can be obtained, and a prompt is generated based on the obtained information, and the prompt is used to describe the required reading notes, and the prompt is input into a pre-trained reading note generation model to obtain the reading notes of the selected reading content. In this way, reading notes can be automatically generated without the reader having to manually add reading notes, thereby improving the efficiency of reading note generation. In addition, by combining the reader's attribute information to obtain reading notes, the reading notes can be made to conform to the reader's occupation, education level, age, gender, etc. For example, different reading notes can be generated for readers with different occupations / education levels under the same reading content, thereby improving the accuracy of the reading notes.

[0036] Furthermore, the reading notes obtained through the scheme in this application can also provide a reference for readers to understand the corresponding reading content, helping readers to understand the corresponding reading content more easily and deeply, thereby reducing the difficulty of readers to understand the corresponding reading content, improving readers' reading efficiency and reading experience, thereby enhancing the user stickiness of the reading product.

[0037] In the embodiment of the present application, in order to efficiently generate prompts, the ability of a large language model can be used to generate prompts. The above-mentioned generation of prompts based on the reading content, the material information and the attribute information may include:

[0038] The reading content, the material information and the attribute information are input into a pre-trained prompt generation model to generate prompts. Thus, prompts can be generated efficiently with the help of the pre-trained prompt generation model.

[0039] Optionally, the pre-trained prompt generation model can be obtained by fine-tuning the summary generation model using the training data set; wherein the summary generation model is a trained large language model, and the training data set includes multiple groups of data, each group of data includes attribute information of historical readers (such as occupation, education level, age, gender, etc.), reading content to which historical readers have added reading notes, reading resource information (such as the name, author, introduction, etc. of the corresponding e-book or e-article, etc.), and annotated prompts for describing the required reading notes. When fine-tuning the summary generation model using the training data set, the attribute information of the historical reader, the reading content to which historical readers have added reading notes, and the reading resource information can be used as model inputs, and the model can be fine-tuned by comparing the annotated prompts for describing the required reading notes with the model output, thereby obtaining the required prompt generation model.

[0040] In this way, when training the model, we can use the prior knowledge of the existing summary generation model and use less training data to obtain the required prompt generation model, thereby improving the model training efficiency. In addition, by fine-tuning the summary generation model to obtain the prompt generation model, we can not only enhance the stability of the model generation scheme, but also make the generated prompts avoid semantic confusion and irrelevant content, so that the reading note generation model can deeply and comprehensively understand the requirements of the required reading notes.

[0041] In an optional implementation, the prompt generation model may be directly trained using a training data set, and the relevant training method may be an existing method, which is not limited.

[0042] In an optional implementation, a prompt template can be pre-set according to business scenarios and actual conditions to limit the requirements for generating prompts, such as whether the prompt contains the reader's occupation, education level, age, gender, etc. At this time, after obtaining the attribute information of the historical reader, the reading content and reading resource information to which the historical reader has added reading notes, the attribute information of the historical reader, the reading content and reading resource information to which the historical reader has added reading notes can be annotated according to the pre-set prompt template to obtain prompts for describing the required reading notes.

[0043] Optionally, the summary generation model can be an extractive summary model, a generative summary model, etc., and can be obtained based on deep learning training. The corresponding model architecture can be selected based on actual needs, and there is no limitation on this. For example, the summary generation model can use the T5 model to enhance the ability of the trained prompt generation model. The T5 model has demonstrated certain capabilities in text summary generation tasks. It is a multi-purpose natural language processing model based on the Transformer structure. The structure consists of multiple encoder-decoder layers, where the encoder is responsible for encoding and representing the input text, and the decoder is responsible for generating the target text based on the encoded representation. The T5 model can also use a self-attention mechanism to capture contextual dependencies in the input text, and use residual connections, layer normalization and other technologies to enhance the training effect of the model.

[0044] Considering that readers may have different understandings of reading content in different fields, for example, readers usually understand popular literature novels well, but may not understand professional articles (such as articles related to mathematics, physics, chemistry, etc.) well; in this case, only simple annotations / comments on popular literature novels are needed, but in order to facilitate readers' understanding, detailed annotations / comments on professional articles are required, and even some special words in them need to be explained. In the embodiment of the present application, different prompt templates can be set for different fields, that is, different requirements are defined, such as whether the prompt contains the reader's occupational information, education level, etc., and the prompt generation model is trained for different fields so that the generated prompts can more accurately describe the required reading notes.

[0045] Optionally, before generating the prompt, the reading note generating method in this embodiment may further include:

[0046] Determine the field to which the reading content selected by the reader belongs, and determine the target prompt generation model corresponding to the field; different fields correspond to different prompt generation models; the division of fields can be based on actual needs, such as popular categories, history fields, science fields, technology fields, etc., and there is no limitation on this.

[0047] The above-mentioned inputting the reading content, the material information and the attribute information into the pre-trained prompt generation model, generating the prompt may include: inputting the reading content, the material information and the attribute information into the target prompt generation model to generate the prompt. In this way, with the help of the division of the fields, the required prompt can be generated more accurately.

[0048] In the embodiment of the present application, the reading note generation model can be directly trained using sample data, or can be obtained through fine-tuning operations. Optionally, the training process of the reading note generation model may include:

[0049] Constructing a training sample set; wherein the training sample set includes multiple groups of data, each group of data includes sample prompts for describing the required reading notes and reading notes corresponding to the sample prompts (such as including explanatory information, commentary information, etc.), and the sample prompts are obtained based on the attribute information of the historical reader (such as occupation, education level, age, gender, etc.), the reading content and reading resource information to which the reading notes have been added (such as the name, author, introduction, etc. of the corresponding e-book or e-article, etc.); for example, the attribute information of the historical reader, the reading content and reading resource information to which the historical reader has added reading notes can be annotated according to a preset prompt template to obtain the sample prompts; the sample prompts can also be generated according to a pre-trained prompt generation model;

[0050] The pre-trained large language model is fine-tuned using the training sample set to obtain the reading note generation model. For example, during the fine-tuning training, a sample prompt used to describe the required reading notes can be used as a model input, and the model is fine-tuned by comparing the reading notes corresponding to the sample prompt with the model output, thereby obtaining the required reading note generation model.

[0051] In this way, by fine-tuning the large language model to obtain the reading note generation model, the training model can have the semantic understanding and reasoning capabilities of the large language model, and use less sample data to obtain the required reading note generation model, thereby improving the model training efficiency.

[0052] Optionally, when constructing the training sample set as above, it can be constructed according to the format requirements of the large language model for the sample data. During the above fine-tuning training, low-rank adaptation (LORA) lightweight fine-tuning training can be performed. LORA fine-tuning can freeze the pre-trained model weights and inject the trainable rank decomposition matrix into each layer of the Transformer architecture, greatly reducing the number of trainable parameters for downstream tasks. LORA-based fine-tuning generates and saves new weights, and the generated LORA weights can be considered as patch weights of the original pre-trained model.

[0053] Optionally, the large language model may be a generative large language model, etc. The generative large language model is, for example, a ChatGLM-6B model, which is based on a general language model (GLM) architecture and uses a technology similar to ChatGPT.

[0054] Considering that readers may have different understandings of reading content in different fields, for example, readers usually understand popular literature novels well, but may not understand professional articles (such as articles related to mathematics, physics, chemistry, etc.) well; in this case, only simple annotations / comments on popular literature novels are needed, but in order to facilitate readers' understanding, detailed annotations / comments on professional articles are required, and even some special words in them need to be explained. In the embodiment of the present application, different prompt templates can be set for different fields, that is, different requirements are defined, such as whether the prompt contains the reader's occupational information, education level, etc., and the reading note generation model is trained for different fields to obtain reading notes that match the reader.

[0055] Optionally, before obtaining the reading notes of the reading content, the reading note generating method in this embodiment may further include:

[0056] Determine the field to which the reading content selected by the reader belongs, and determine the target reading note generation model corresponding to the field; different fields correspond to different reading note generation models; the division of fields can be based on actual needs, such as popular categories, history fields, science fields, technology fields, etc., without limitation.

[0057] The step of inputting the prompt into the pre-trained reading note generation model to obtain the reading notes of the reading content may include: inputting the prompt into the target reading note generation model to obtain the reading notes of the reading content. This can improve the quality of the reading notes, thereby more accurately obtaining reading notes that match the reader.

[0058] The following is a combination of specific embodiments and Figure 2This application is described.

[0059] In the specific embodiment of the present application, it is taken as an example that a reader generates reading notes, such as Figure 2 As shown, the specific reading note generation process may include:

[0060] S1: Obtain a training data set, wherein the training data set includes multiple groups of data, each group of data includes attribute information of historical readers (such as occupation, education level, age, gender, etc.), reading content to which historical readers have added reading notes, reading resource information (such as the name, author, introduction, etc. of the corresponding e-book or e-article, etc.), and annotated prompts for describing the required reading notes; and use the training data set to fine-tune the called T5 model to obtain a prompt generation model.

[0061] S2: Collect historical reader information, reading material information, reading notes, comment-related data, etc. required for modeling, and preprocess the collected data, mainly eliminating some records with serious information missing, and construct training data based on the preprocessed data. Use the training data to perform LORA lightweight fine-tuning training on the called ChatGLM-6B model, such as by adding specific layers to the model and modifying the input and output embeddings, and adjust the model's hyperparameters as needed, such as learning rate, batch size, and training rounds, to obtain a reading note generation model.

[0062] S3: When generating reading notes for a certain reader, in response to the reader's instruction, the reading content selected by the reader, the material information related to the reading content, and the attribute information of the reader are obtained, and the obtained information is preprocessed so that the preprocessed data conforms to the model input data format;

[0063] S4: input the preprocessed data into the prompt generation model obtained in S1 to generate prompts, which are used to describe the required reading notes;

[0064] S5: Input the prompt generated in S4 into the reading note generation model obtained in S2 to generate corresponding reading notes;

[0065] S6: Present the reading notes generated in S5 on the reading interface through a reading note presenting module.

[0066] It should be noted that the reading note generation method provided in the embodiment of the present application can be executed by a reading note generation device, or a control module in the reading note generation device for executing the reading note generation method. In the embodiment of the present application, the reading note generation device provided in the embodiment of the present application is described by taking the reading note generation method executed by the reading note generation device as an example.

[0067] See also Figure 3 , Figure 3 is a structural diagram of a reading note generating device provided in an embodiment of the present application, and the device is applied to electronic devices such as Figure 3 As shown, the reading note generating device 30 includes:

[0068] An acquisition module 31 is used for acquiring, in response to receiving an instruction to create a reading note, the reading content selected by the reader, material information related to the reading content, and attribute information of the reader;

[0069] A generating module 32, for generating a prompt according to the reading content, the material information and the attribute information; wherein the prompt is used to describe the required reading notes;

[0070] The processing module 33 is used to input the prompt into a pre-trained reading note generation model to obtain reading notes for the reading content.

[0071] Optionally, the generation module 32 is specifically used to: input the reading content, the material information and the attribute information into a pre-trained prompt generation model to generate the prompt; wherein the prompt generation model is obtained by fine-tuning the summary generation model using a training data set, and the training data set includes multiple groups of data, each group of data includes the attribute information of the historical reader, the reading content to which the historical reader has added reading notes, reading resource information and annotated prompts for describing the required reading notes.

[0072] Optionally, the reading note generating device 30 further includes:

[0073] A first determination module is used to determine the field to which the reading content belongs, and determine a target prompt generation model corresponding to the field;

[0074] The processing module 33 is specifically used to: input the reading content, the material information and the attribute information into the target prompt generation model to generate the prompt.

[0075] Optionally, the training process of the reading note generation model includes:

[0076] Constructing a training sample set; wherein the training sample set includes multiple groups of data, each group of data includes sample prompts for describing required reading notes and reading notes corresponding to the sample prompts, the sample prompts are obtained based on attribute information of historical readers, reading content to which the reading notes have been added, and reading resource information;

[0077] The pre-trained large language model is fine-tuned using the training sample set to obtain the reading note generation model.

[0078] Optionally, the reading note generating device 30 further includes:

[0079] A second determination module is used to determine the field to which the reading content belongs, and determine a target reading note generation model corresponding to the field;

[0080] The processing module 33 is specifically used to: input the prompt into the target reading note generation model to obtain the reading notes of the reading content.

[0081] Optionally, the reading note generating device 30 further includes:

[0082] The display module is used to display the reading notes after obtaining the reading notes of the reading content.

[0083] The reading note generating device 30 of the embodiment of the present application can realize the above Figure 1 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0084] Optional, such as Figure 4 As shown, an embodiment of the present application also provides an electronic device 40, including a processor 41, a memory 42, and a program or instruction stored in the memory 42 and executable on the processor 41. When the program or instruction is executed by the processor 41, each process of the above-mentioned reading note generation method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0085] An embodiment of the present application also provides a computer program product, including computer instructions. When the computer instructions are executed by a processor, the various processes of the above-mentioned reading note generation method embodiment can be implemented and the same technical effect can be achieved. To avoid repetition, they will not be repeated here.

[0086] The embodiment of the present application also provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned reading note generation method embodiment can be implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0087] Computer readable media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0088] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0089] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0090] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a service classification device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0091] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A reading note generation method, characterized in that: include: In response to receiving an instruction to create a reading note, obtaining reading content selected by a reader, material information related to the reading content, and attribute information of the reader; Generate prompts according to the reading content, the material information and the attribute information; wherein the prompts are used to describe the required reading notes; The prompt is input into a pre-trained reading note generation model to obtain reading notes of the reading content.

2. The method according to claim 1, characterized in that Generating a prompt according to the reading content, the material information and the attribute information includes: Inputting the reading content, the material information and the attribute information into a pre-trained prompt generation model to generate the prompt; Among them, the prompt generation model is obtained by fine-tuning the summary generation model using a training data set, and the training data set includes multiple groups of data, each group of data includes attribute information of historical readers, reading content to which reading notes have been added by the historical readers, reading resource information, and annotated prompts for describing the required reading notes.

3. The method according to claim 2, characterized in that Before inputting the reading content, the material information and the attribute information into a pre-trained prompt generation model and generating the prompt, the method further comprises: Determine the field to which the reading content belongs, and determine a target prompt generation model corresponding to the field; The step of inputting the reading content, the material information and the attribute information into a pre-trained prompt generation model to generate the prompt includes: The reading content, the material information and the attribute information are input into the target prompt generation model to generate the prompt.

4. The method according to claim 1, characterized in that: The training process of the reading note generation model includes: Constructing a training sample set; wherein the training sample set includes multiple groups of data, each group of data includes sample prompts for describing required reading notes and reading notes corresponding to the sample prompts, the sample prompts are obtained based on attribute information of historical readers, reading content to which the reading notes have been added, and reading resource information; The pre-trained large language model is fine-tuned using the training sample set to obtain the reading note generation model.

5. The method according to claim 1, characterized in that Before inputting the prompt into a pre-trained reading note generation model to obtain the reading notes of the reading content, the method further includes: Determine the field to which the reading content belongs, and determine a target reading note generation model corresponding to the field; The step of inputting the prompt into a pre-trained reading note generation model to obtain reading notes of the reading content includes: The prompt is input into the target reading note generation model to obtain the reading notes of the reading content.

6. The method according to any one of claims 1 to 5, characterized in that: After obtaining the reading notes of the reading content, the method further includes: Display said reading notes.

7. A reading note generating device, characterized in that: include: An acquisition module, configured to acquire, in response to receiving an instruction to create a reading note, the reading content selected by the reader, material information related to the reading content, and attribute information of the reader; A generating module, used to generate prompts according to the reading content, the material information and the attribute information; wherein the prompts are used to describe the required reading notes; The processing module is used to input the prompt into a pre-trained reading note generation model to obtain reading notes for the reading content.

8. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method according to any one of claims 1 to 6.

9. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 6.