Method, system and equipment for generating model essay text with format template and storage medium
Through preset template files and classification and grading methods, the content generation AI service platform is used to generate template model essays in format, which solves the problem that the template model format and content in the existing technology need to be manually adjusted, and achieves the effect of rapid generation and display.
Patent Information
- Application Number
- CN202410155402.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-04
- Publication Date
- 2025-08-08
AI Technical Summary
Existing content-generated AI applications cannot directly generate template sample essays with formats, and users need to manually adjust the format and content, resulting in poor reading experience and cumbersome operation.
Through preset template files and classification and grading methods, a content generation AI service platform is used to generate formatted template text that meets the model essay type, and the content is filled in the prefabricated text format, providing third-party plug-ins to display and download.
It realizes the rapid generation of template sample essays that meet the format requirements, improves the reading experience, reduces the difficulty of user operations, and saves time.
Smart Images

Figure CN120449847A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of content-generating AI, and in particular to a method, system, device, and storage medium for generating formatted template example text. Background Art
[0002] AI application websites, after integrating content-generating AI services such as ChatGPT and Wenxin Yiyan, can provide answers to specific user questions. Users can use chat windows or Q&A sessions on the website to request AI-generated templates, such as reports, proposals, plans, questionnaires, briefings, notices, minutes, regulations, and speeches, to meet specific requirements. The AI service will then generate text content based on the questions and provide it to the AI application website, which will then present it to the user.
[0003] Typically, AI application websites present users with plain text returned by AI services, which presents the following problems:
[0004] (1) The chapters and content are incomplete, and the paragraphs and formats are not arranged; reading pure text has a poor reading experience and is prone to missing details;
[0005] (2) It cannot be used as a sample template. If you want to use it, you need to copy and paste it into a Word file, and then adjust the paragraphs and format manually, which is time-consuming.
[0006] Existing content-generating AI applications can generate sample text based on user questions, but they fail to guide users in selecting precise sample types and are unable to directly generate and display formatted template sample materials. After obtaining the content, users still need to create the document, edit the content, and set the format. Therefore, there is an urgent need to provide a method, system, device, and storage medium for generating formatted template sample text to address these issues. Summary of the Invention
[0007] To this end, it is necessary to provide a website or APP for AI applications. When providing template essay services to users, it can quickly use the content returned by the content generation AI service to generate standardized content and formatted template essays that conform to different essay types.
[0008] To achieve the above object, the inventor provides a method for generating a formatted template sample text, comprising the following steps:
[0009] Preset several template files for template examples;
[0010] Get the required template type;
[0011] Generate prompt instructions based on the template type and send them to the content generation AI service platform;
[0012] The content generation AI service platform returns the generated template content;
[0013] Fill the above template sample content into the template file, generate a formatted template sample and display it to the user.
[0014] As a preferred embodiment of the present invention, the present invention further comprises the steps of:
[0015] In the database, a plurality of template files including a directory framework and a text format are preset;
[0016] The AI application frontend obtains the required template type and sends instructions to the AI application backend;
[0017] The AI application backend obtains the preset information of the required template type based on the template type, automatically encapsulates the prompt statement instructions, and sends them to the content generation AI service platform;
[0018] The content generation AI service platform generates and returns text content based on prompt instructions;
[0019] The AI application background recognizes the text content and fills the content into the corresponding chapter or position of the template file in the corresponding pre-made text format, generating a new template sample with format and content;
[0020] The AI application backend will feed back the template example with format and content to the AI application frontend and display it to the user.
[0021] As a preferred method of the present invention, the AI application foreground obtains the required template example type and sends instructions to the AI application background, which also includes the steps: when the user enters the template example page, the AI application foreground jumps to the template example details page corresponding to the template example first-level category selected by the user, and the AI application foreground presents a list of template example types under the template example first-level category specified by the user, and groups them according to application scenarios and usage roles. The user selects the required template example type according to the usage scenario, and the AI application foreground sends the required template example generation instruction to the AI application background according to the template example type selected by the user.
[0022] As a preferred embodiment of the present invention, the prompt words in the automatic encapsulation prompt statement instruction include: background, role and / or task.
[0023] As a preferred method of the present invention, the AI application background identifies text content and fills the content into the corresponding chapter or position of the template file in the corresponding prefabricated text format to generate a new template template with format and content, including the following steps: the content generation AI service platform generates content, extracts the corresponding content through AI or through keywords in the template, and fills it into the corresponding chapter or position of the template file in the prefabricated text format to generate a new template template with format and content; or, the content generation AI service platform generates key elements and content, and then fills the content into the corresponding chapter or position of the template file in the prefabricated text format according to the key elements to generate a new template template with format and content.
[0024] As a preferred method of the present invention, the AI application background feeds back the template sample with format and content to the AI application foreground and displays it to the user, including the steps of: the AI application foreground displays it to the user through a third-party plug-in; if the user needs to download it, the user downloads the template sample with format and content to the user's local computer through the download button on the user-side operation interface.
[0025] As a preferred method of the present invention, when the AI application background generates a new template example with format and content, it also stores the template example with format and content in the template example instance library. When the number of examples corresponding to the same template example type accumulates to a preset level and the quality assessment value of the content reaches a preset score, the AI application background directly selects the template example with format and content from the template example instance library, provides it to the user, and presents it to the user through a third-party plug-in.
[0026] To achieve the above-mentioned purpose, the inventors also provide a system for generating a formatted template sample text, comprising:
[0027] Template sample display module, used to display information and / or provide user operation selection;
[0028] The template article category acquisition module is used to obtain the first-level category of template articles from the database and send it to the template article display module for display and / or for user selection;
[0029] The template sample type acquisition module is used to receive the template sample category selected by the user, obtain the subcategories and template sample types under the template sample category, and send them to the template sample display module for display and / or for user selection;
[0030] A template sample content generation module is configured to receive a template sample type selected by a user, retrieve preset information from a database, automatically encapsulate prompt statement instructions, and send the result to the content generation AI service platform; and a module is configured to receive template sample content generated by the content generation AI service platform, populate the template sample content into the corresponding section or position of a template file in a corresponding prefabricated text format, generate a new template sample with formatting and content, and send the new template sample to the template sample display module for display and / or user selection.
[0031] The content generation AI service platform is used to generate template sample content according to prompt statement instructions and return it to the template sample content generation module.
[0032] To achieve the above-mentioned object, the inventors also provide a device for generating a formatted template sample text, the device comprising: a memory and at least one processor, the memory storing instructions, the memory and the at least one processor being interconnected via a circuit;
[0033] The at least one processor calls the instructions in the memory to enable the device for generating a formatted template sample text to execute any one of the methods described in the above invention contents.
[0034] To achieve the above objectives, the inventors also provide a computer-readable storage medium having a computer program stored thereon, which implements the steps of any one of the methods described in the above invention contents when executed by a processor.
[0035] Different from the existing technology, the above technical solution has the following beneficial effects:
[0036] (1) Before generating content, the present invention guides users to quickly and accurately select the template model type they need through classification and grading. Then, based on the pre-made model requirements, the content generation AI service is used to generate model content in a specified format and fill it into the formatted template model file. The document is presented to the user through a third-party plug-in, and the user can download and use it immediately if needed;
[0037] (2) The present invention implements a method for guiding users to quickly find the template example types they need in the form of classification and grading.
[0038] (3) The present invention provides a complete solution for users to search and find templates that meet their needs on AI application websites or apps;
[0039] (4) The present invention solves the problem that AI application websites or APPs have poor reading experience when obtaining template examples provided by large-scale AI services, thereby improving the readability of the content.
[0040] (5) The present invention solves the problem that AI application websites or APPs cannot download the plain text templates provided by large-scale AI services as documents that meet the content and format requirements and can be used directly, thereby reducing the user's operating difficulty and saving time. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 The method flow described in the specific implementation method Figure 1 ;
[0042] Figure 2 The method flow described in the specific implementation method Figure 2 ;
[0043] Figure 3 A flowchart of the system described in the specific implementation method;
[0044] Figure 4 This is a schematic diagram of the connection of each functional module in a specific implementation manner;
[0045] Figure 5 This is an example diagram of the performance appraisal summary report template file described in the specific implementation method. DETAILED DESCRIPTION
[0046] In order to explain the technical content, structural features, achieved objectives and effects of the technical solution in detail, the following is a detailed description in conjunction with specific embodiments and accompanying drawings.
[0047] Example 1:
[0048] like Figure 1 As shown, this embodiment provides a method for generating a formatted template sample text, comprising the following steps:
[0049] Preset several template files for template examples;
[0050] Get the required template type;
[0051] Generate prompt instructions based on the template type and send them to the content generation AI service platform;
[0052] The content generation AI service platform returns the generated template content;
[0053] Fill the above template sample content into the template file, generate a formatted template sample and display it to the user.
[0054] Example 2:
[0055] like Figure 2 As shown, in the process of implementing the first embodiment, the following specific steps are also included:
[0056] In the database, a plurality of template files including a directory framework and a text format are preset;
[0057] The AI application frontend obtains the required template type and sends instructions to the AI application backend;
[0058] The AI application backend obtains preset information for the required template type, including content requirements, and automatically encapsulates prompt instructions and sends them to content generation AI service platforms, such as ChatGPT and Wenxin Yiyan.
[0059] The content generation AI service platform generates and returns text content based on prompt instructions;
[0060] The AI application background recognizes the text content and fills the content into the corresponding chapter or position of the corresponding pre-made text format template file, generating a new template with format and content, such as a Word document;
[0061] The AI application backend will feed back the template example with format and content to the AI application frontend and display it to the user.
[0062] In the above embodiment, the AI application background classifies and grades various templates frequently used in the workplace, and provides them to users of different job roles for selective use. Each type of template has a pre-made directory framework (and related requirements), such as title, abstract, summary, etc., in the database; at the same time, a template file in text format is also pre-made, such as a Word template file, in which the chapter directory framework, content format and variables, etc. are pre-set. The AI application obtains the pre-made directory framework (and related requirements) and template files from the database and caches them.
[0063] In the above embodiment, the AI application foreground obtains the required template example type and sends instructions to the AI application background, which also includes the steps: when the user enters the template example page, the AI application foreground jumps to the template example details page corresponding to the template example first-level category selected by the user, and the AI application foreground presents a list of template example types under the template example first-level category specified by the user, and groups them according to application scenarios and usage roles. The user selects the required template example type according to the usage scenario, and the AI application foreground sends the required template example generation instruction to the AI application background according to the template example type selected by the user.
[0064] Based on the template type selected by the user, the AI application backend retrieves preset information for that template type, such as a pre-built directory framework (and related requirements), automatically packages prompt statements, and then sends the prompt statements to content generation AI service platforms such as ChatPT and Wenxinyiyan. To ensure more accurate content returned by the AI, these automatic packaged prompt statements can also include prompt information such as background, role, and task.
[0065] In the above embodiment, the content-generating AI service platform receives prompt statement instructions, including content requirements, and returns the generated results to the AI application backend. The generated results are tested with code to ensure that they meet the chapter and content requirements of this type of template. The AI application backend obtains a pre-set text-formatted template file based on the template type, such as a Word template file. It can then fill the content into the corresponding chapters or locations in the template file using various methods to generate a new instance file with formatting and content. There are two ways to implement this: Method 1: Generate content through the content-generating AI service platform, then extract the corresponding content through AI or keywords in the template, and fill it into the corresponding chapters or locations in the pre-set text-formatted template file to generate a new template with formatting and content. Method 2: Generate key elements and content through the content-generating AI service platform, then fill the key elements into the corresponding chapters or locations in the pre-set text-formatted template file to generate a new template with formatting and content.
[0066] The AI application backend will feed back the template sample with formatting and content, such as a Word document, to the AI application frontend, which will display it to the user through a third-party plug-in. At this time, the user will see a formatted sample file, including content and formatting. If the user needs to download it, the user can click the download button on the user-side operation interface. The AI application frontend can directly provide the document to the user, and the template sample with formatting and content can be downloaded to the user's local computer.
[0067] In some embodiments, another auxiliary method is provided to provide users with preferred document solutions, namely: when the AI application background generates a new template example with format and content, it also stores the template example with format and content in the template example instance library. When the number of examples corresponding to the same template example type accumulates to a preset level, and the quality assessment value of the content reaches a preset score, the AI application background can directly select the template example with format and content from the template example instance library, such as a word document, and provide it to the user, and present it on the front-end page through a third-party plug-in. Users can view and download it online to improve efficiency and save traffic.
[0068] Example 3:
[0069] like Figure 3、 Figure 4 and Figure 5 As shown, this embodiment provides a system for generating a formatted template sample text, including:
[0070] Template sample display module, used to display information and / or provide user operation selection;
[0071] The template article category acquisition module is used to obtain the first-level category of template articles from the database and send it to the template article display module for display and / or for user selection;
[0072] The template sample type acquisition module is used to receive the template sample category selected by the user, obtain the subcategories and template sample types under the template sample category, and send them to the template sample display module for display and / or for user selection;
[0073] A template sample content generation module is configured to receive a template sample type selected by a user, retrieve preset information from a database, automatically encapsulate prompt statement instructions, and send the result to the content generation AI service platform; and a module is configured to receive template sample content generated by the content generation AI service platform, populate the template sample content into the corresponding section or position of a template file in a corresponding prefabricated text format, generate a new template sample with formatting and content, and send the new template sample to the template sample display module for display and / or user selection.
[0074] The content generation AI service platform is used to generate template sample content according to prompt statement instructions and return it to the template sample content generation module.
[0075] The specific implementation process of this embodiment specifically includes:
[0076] The AI application backend classifies and grades various templates frequently used in the workplace to meet the needs of selecting and using templates in different positions and scenarios. The AI application backend presets first-level categories of templates, such as reports, plans, proposals, questionnaires, briefings, notices, minutes, systems, speeches, etc., and then subdivides each first-level category into lower-level categories, and breaks down specific template types from a departmental perspective. For example, the lower-level categories of reports include: research reports, survey reports, summary reports, work reports, and other 11 categories. The departmental perspective includes: human resources department, administration department, customer service department, finance department, sales department, marketing department, research and development department, procurement department, production department, and other 11 departments. Corresponding templates are preset for each category and each department. A list of types, such as: the Ministry of Human Resources' research report includes template examples such as employee satisfaction research report, performance management method research report, salary incentive research report, and organizational structure optimization research report. Finally, for each template example type, preset content requirements and template files with text format, including: font size, position, paragraphs, etc. For example, the content requirements of the employee satisfaction research report include directory framework information such as title, abstract, summary, and can also include: background, role, and other information for generating the template; the template file of the employee satisfaction research report is such as "Employee Satisfaction Research Report Template.doc".
[0077] The user enters the template sample page, and the template sample display module requests the template sample category acquisition module to obtain the template sample first-level category.
[0078] The template sample category acquisition module obtains the first-level categories of template samples from the database, such as: report category, program category, plan category, questionnaire category, etc., and sends it to the template sample display module. The template sample display module displays the first-level categories for users to choose.
[0079] The Template Sample Display Module accesses the report category's template details page based on the user's selected report category, such as the report category, and requests the template sample type to obtain the template. It then retrieves the report category's subcategories and the report sample types required by each department. For example, the report subcategories include 11 categories, such as research reports, survey reports, summary reports, and work reports. From a departmental perspective, these include 11 departments, such as the Human Resources Department, the Administration Department, and the Customer Service Department, and presents them to the user. For example, if a user requires a summary report from the Human Resources Department, including a performance appraisal summary report, a talent acquisition summary report, and a compensation analysis summary report, the Template Sample Display Module sends a performance appraisal summary report request to the Template Sample Content Generation Module based on the user's selected report sample type, such as the performance appraisal summary report.
[0080] The template content generation module receives a request for a performance appraisal summary report, obtains preset information of the performance appraisal summary report from the database, such as content requirements, etc., and automatically encapsulates prompt statement instructions. The content of the report must include the following parts: title, abstract, summary, etc. The template content generation module sends the organized prompt statement instructions to the content generation AI service platform, such as ChatGPT, Wenxin Yiyan, etc. The content generation AI service platform generates the performance appraisal summary report result content based on the prompt statement instructions of the performance appraisal summary report, and returns it to the template content generation module. Such as a performance appraisal summary report. Including: Summary: All employees actively engaged in work, completed various tasks, summaries and other result content. The template generation module receives the result content, obtains a formatted performance appraisal summary report template file according to the template type, and fills the content into the performance appraisal summary report template file. There are currently two ways to fill the content:
[0081] Method 1: Use the content generation AI service platform to extract the key elements and element content from the received content, and then fill them into the template file instance. First, the template sample content generation module encapsulates the prompt statement instruction: Please help me extract the content of the key elements based on the content you just generated, and use ":" to separate the key elements and content. Then the template sample content generation module sends the prompt statement instruction to the content generation AI service platform. After receiving the instruction, the content generation AI service platform returns the specified content. The template sample content generation module extracts the key elements and element content one by one according to the specified content received, such as title, abstract, summary, etc., and then searches the performance appraisal summary report template file for the variables corresponding to the key elements, such as: ${summary variable}, ${background profile variable}, and fills the content corresponding to the key elements into the variables in the template file. If the corresponding variable is not found in the template file, the content corresponding to the key element is discarded, and finally a new sample file with format and content is generated.
[0082] Method 2: Use the keywords in the performance appraisal summary report template file to reversely extract the key elements in the received content and fill them into the template file. First, the template content generation module extracts key elements from the performance appraisal summary report template file, such as title, abstract, summary, etc., and then reversely extracts the content corresponding to the key elements from the result content returned by AI, and fills them into the variables corresponding to the key elements in the template file, such as: ${summary variable}, ${background profile variable}. If the corresponding content is not extracted, the content corresponding to the key element is discarded and not filled into the template file, and finally a new sample file with format and content is generated.
[0083] The template sample content generation module will feed back the generated performance appraisal summary report WORD sample file to the template sample display module, and the template sample display module will directly display the formatted performance appraisal summary report content to the user through a third-party plug-in.
[0084] When the user clicks the download button, the template sample display module directly provides the performance appraisal summary report document to the user and downloads it to the user's local computer.
[0085] Example 4:
[0086] like Figure 3 、 Figure 4 and Figure 5 As shown, the AI application backend classifies and grades various templates frequently used in the workplace to meet the selection and use of templates in different positions and scenarios. The AI application backend presets first-level categories of templates, such as reports, plans, proposals, questionnaires, briefings, notices, minutes, systems, speeches, etc., and then subdivides each first-level category into lower-level categories, and breaks down specific template types from a departmental perspective. For example, the lower-level categories of reports include research reports, survey reports, summary reports, work reports, and other 11 categories. The departmental perspective includes 11 departments, including human resources, administration, customer service, finance, sales, marketing, R&D, purchasing, and production. Corresponding categories are preset for each category and each department. A list of template sample types, such as: the Ministry of Human Resources' research report includes template sample types such as employee satisfaction research report, performance management method research report, compensation incentive research report, organizational structure optimization research report, etc. Finally, for each template sample type, preset sample content requirements and template files with text format, including: font size, position, paragraph, etc. For example: the content requirements of the employee satisfaction research report include directory framework information such as title, abstract, summary, and can also include: background role and other information; the template file of the employee satisfaction research report is such as "Employee Satisfaction Research Report Template.doc".
[0087] The user enters the template sample page, and the template sample display module requests the template sample category acquisition module to obtain the template sample first-level category.
[0088] The template sample category acquisition module obtains the first-level categories of template samples from the database, such as: report category, program category, plan category, questionnaire category, etc., and sends it to the template sample display module. The template sample display module displays the first-level categories for users to choose.
[0089] The template sample display module enters the report category template details page according to the report category selected by the user, such as: report category, and requests the template sample type to obtain the template, obtain the sub-categories of the report category, and the report sample types required by each department, such as: the sub-categories of the report include research reports, survey reports, summary reports, work reports and other 11 categories. From the perspective of the department, it includes: 11 departments such as the human resources department, administrative department, customer service department, etc., and presents them to the user. For example, if the user needs a summary report from the human resources department, including a performance appraisal summary report, a talent introduction summary report, a salary analysis summary report, etc., according to the report sample type selected by the user, such as: performance appraisal summary report, the template sample display module sends a performance appraisal summary report request to the template sample content generation module
[0090] Upon receiving a request for a performance review summary report, the template content generation module retrieves preset performance review summary report information from the database, such as content requirements, and automatically encapsulates prompt statements. These prompt statements instruct the AI to generate key elements and return them in a specified format. For example, a report must include the following: title, abstract, and summary. When returning the results, the key elements and content are separated by slashes (":") and returned line by line. Upon receiving the instructions, the content generation AI service platform returns the specified content according to the prompt statement instructions. The template content generation module retrieves a pre-configured performance review summary report template file based on the template report type. It then extracts key elements and content from the result content, such as title, abstract, and summary. It then searches the performance review summary report template file for variables corresponding to these key elements and populates the corresponding result content into variables, such as ${summary variable} and ${background profile variable}. If the pre-configured variables are not found in the performance review summary report template file, the result content corresponding to the key elements is discarded, ultimately generating a new template file with the required format and content.
[0091] The template sample content generation module feeds back the generated performance appraisal summary report sample file to the template sample display module, and the template sample display module directly displays the formatted performance appraisal summary report content to the user through a third-party plug-in.
[0092] When the user clicks the download button, the template display module directly provides the performance appraisal summary report sample file to the user, who can download it locally.
[0093] Embodiment 5:
[0094] This embodiment further provides a device for generating a formatted template sample text, the device comprising: a memory and at least one processor, the memory storing instructions, the memory and the at least one processor being interconnected via a circuit;
[0095] The at least one processor calls the instructions in the memory to enable the device for generating a formatted template sample text to execute the method described in any one of the above embodiments.
[0096] Example 6:
[0097] This embodiment further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in any one of the above embodiments are implemented.
[0098] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other media that can store program code.
[0099] It should be noted that although the above embodiments have been described herein, this does not limit the scope of patent protection of the present invention. Therefore, based on the innovative concept of the present invention, changes and modifications to the embodiments described herein, or equivalent structural or equivalent process transformations made using the contents of the present invention's specification and drawings, and direct or indirect application of the above technical solutions to other related technical fields, are all included in the scope of patent protection of the present invention.
Claims
1. A method for generating a formatted template sample text, characterized in that: The following steps are involved: Preset several template files for template examples; Get the required template type; Generate prompt instructions based on the template type and send them to the content generation AI service platform; The content generation AI service platform returns the generated template content; Fill the above template sample content into the template file, generate a formatted template sample and display it to the user.
2. The method for generating a formatted template sample text according to claim 1, wherein: Also includes the steps: In the database, a plurality of template files including a directory framework and a text format are preset; The AI application frontend obtains the required template type and sends instructions to the AI application backend; The AI application backend obtains the preset information of the required template type based on the template type, automatically encapsulates the prompt statement instructions, and sends them to the content generation AI service platform; The content generation AI service platform generates and returns text content based on prompt instructions; The AI application background recognizes the text content and fills the content into the corresponding chapter or position of the template file in the corresponding pre-made text format, generating a new template sample with format and content; The AI application backend will feed back the template example with format and content to the AI application frontend and display it to the user.
3. The method for generating a formatted template sample text according to claim 2, characterized in that: The AI application front end obtains the required template example type and sends instructions to the AI application back end, which also includes the steps: when the user enters the template example page, the AI application front end jumps to the template example details page corresponding to the template example first-level category selected by the user, and the AI application front end presents a list of template example types under the template example first-level category specified by the user, and groups them according to application scenarios and usage roles. The user selects the required template example type according to the usage scenario, and the AI application front end sends the required template example generation instruction to the AI application back end according to the template example type selected by the user.
4. The method for generating a formatted template sample text according to claim 2, wherein: The prompt words in the automatic encapsulation prompt statement instruction include: background, role and / or task.
5. The method for generating a formatted template sample text according to claim 2, wherein: The AI application background recognizes the text content and fills the content into the corresponding chapter or position of the template file in the corresponding prefabricated text format to generate a new template sample with format and content, including the following steps: the content generation AI service platform generates content, extracts the corresponding content through AI or through keywords in the template, and fills it into the corresponding chapter or position of the template file in the prefabricated text format to generate a new template sample with format and content; or, the content generation AI service platform generates key elements and content, and then fills the content into the corresponding chapter or position of the template file in the prefabricated text format according to the key elements to generate a new template sample with format and content.
6. The method for generating a formatted template sample text according to claim 2, wherein: The AI application backend feeds back the template sample with format and content to the AI application frontend and displays it to the user, including the following steps: the AI application frontend displays it to the user through a third-party plug-in; if the user needs to download it, the user clicks the download button on the user-side operation interface to download the template sample with format and content to the user's local computer.
7. The method for generating a formatted template sample text according to claim 2, characterized in that: When the AI application background generates a new template example with format and content, it also stores the template example with format and content in the template example instance library. When the number of template examples corresponding to the same template example type reaches a preset level and the quality assessment value of the content reaches the preset score, the AI application background directly selects the template example with format and content from the template example library, provides it to the user, and presents it to the user through a third-party plug-in.
8. A system for generating formatted template sample texts, characterized in that: include: Template sample display module, used to display information and / or provide user operation selection; The template article category acquisition module is used to obtain the first-level category of template articles from the database and send it to the template article display module for display and / or for user selection; The template sample type acquisition module is used to receive the template sample category selected by the user, obtain the subcategories and template sample types under the template sample category, and send them to the template sample display module for display and / or for user selection; The template content generation module is used to receive the template type selected by the user, obtain preset information from the database, automatically encapsulate prompt statements and instructions, and send them to the content generation AI service platform; Also, it is used to receive the template sample content generated by the content generation AI service platform, and fill the template sample content into the corresponding chapter or position of the corresponding prefabricated text format template file, generate a new template sample with format and content, and send it to the template sample display module for display and / or for user selection; The content generation AI service platform is used to generate template sample content according to prompt statement instructions and return it to the template sample content generation module.
9. A device for generating a formatted template sample text, characterized in that: The device for generating a formatted template sample text comprises: a memory and at least one processor, wherein the memory stores instructions, and the memory and the at least one processor are interconnected via a circuit; The at least one processor calls the instructions in the memory to enable the device for generating a formatted template sample text to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.