Generation method and device of PowerPoint, electronic equipment and storage medium

By obtaining user input information and displaying multiple presentation templates, and using large language models to generate presentation outlines and content, it solves the problems of low generation efficiency and poor user experience in the existing technology, and achieves fast and efficient personalized presentation generation. .

CN118734793AActive Publication Date: 2024-10-01BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD

Patent Information

Application Number
CN202410940178.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-01
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

It is difficult to generate personalized presentations quickly and efficiently with existing technology. Users need to manually enter detailed content and select templates, resulting in low generation efficiency and poor user experience.

Method used

By obtaining user input information, displaying multiple presentation templates and responding to user selections, it uses a large language model to generate a presentation outline, and automatically generates presentations based on the outline and selected templates, simplifying user operations and reducing generation time.

Benefits of technology

It improves the efficiency and personalization of presentation generation, simplifies the user operation process, meets the personalized needs of different users, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734793A_ABST
    Figure CN118734793A_ABST
Patent Text Reader

Abstract

The invention provides a presentation file generation method and device, electronic equipment and a storage medium, and relates to the field of artificial intelligence, in particular to the technical fields of NLP, large models, LLM, deep learning and the like. According to the specific implementation scheme, the method comprises the steps of obtaining input information associated with a to-be-generated PowerPoint; displaying the plurality of presentation file templates, and determining a target template from the plurality of presentation file templates in response to the monitored template selection operation; according to the input information, displaying a presentation file outline; and displaying the PowerPoint according to the PowerPoint outline and the target template.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of AI (Artificial Intelligence), specifically to technical fields such as NLP (Natural Language Processing), large models, LLM (Large Language Model), deep learning, and especially to methods, devices, electronic devices and storage media for generating presentations. Background Art

[0002] With the continuous promotion of office software, PPT (PowerPoint) and PPT-like presentations can be applied to multiple fields. For example, they can be used in the field of education to improve teaching efficiency and enhance classroom interactivity; they can be used in the field of training to visually assist students in quick understanding; they can be used in the field of corporate publicity to enhance brand image and intuitively and accurately convey corporate information, product advantages and market positioning; they can be used in the field of management consulting to help clients clearly understand the work results of the consulting team and ensure that both the consulting team and the client have a consensus on the understanding of the problem and the solution, etc., which are not listed here one by one. Summary of the invention

[0003] The present disclosure provides a method, device, electronic device and storage medium for generating a presentation.

[0004] According to one aspect of the present disclosure, a method for generating a presentation is provided, comprising:

[0005] Obtaining input information associated with the presentation to be generated;

[0006] Displaying a plurality of presentation templates, and in response to detecting a template selection operation, determining a target template from the plurality of presentation templates;

[0007] Based on the input information, display a presentation outline;

[0008] The presentation is presented according to the presentation outline and the target template.

[0009] According to another aspect of the present disclosure, there is provided a device for generating a presentation, comprising:

[0010] A first acquisition module, used to acquire input information associated with a presentation to be generated;

[0011] A first determination module, configured to display a plurality of presentation templates and determine a target template from the plurality of presentation templates in response to monitoring a template selection operation;

[0012] A first display module, used to display the presentation outline according to the input information;

[0013] The second display module is used to display the presentation according to the presentation outline and the target template.

[0014] According to another aspect of the present disclosure, there is provided an electronic device, comprising:

[0015] at least one processor; and

[0016] a memory communicatively connected to the at least one processor; wherein,

[0017] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the presentation generation method proposed in the above aspect of the present disclosure.

[0018] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium of computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the presentation generation method proposed in the above-mentioned first aspect of the present disclosure.

[0019] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, which, when executed by a processor, implements the method for generating a presentation proposed in the above aspect of the present disclosure.

[0020] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0022] Figure 1 A flowchart of a method for generating a presentation provided in the first embodiment of the present disclosure;

[0023] Figure 2 The client interface provided by the embodiment of the present disclosure is shown in FIG. Figure 1 ;

[0024] Figure 3 A schematic diagram of a flow chart of a method for generating a presentation provided in Embodiment 2 of the present disclosure;

[0025] Figure 4 The client interface provided by the embodiment of the present disclosure is shown in FIG. Figure 2 ;

[0026] Figure 5 The client interface provided by the embodiment of the present disclosure is shown in FIG. Figure 3 ;

[0027] Figure 6 A flowchart of a method for generating a presentation provided in Embodiment 3 of the present disclosure;

[0028] Figure 7 The client interface provided by the embodiment of the present disclosure is shown in FIG. Figure 4 ;

[0029] Figure 8 A flowchart of a method for generating a presentation provided in Embodiment 4 of the present disclosure;

[0030] Fig. 9 A schematic diagram of a presentation outline provided for an embodiment of the present disclosure;

[0031] Fig.10 A flowchart of a method for generating a presentation provided in Embodiment 5 of the present disclosure;

[0032] Fig.11 A flowchart of a method for generating a presentation provided in Embodiment 6 of the present disclosure;

[0033] Fig.12 The client interface provided by the embodiment of the present disclosure is shown in FIG. Figure 5 ;

[0034] Fig.13 It is a schematic diagram of the implementation principle of each embodiment of the present disclosure;

[0035] Fig.14 A schematic diagram of the generation principle of the presentation provided in the embodiment of the present disclosure;

[0036] Fig.15 A schematic diagram of the structure of a device for generating a presentation provided in Embodiment 7 of the present disclosure;

[0037] Fig.16 A schematic block diagram of an example electronic device that can be used to implement embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0038] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0039] The following describes the method, device, electronic device and storage medium for generating a presentation in accordance with an embodiment of the present disclosure with reference to the accompanying drawings. Before describing the embodiment of the present disclosure in detail, for ease of understanding, common technical terms are first introduced:

[0040] A large model refers to a machine learning model with large-scale parameters and complex computational structures. It is usually built from deep neural networks and has billions or even hundreds of billions of parameters. The purpose of designing a large model is to improve the model's expressiveness and predictive performance, and to be able to handle more complex tasks and data. Large models are widely used in various fields, including natural language processing, computer vision, speech recognition, and recommendation systems.

[0041] The LLM in the big model is a type of natural language processing model based on deep learning. Its main features are huge model parameters and complex neural network structure, strong language understanding, context perception and language generation capabilities. It can automatically learn useful feature representations from input data and generate relevant text.

[0042] Figure 1 A flowchart of a method for generating a presentation provided in Embodiment 1 of the present disclosure.

[0043] The method for generating a presentation in the embodiment of the present disclosure can be applied to a client, where the client refers to a software program running on an electronic device and providing services to users.

[0044] Among them, the electronic device can be any device with computing capabilities, such as a personal computer, a mobile terminal, etc. The mobile terminal can be, for example, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, and other hardware devices with various operating systems, touch screens and / or display screens.

[0045] like Figure 1 As shown, the method for generating a presentation may include the following steps S101 to S104:

[0046] Step S101, obtaining input information associated with the presentation to be generated.

[0047] The presentation to be generated includes but is not limited to: PPT (PowerPoint) and presentations similar to PPT.

[0048] In any embodiment of the present disclosure, the input information associated with the presentation to be generated may be input by the user, or may be obtained by content parsing a document uploaded by the user, or may be generated based on related words clicked by the user (including but not limited to associative words, preset words), etc. The present disclosure does not impose any restrictions on this.

[0049] Among them, the associated words, also known as automatic associated words or search drop-down words, are determined based on the user's historical search behavior and hot search trends. Among them, the historical search behavior includes but is not limited to: historical search keywords, search time, search frequency, etc.; hot search trends can be triggered by various factors such as current hotspots, social events, popular culture, etc.

[0050] Among them, preset words are words or phrases that are pre-set based on factors such as user search behavior, seasonal events, and popular events.

[0051] The input method of inputting information may include but is not limited to touch input (such as sliding, clicking, etc.), keyboard input, voice input, etc.

[0052] Step S102, displaying a plurality of presentation templates, and in response to monitoring a template selection operation, determining a target template from the plurality of presentation templates.

[0053] In the disclosed embodiment, multiple presentation templates can be recommended or displayed to the user in advance based on the user's preferences, and then the user can manually select a target template from the multiple presentation templates displayed by the client according to his or her own needs. At this time, when the client detects a template selection operation triggered by the user, it can respond to the template selection operation and determine the target template required by the user from the multiple presentation templates displayed.

[0054] As an example, the client displays multiple presentation templates as follows: Figure 2 As shown, users can click Figure 2 as the target template.

[0055] Step S103, displaying the presentation outline according to the input information.

[0056] In the disclosed embodiment, the client can display the presentation outline based on the input information. For example, the client can process the input information by calling the big model (or LLM), obtain the presentation outline output by the big model, and display the presentation outline.

[0057] Step S104, displaying the presentation according to the presentation outline and the target template.

[0058] In the disclosed embodiment, the client may display the presentation according to the presentation outline and the target template.

[0059] As an example, the client can send the presentation outline and the target template to the server, and the server will generate the presentation text corresponding to each node in the presentation outline. For example, the server can use a large model to generate the presentation text corresponding to each node in the presentation outline. After that, the server can use each node and the presentation text corresponding to each node to fill in the target template to obtain the presentation, and send the presentation to the client. Accordingly, after receiving the presentation sent by the server, the client can display the presentation.

[0060] The method for generating a presentation in the embodiment of the present disclosure can realize automatic generation of a presentation outline according to input information provided by a user, and generate a final presentation according to the presentation outline and the presentation template selected by the user, which can not only improve the generation efficiency of the presentation, but also meet the personalized presentation generation needs of different users, and improve the user experience. In addition, in the present disclosure, by understanding the user's preferences in advance, and based on the user's preferences, recommending or displaying multiple presentation templates to the user, the user selects a target template of interest from the multiple recommended or displayed presentation templates in advance before generating the presentation outline, so that after generating the presentation outline, the presentation is generated according to the target template and the presentation outline selected by the user, which can not only simplify the user's operation, but also reduce the time the user waits for the presentation, and improve the user's experience.

[0061] It should be noted that in the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information are all carried out with the user's consent, and are in compliance with relevant laws and regulations and do not violate public order and good morals.

[0062] In order to clearly explain how the client in any embodiment of the present disclosure determines a target template required by a user from multiple presentation templates, the present disclosure also proposes a method for generating a presentation.

[0063] Figure 3 A flowchart of a method for generating a presentation provided in Embodiment 2 of the present disclosure.

[0064] like Figure 3 As shown, the method for generating a presentation may include the following steps S301 to S306:

[0065] Step S301, obtaining input information associated with the presentation to be generated.

[0066] For the explanation of step S301, reference may be made to the relevant description in any embodiment of the present disclosure, and no further details will be given here.

[0067] In any embodiment of the present disclosure, when the client detects a document upload operation triggered by a user, the client can respond to the document upload operation, obtain the target document uploaded by the user, parse the target document to obtain the document content, and determine the input information associated with the presentation to be generated based on the document content.

[0068] As an example, the client interface can be displayed as follows Figure 4 As shown, the display interface may display a theme input control ( Figure 4 41) and the document upload control ( Figure 4 42), the user can click Figure 4 The "Upload Document" control 42 in the text editor is used to trigger the document upload operation and upload the target document. Thus, in the present disclosure, the document content in the target document can be used as input information associated with the presentation to be generated.

[0069] In any embodiment of the present disclosure, when the client detects a subject input operation triggered by the user, the client can respond to the subject input operation, obtain the document subject associated with the presentation to be generated input by the user, and determine the input information associated with the presentation to be generated based on the document subject.

[0070] As an example, users can click Figure 4 The "Enter Topic" control 41 in the Figure 4 The document subject is input in the input box shown in the middle area 43, so that the client can determine the input information associated with the presentation to be generated based on the document subject.

[0071] In one example, the client may directly use the document topic as input information associated with the presentation to be generated.

[0072] In another example, the client may indirectly determine the input information associated with the presentation to be generated based on the subject of the document.

[0073] Exemplarily, the display interface of the client may also display: a guide text; wherein the guide text is used to guide the user to input the required manuscript theme, for example, the guide text may be as follows: Figure 4 In the input box shown in area 44 in the middle area 43, the client can generate input information associated with the presentation to be generated according to the presentation theme and the guide text. For example, the client can combine the guide text with the presentation theme to obtain input information associated with the presentation to be generated.

[0074] For example, the display interface of the client may also display a background word, which may be displayed in the input box to prompt the user to enter the required topic. Figure 4 “Please enter the topic you want to create” in the input box shown in area 43.

[0075] Thus, the user can intuitively know how to input the required manuscript topic, which improves the user's experience. In addition, the user only needs to input the manuscript topic, without the need for the user to manually input the guiding copy containing the intention of presentation generation, which can reduce the user's input operation and further improve the user experience.

[0076] In any embodiment of the present disclosure, when the client detects a text input operation triggered by the user, the client can obtain input information associated with the presentation document to be generated input by the user in response to the text input operation.

[0077] As an example, the client interface can be displayed as follows Figure 5 As shown, the user can directly input the input information associated with the presentation document to be generated in the input box shown in area 51.

[0078] In any embodiment of the present disclosure, when the client detects a selection operation triggered by the user, the client can select a target word associated with the presentation document to be generated from at least one displayed candidate word in response to the selection operation, and generate input information associated with the presentation document to be generated based on the target word.

[0079] The candidate words include associated words and / or preset words, and the associated words are determined based on historical search behaviors and hot search trends.

[0080] As an example, the target word may be directly used as input information associated with the presentation to be generated.

[0081] As another example, the guiding text may be concatenated with the target word to obtain input information associated with the presentation to be generated.

[0082] In summary, it is possible to obtain input information associated with the presentation document to be generated based on different methods, which can improve the flexibility and applicability of the method.

[0083] Step S302, displaying a plurality of candidate template themes; wherein different candidate template themes have different template styles.

[0084] In any embodiment of the present disclosure, different candidate template themes may include at least one of the following differences in addition to different template styles: different template background colors; different template fonts; different template font colors; different template transparencies; different title backgrounds; different special font icons; different background images, etc.

[0085] In this way, the richness and diversity of presentation templates can be improved, and the visual effects and attractiveness of presentation templates can be improved, thereby meeting the needs of generating presentations in different occasions and themes.

[0086] In any embodiment of the present disclosure, the candidate template theme may be: a pre-configured template theme.

[0087] In any embodiment of the present disclosure, the candidate template theme may also be: a template theme selected or recommended from pre-configured template themes.

[0088] As an example, the candidate template theme may be determined by the server using the following steps A to C and sent to the client:

[0089] Step A: Obtain user preference information and historical behavior data associated with the client.

[0090] Among them, user preference information refers to subjective information such as personal preferences, interests, and needs displayed by users in the process of using the client.

[0091] Among them, historical behavior data refers to the objective records generated by users when they use the client in the past, including browsing, clicking, purchasing, commenting and other behavior data.

[0092] Step B: Obtain the popularity values ​​of multiple template topics.

[0093] For example, the popularity value of each template theme is used to reflect the attention level (or popularity, prevalence) of the template theme at the current time point. The popularity value can be measured by a variety of indicators, such as the usage (or clicks), views, likes, comments, and shares of the template theme.

[0094] Step C: Determine candidate template topics from multiple template topics based on the popularity values, user preference information, and historical behavior data of multiple template topics.

[0095] Exemplarily, the server may use a recommendation algorithm to determine template themes that the client is interested in and have relatively high popularity values ​​from multiple template themes based on the popularity values ​​of multiple template themes, user preference information, and historical behavior data, which are referred to as candidate template themes in this disclosure.

[0096] In summary, it is possible to recommend candidate template themes that are of interest to users and that are personalized to users, thereby improving the user experience.

[0097] Step S303, in response to monitoring the theme selection operation, determining a target template theme from a plurality of candidate template themes, and displaying at least one presentation template under the target template theme.

[0098] In the disclosed embodiment, the user can manually select the desired target template theme from the multiple candidate template themes displayed by the client according to his / her own needs. At this time, when the client detects the theme selection operation triggered by the user, it can respond to the theme selection operation, determine the target template theme required by the user from the multiple candidate template themes displayed, and display at least one presentation template under the target template theme.

[0099] Step S304, in response to detecting a template selection operation, determining a target template from at least one presentation template under the target template theme.

[0100] In the disclosed embodiment, the user can manually select the desired target template from at least one presentation template under the target template theme displayed by the client according to his / her own needs. At this time, when the client detects the template selection operation triggered by the user, it can respond to the template selection operation and determine the target template required by the user from at least one presentation template under the target template theme.

[0101] As an example, the target template selected by the user can be Figure 5 As shown in area 52 in FIG.

[0102] Step S305: display the presentation outline according to the input information.

[0103] Step S306, displaying the presentation according to the presentation outline and the target template.

[0104] For explanations of steps S305 to S306, reference may be made to the relevant descriptions in any embodiment of the present disclosure, and will not be repeated here.

[0105] The presentation generation method of the disclosed embodiment recommends multiple candidate template themes to the client through the server, and the client only displays the presentation templates under the candidate template themes. This can not only simplify user operations and reduce the time for users to select target templates, but also meet the personalized template selection needs of different users.

[0106] In order to clearly illustrate how the presentation outline is displayed according to input information in the above embodiment, the present disclosure also proposes a method for generating a presentation.

[0107] Figure 6 A flowchart of a method for generating a presentation provided in Embodiment 3 of the present disclosure.

[0108] like Figure 6 As shown, the method for generating a presentation may include the following steps S601 to S607:

[0109] Step S601, obtaining input information associated with the presentation to be generated.

[0110] Step S602: display multiple presentation templates, and in response to monitoring a template selection operation, determine a target template from the multiple presentation templates.

[0111] For explanations of steps S601 to S602, reference may be made to the relevant descriptions in any embodiment of the present disclosure and will not be repeated here.

[0112] Step S603, obtaining a first prompt template; wherein the first prompt template is used to prompt the large model to perform an outline generation task.

[0113] Among them, the first prompt template is a pre-set or configured prompt template, and the first prompt template is used to instruct the large model (or large language model) to perform an outline generation task.

[0114] It should be understood that the first prompt template may also be maintained and dynamically updated according to actual application requirements, and the embodiments of the present disclosure do not limit this.

[0115] Step S604: Generate first prompt information according to the first prompt template and the input information.

[0116] In the embodiment of the present disclosure, the first prompt template may be filled with input information to obtain the first prompt information.

[0117] Step S605, processing the first prompt information by calling the large model to obtain the initial outline text output by the large model.

[0118] Among them, the large model can be deployed on the back end (i.e., the server).

[0119] In the disclosed embodiment, the client may perform NLP processing on the first prompt information by calling the large model to obtain the initial outline text output by the large model.

[0120] Step S606, formatting the initial outline text to obtain a presentation outline in a set format, and displaying the presentation outline.

[0121] It should be noted that the initial outline text output by the large model is in plain text form, while the structure of the presentation outline needs to be a tree structure, that is, the presentation outline needs to include a multi-level directory outline. Therefore, in order to make the generated outline meet the actual application needs, in this disclosure, the initial outline text can be formatted to obtain a presentation outline in a set format, and the presentation outline can be displayed.

[0122] As an example, taking the markdown (or markdown-it) format set as a tree diagram as an example, the markdown-it technology can be used to format the initial outline text to obtain a presentation outline in the markdown-it format.

[0123] It should be noted that steps S603 to S606 may also be executed by the server, and this embodiment is only illustrated by the client.

[0124] As an example, the client interface can be displayed as follows Figure 7 As shown, the presentation outline automatically generated by the algorithm can be Figure 7 As shown in area 71 in FIG.

[0125] Step S607, displaying the presentation according to the presentation outline and the target template.

[0126] For the explanation of step S607, reference may be made to the relevant description in any embodiment of the present disclosure, and no further details will be given here.

[0127] In the method for generating a presentation in the embodiment of the present disclosure, the first prompt information can be used as prior information or task information to indicate the task information to be executed by the large model, which can improve the prediction accuracy of the large model. In addition, considering that the initial outline text output by the large model is in the form of plain text, and the structure of the presentation outline needs to be a tree structure, in the present disclosure, the initial outline text is formatted to obtain a presentation outline in a set format, which can improve the standardization of the generated presentation outline and enable the generated presentation outline to meet actual application needs.

[0128] In order to clearly illustrate how a presentation is displayed according to a presentation outline and a target template in any embodiment of the present disclosure, the present disclosure also proposes a method for generating a presentation.

[0129] Figure 8 A flowchart of a method for generating a presentation provided in Embodiment 4 of the present disclosure.

[0130] like Figure 8 As shown, the method for generating a presentation may include the following steps S801 to S805:

[0131] Step S801, obtaining input information associated with the presentation to be generated.

[0132] Step S802: display multiple presentation templates, and in response to monitoring a template selection operation, determine a target template from the multiple presentation templates.

[0133] Step S803, displaying the presentation outline according to the input information; wherein the presentation outline is a tree structure.

[0134] For explanations of steps S801 to S803, reference may be made to the relevant descriptions in any embodiment of the present disclosure, and will not be repeated here.

[0135] Step S804, in response to monitoring the outline modification operation, performing at least one of the following update operations on the presentation outline: updating the position of at least one node in the presentation outline, updating the content of at least one node in the presentation outline, deleting at least one node in the presentation outline, and adding at least one node in the presentation outline.

[0136] It should be noted that the presentation outline automatically generated by the algorithm may have some aspects that the user is not satisfied with. Therefore, after the presentation outline is automatically generated, the presentation outline can be displayed to support the user to modify or edit the presentation outline. For example, the user can modify or edit the presentation outline by clicking, dragging, etc.

[0137] As a possible implementation, when the client detects an outline modification operation triggered by a user, it may perform at least one of the following update operations on the presentation outline:

[0138] The first item is to update the position of at least one node in the presentation outline. Exemplarily, the user can adjust the node position by dragging and dropping.

[0139] The second item is to update the content of at least one node in the presentation outline.

[0140] The third item is to delete at least one node in the presentation outline.

[0141] Fourth, add at least one new node to the presentation outline.

[0142] As an example, an algorithmically generated presentation outline might look like Fig. 9 As shown, the user can edit the content of each node in the presentation outline, adjust the node position, etc. The user can click Fig. 9 The user can also click the "-" icon shown in area 91 to retract the sub-nodes under a node. Fig. 9 Click the “+” icon shown in area 92 in the figure to expand each child node under a certain node.

[0143] Step S805, displaying the presentation according to the updated presentation outline and target template.

[0144] In the disclosed embodiment, the presentation may be displayed according to the updated presentation outline and target template.

[0145] As an example, the client can send the updated presentation outline and target template to the server, and the server will generate the presentation text corresponding to each node in the updated presentation outline. For example, the server can use a large model to generate the presentation text corresponding to each node in the updated presentation outline. After that, the server can use each node and the presentation text corresponding to each node to fill in the target template to obtain the presentation, and send the presentation to the client. Accordingly, after receiving the presentation sent by the server, the client can display the presentation.

[0146] The method for generating a presentation in the embodiment of the present disclosure allows the user to update the presentation outline according to his / her own needs, so that the generated presentation can meet the user's personalized needs and improve the user's usage experience.

[0147] In order to clearly illustrate how a presentation is displayed according to a presentation outline and a target template in any of the above embodiments, the present disclosure also proposes a method for generating a presentation.

[0148] Fig.10 This is a flowchart of a method for generating a presentation provided in Embodiment 5 of the present disclosure.

[0149] like Fig.10 As shown, the method for generating a presentation may include the following steps S1001 to S1006:

[0150] Step S1001, obtaining input information associated with the presentation to be generated.

[0151] Step S1002, displaying a plurality of presentation templates, and in response to monitoring a template selection operation, determining a target template from the plurality of presentation templates.

[0152] Step S1003: display the presentation outline according to the input information.

[0153] For explanations of steps S1001 to S1003 , reference may be made to the relevant descriptions in any embodiment of the present disclosure and will not be repeated here.

[0154] Step S1004, in response to monitoring a triggering operation on a first target control in the presentation interface, presenting the presentation according to the presentation outline and the target template.

[0155] Among them, a first target control and a second target control may be displayed on the display interface of the client, the first target control is used to indicate to keep the content consistent with the original text, and the second target control is used to indicate to expand the original text.

[0156] In the embodiment of the present disclosure, when the client detects that the user has triggered a trigger operation on the first target control in the display interface, the client can respond to the trigger operation and directly display the presentation according to the presentation outline and the target template. The implementation principle is similar to step S104 or S805, and will not be described in detail here.

[0157] As an example, the client interface can be displayed as follows Figure 5 As shown, the first target control can be as follows Figure 5 The "stay consistent" control shown in area 53 in the middle, the second target control can be as shown Figure 5 The “Appropriate Expansion” control shown in the middle area 54 can directly display the presentation according to the presentation outline and target template when the user clicks the “Stay Consistent” control in the area 53 .

[0158] Step S1005, in response to monitoring a triggering operation on a second target control in the presentation interface, obtaining an initial document according to the presentation outline and the target template.

[0159] In an embodiment of the present disclosure, when the client detects that the user has triggered a trigger operation on a second target control in the display interface, the client can obtain the initial document directly according to the presentation outline and the target template in response to the trigger operation.

[0160] As an example, the client can send the presentation outline and the target template to the server, and the server will generate the presentation text corresponding to each node in the presentation outline. For example, the server can use a large model to generate the presentation text corresponding to each node in the presentation outline. After that, the server can use each node and the presentation text corresponding to each node to fill in the target template, obtain the initial document, and send the initial document to the client.

[0161] Step S1006, expanding the initial manuscript to obtain a presentation manuscript, and displaying the presentation manuscript.

[0162] In the disclosed embodiment, the client can also expand the initial manuscript to obtain a final presentation manuscript.

[0163] In any embodiment of the present disclosure, the following steps a to c may be used to expand the initial manuscript to obtain a presentation manuscript:

[0164] Step a: Obtain a second prompt template; wherein the second prompt template is used to prompt the large model to perform a text expansion task.

[0165] Among them, the second prompt template is a pre-set or configured prompt template, and the second prompt template is used to instruct the large model (or large language model) to perform a text expansion task.

[0166] It should be understood that the second prompt template may also be maintained and dynamically updated according to actual application requirements, and the embodiments of the present disclosure do not limit this.

[0167] Step b: Generate second prompt information according to the second prompt template and the initial manuscript.

[0168] Exemplarily, the second prompt template may be filled with the manuscript content in the initial manuscript to obtain the second prompt information.

[0169] Step c: Process the second prompt information by calling the large model to obtain a presentation.

[0170] Exemplarily, the large model is called to process the second prompt information to obtain the document content output by the large model, and the target template is filled with the document content to obtain a presentation.

[0171] It should be noted that step S1004 and steps S1005 to S1006 are two parallel implementation methods. In actual application, only one needs to be executed.

[0172] In summary, the second prompt information can be used as prior information or task information to indicate the task information to be performed by the large model, which can improve the prediction accuracy of the large model. In addition, expanding the content of the presentation can improve the content richness of the presentation, further meet the user's personalized presentation generation needs, and improve the user's experience.

[0173] The method for generating a presentation in the embodiment of the present disclosure allows the user to determine whether to expand the content of the presentation according to his or her own needs, which can meet the user's personalized presentation generation needs and improve the user's usage experience.

[0174] In order to clearly illustrate any of the above embodiments, the present disclosure also proposes a method for generating a presentation.

[0175] Fig.11 A flowchart of a method for generating a presentation provided in Embodiment 6 of the present disclosure.

[0176] like Fig.11 As shown, the method for generating a presentation may include the following steps S1101 to S1110:

[0177] Step S1101, obtaining input information associated with the presentation to be generated.

[0178] Step S1102, displaying a plurality of presentation templates, and in response to monitoring a template selection operation, determining a target template from the plurality of presentation templates.

[0179] For explanations of steps S1101 to S1102 , reference may be made to the relevant descriptions in any embodiment of the present disclosure and will not be repeated here.

[0180] Step S1103, perform intent recognition on the input information to obtain the target intent.

[0181] Exemplarily, deep learning technology can be used to identify the intent of the input information and obtain the target intent. For example, the client can identify the intent of the input information by calling a large model to obtain the user's actual target intent.

[0182] Step S1104, determine whether the target intention matches the set presentation generation intention, if so, execute step S1105, if not, execute step S1106 and subsequent steps.

[0183] It should be noted that step S1105 and step S1106 and subsequent steps are two parallel implementation methods. In actual application, only one needs to be executed.

[0184] Step S1105, displaying the presentation outline according to the input information, and displaying the presentation according to the presentation outline and the target template.

[0185] In the disclosed embodiment, when the target intent matches the presentation generation intent, the client can display the presentation outline based on the input information, and display the presentation based on the presentation outline and the target template. The implementation process can refer to the relevant description in the above embodiment and will not be repeated here.

[0186] Step S1106, determine whether the target intent matches the vertical category intent under the specified field. If so, execute step S1107; if not, execute step S1108 and subsequent steps.

[0187] The designated field may be a field that the client is concerned about. For example, for a learning application client, the target field that the client is concerned about may be the education field; and for a medical application client, the target field that the client is concerned about may be the medical field.

[0188] Among them, vertical intentions include demand intentions in specified fields.

[0189] In the embodiment of the present disclosure, when the user's target intent does not match the presentation generation intent, there is no need to execute the presentation generation step. It is possible to further determine whether the target intent matches the vertical category intent under the specified field. If so, execute step S1107; if not, execute step S1108 and subsequent steps.

[0190] It should be noted that step S1107 and step S1108 and subsequent steps are two parallel implementation methods. In actual application, only one needs to be executed.

[0191] Step S1107: Use a processing strategy that matches the vertical category intention to process the input information, obtain first reply information, and reply to the input information based on the first reply information.

[0192] In the embodiment of the present disclosure, when the user's actual target intention matches the vertical category intention, a set processing strategy that matches the vertical category intention can be used to process the input information, obtain the first reply information, and reply to the input information based on the first reply information.

[0193] For example, in the field of education, learning materials, online courses, etc. can be provided to users; in the medical field, health consultation, appointment registration and other services can be provided to users.

[0194] It should be noted that step S1107 may also be executed by the server, and this embodiment is only illustrated by the client.

[0195] In summary, adopting a processing strategy that matches the vertical intent and processing the input information can achieve targeted processing of user problems and meet the user's actual knowledge acquisition needs.

[0196] Step S1108, check whether there is preset reply information matching the input information in the specified field, if so, execute step S1109, if not, execute step S1110.

[0197] In the embodiment of the present disclosure, when the user's actual target intention does not match the vertical category intention, it is possible to further query whether there is preset reply information matching the input information in the specified field. If so, execute step S1109; if not, execute step S1110.

[0198] It should be noted that step S1109 and step S1110 are two parallel implementation methods. In actual application, only one needs to be executed.

[0199] Step S1109: reply to the input information based on preset reply information.

[0200] In the embodiment of the present disclosure, when there is preset reply information matching the input information in a specified field, the preset reply information can be directly used to reply to the input information.

[0201] Step S1110: Send a query request carrying input information to the server, receive a query response sent by the server, and reply to the input information based on second reply information in the query response.

[0202] The query request is used to request the server to process the input information and obtain the second reply information.

[0203] In an embodiment of the present disclosure, when there is no preset reply information matching the input information in a specified field, the input information can be processed based on a real-time request. That is, in the present disclosure, the client can send a query request carrying the input information to the server. When the server receives the query request, it can respond to the query request and process the input information to obtain second reply information. For example, a large model can be used to process the input information to obtain the second reply information. Thereafter, the server can send a query response carrying the second reply information to the client. Accordingly, after receiving the query response, the client can use the second reply information in the query response to reply to the input information.

[0204] In summary, when there is preset reply information that matches the input information in a specified field, directly replying to the input information based on the preset reply information can improve the efficiency of problem handling and reduce the user's waiting time. When there is no preset reply information that matches the input information in the specified field, processing the input information based on real-time requests can improve the accuracy of problem handling and improve the user experience.

[0205] The method for generating a presentation of an embodiment of the present disclosure, when the user intention matches the presentation generation intention, displays the presentation outline according to the input information, can achieve a more accurate response to user needs, reduce erroneous operations caused by misunderstanding or misjudgment, and ensure that the generated document content meets the actual needs of the user.

[0206] In any embodiment of the present disclosure, the presentation is taken as PPT for example. The present disclosure places the PPT template in front and generates a PPT outline for use by the entire application site:

[0207] 1. Conduct a pre-made AI dialogue based on the URL (Uniform Resource Locator) address of the page visited by the user - query (information or question entered by the user).

[0208] 2. Map the query as Fig.12 As shown in the three-level classification cards, users can click on associated words and pre-made words to send prompts and use anchor points to create a conversation with the effect of an intelligent AI typewriter.

[0209] 2.1. For the input box of the display interface:

[0210] Triggering time: Anchoring the "Enter Topic" control, or the user clicks the "Upload Document" control, clicks the associated word, clicks Send, presses Enter, or deletes. When the user exits the AIPPT vertical state, the guide copy and background words are not displayed in the input box.

[0211] Display style: Display the guiding text "Help me write a PPT, the theme is:" in the input box; display the background words "Please enter the theme you want to create" in the input box; Position: The same as the tool page, at the bottom.

[0212] 2.2. For associative words:

[0213] First screen: Pre-brush / backup of keywords in PPT.

[0214] Quantity: Take the first N (for example, the value of N can be 3).

[0215] Off-screen: online logic of tool pages.

[0216] Position: Above the input box.

[0217] 3. Query word splitting - PPT-type dialogue, forming a PPT outline in markdown-it format with a tree diagram, supporting users to edit and modify the PPT outline and generate PPT.

[0218] If the user's intention hits the PPT generation intention, the tool page AIPPT vertical state is automatically entered; if the user's intention does not hit the PPT generation intention, the application's tool page is entered.

[0219] 4. PPT template selection, supports users to upload customized documents (such as word, ppt, etc.) and generate PPT outlines [upload includes 2 entry modes: user-defined input theme, upload document (document formats include but are not limited to: doc, docx, pdf, etc.)].

[0220] In addition, it also supports whether the uploaded content is extended: keep consistent, expand appropriately, and generate query-id as a unique identifier.

[0221] Among them, the display forms of PPT templates include but are not limited to: list display, picture column display, and the styles of PPT templates can include pure version, rich version, etc.

[0222] Among them, the template theme of the PPT template can include different background colors, fonts, font colors, transparency, title backgrounds, special font icons, background images, etc., and users can expand their choices.

[0223] 5. In AI dialogue mode, preview and select the PPT template outline, dialogue & template, synchronize the results, and output the PPT outline.

[0224] 6. Enter the theme mode to generate a PPT outline (users can also edit the PPT outline, customize the mode, context theme content, drag and drop to change node positions, etc.), and hit the vertical category intent recognition.

[0225] As an example, the implementation principle of each embodiment of the present disclosure can be as follows: Fig.13 As shown, it mainly includes the following parts:

[0226] Part 1: When the user browses the tool page of the client, if the user is logged in, it can be determined whether the user's intention hits the PPT generation intention. If so, enter the AIPPT vertical class in the third part.

[0227] If not, we further determine whether the user's intention matches the vertical intention under the client's focus area. If the user's intention matches the vertical intention, we reply to the user's query based on the pre-set reply information that has been refreshed.

[0228] If the user intent does not match the vertical intent, the user query is processed based on real-time request.

[0229] Part 2: When the user browses the tool page of the client, if the user is not logged in, the user query is replied based on the pre-set reply information that has been refreshed.

[0230] For example, the user can click a function btn (Button) to copy, download, edit, etc. the reply information, or initiate a new question. At this time, a login pop-up window can also be displayed to guide the user to log in. After the user logs in, the new question can be processed, or the answer to the question before login can be displayed.

[0231] If there is no pre-set reply information, you can display three-level classification cards to guide users to click on classification cards, or click on associated words, etc., to call the large model to process the user query. At this time, you can display a login pop-up window to guide users to log in. After the user logs in, you can display the answers to the questions asked before login.

[0232] Part 3: For PPT accounts, enter the AIPPT vertical category: users can enter the PPT topic and click the Enter key or the Send key on the display interface. After that, a login pop-up window can be displayed to guide the user to log in. After the user logs in, the user can select a PPT template and call the back-end large model to process the input information, obtain the PPT outline, and generate the PPT based on the PPT template and PPT outline.

[0233] Alternatively, the user can click on the upload document control, at which point a login pop-up window may pop up to guide the user to log in. After the user logs in, a document upload pop-up window may be displayed. After the user uploads the document, the user selects a PPT template and calls the back-end big model to process the document content, obtain the PPT outline, and generate the PPT based on the PPT template and PPT outline.

[0234] As an example, take the presentation as PPT, the principle of generating PPT can be as follows: Fig.14 As shown, for the AIPPT vertical state, you can enter the prompt and click the associated word:

[0235] If the user's intention matches the PPT generation intention, the large model is directly used to output the PPT outline based on the prompt (without displaying the welcome card + shading words), and the user can edit the PPT outline;

[0236] If the user's intent does not match the PPT generation intent, the tool page online logic is executed (see the specific implementation logic). Fig.13 ).

[0237] In addition, users can swipe up to view history records.

[0238] With the above Figures 1 to 14 Corresponding to the method for generating a presentation provided in the embodiment, the present disclosure further provides a device for generating a presentation. Figures 1 to 14 The method for generating a presentation provided in the embodiment corresponds to the method, so the implementation of the method for generating a presentation is also applicable to the device for generating a presentation provided in the embodiment of the present disclosure, and will not be described in detail in the embodiment of the present disclosure.

[0239] Fig.15 This is a structural diagram of a presentation generation device provided in Embodiment 7 of the present disclosure.

[0240] like Fig.15 As shown, the presentation generating device 1500 may include: a first acquisition module 1510 , a first determination module 1520 , a first display module 1530 and a second display module 1540 .

[0241] The first acquisition module 1510 is used to acquire input information associated with the presentation to be generated;

[0242] The first determination module 1520 is used to display multiple presentation templates and determine a target template from the multiple presentation templates in response to monitoring a template selection operation.

[0243] The first display module 1530 is used to display the presentation outline according to the input information.

[0244] The second display module 1540 is used to display the presentation according to the presentation outline and the target template.

[0245] In a possible implementation of the embodiments of the present disclosure, the first determination module 1520 is used to: display multiple candidate template themes; wherein different candidate template themes have different template styles; in response to detecting a theme selection operation, determine a target template theme from multiple candidate template themes, and display at least one presentation template under the target template theme; in response to detecting a template selection operation, determine the target template from at least one presentation template under the target template theme.

[0246] In a possible implementation of the embodiment of the present disclosure, the candidate template theme is determined by the server using the following modules and sent to the client:

[0247] A second acquisition module is used to acquire user preference information and historical behavior data associated with the client;

[0248] The third acquisition module is used to obtain the popularity values ​​of multiple template topics; wherein the popularity value is used to represent the attention level of the template topic at the current time point;

[0249] The second determination module is used to determine candidate template themes from multiple template themes according to the popularity values ​​of the multiple template themes, user preference information and historical behavior data.

[0250] In a possible implementation of the embodiment of the present disclosure, different template themes also include at least one of the following differences: different template background colors; different template fonts; different template font colors; different template transparencies; different title backgrounds; different special font icons; and different background images.

[0251] In a possible implementation of the embodiment of the present disclosure, the first display module 1530 is used to: obtain a first prompt template; wherein the first prompt template is used to prompt the large model to perform an outline generation task; generate first prompt information according to the first prompt template and input information; process the first prompt information by calling the large model to obtain an initial outline text output by the large model; format the initial outline text to obtain a presentation outline in a set format, and display the presentation outline.

[0252] In a possible implementation of the embodiment of the present disclosure, the presentation outline is a tree structure, and the second display module 1540 is used to: display the presentation outline; in response to monitoring the outline modification operation, perform at least one of the following update operations on the presentation outline: update the position of at least one node in the presentation outline, update the content of at least one node in the presentation outline, delete at least one node in the presentation outline, and add at least one node in the presentation outline; display the presentation according to the updated presentation outline and the target template.

[0253] In a possible implementation of the embodiments of the present disclosure, the first acquisition module 1510 is used to perform any of the following: in response to detecting a document upload operation, acquiring the uploaded target document, performing content analysis on the target document to obtain the document content, and determining input information based on the document content; in response to detecting a subject input operation, acquiring a document subject associated with the presentation to be generated, and determining input information based on the document subject; in response to detecting a text input operation, acquiring input information associated with the presentation document to be generated; in response to detecting a selection operation, selecting a target word associated with the presentation document to be generated from at least one displayed candidate word, and generating input information based on the target word; wherein the candidate words include associative words and / or preset words, and the associative words are determined based on historical search behavior and hot search trends.

[0254] In a possible implementation of the embodiment of the present disclosure, a document upload control and a subject input control are displayed on the display interface, the document upload operation is generated by triggering the document upload control, and the subject input operation is generated by triggering the subject input control;

[0255] The display interface also displays guiding texts; wherein, the guiding texts are used to guide users to input the required manuscript topics, and the input information is generated based on the manuscript topic and the guiding texts.

[0256] In a possible implementation of the embodiment of the present disclosure, a first target control and a second target control are displayed on the display interface, the first target control is used to indicate to keep the original content consistent, and the second target control is used to indicate to expand the original content;

[0257] The second display module 1540 is used to: in response to monitoring the triggering operation of the first target control in the display interface, display the presentation according to the presentation outline and the target template; in response to monitoring the triggering operation of the second target control in the display interface, obtain the initial manuscript according to the presentation outline and the target template; expand the initial manuscript to obtain the presentation, and display the presentation.

[0258] In a possible implementation of the embodiment of the present disclosure, the second display module 1540 is used to: obtain a second prompt template; wherein the second prompt template is used to prompt the large model to perform a text expansion task; generate a second prompt message according to the second prompt template and the initial manuscript; and process the second prompt message by calling the large model to obtain a presentation manuscript.

[0259] In a possible implementation of the embodiment of the present disclosure, the first display module 1530 is used to: perform intent recognition on input information to obtain a target intent; determine whether the target intent matches a set presentation generation intent; if the target intent matches the presentation generation intent, display a presentation outline based on the input information.

[0260] In a possible implementation of the embodiment of the present disclosure, the presentation generating device 1500 further includes:

[0261] A judgment module, used to judge whether the target intent matches the vertical category intent under the specified field if the target intent does not match the presentation generation intent; wherein the vertical category intent includes the demand intent under the specified field;

[0262] A processing module is used to process the input information using a processing strategy that matches the vertical category intent if the target intent matches the vertical category intent, and obtain the first reply information;

[0263] The reply module is used to reply to the input information based on the first reply information.

[0264] In a possible implementation of the embodiment of the present disclosure, the presentation generating device 1500 further includes:

[0265] The query module is used to query whether there is preset reply information matching the input information in the specified field if the target intent does not match the vertical category intent;

[0266] The reply module is further used to reply to the input information based on the preset reply information if there is preset reply information;

[0267] A sending module, configured to send a query request carrying the input information to the server if there is no preset reply information; wherein the query request is used to request the server to process the input information to obtain the second reply information;

[0268] A receiving module, used to receive a query response sent by the server;

[0269] The reply module is further used to reply to the input information based on the second reply information in the query response.

[0270] The presentation generation device of the embodiment of the present disclosure can realize automatic generation of a presentation outline according to input information provided by the user, and generate a final presentation according to the presentation outline and the presentation template selected by the user, which can not only improve the generation efficiency of the presentation, but also meet the personalized presentation generation needs of different users and improve the user experience. In addition, in the present disclosure, by understanding the user's preferences in advance and recommending or displaying multiple presentation templates to the user based on the user's preferences, the user selects a target template of interest from the multiple recommended or displayed presentation templates in advance before generating the presentation outline, so that after generating the presentation outline, the presentation is generated according to the target template and the presentation outline selected by the user, which can not only simplify the user's operation, but also reduce the time the user waits for the presentation, and improve the user's experience.

[0271] In order to implement the above embodiments, the present disclosure also provides an electronic device, which may include at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the presentation generation method proposed in any of the above embodiments of the present disclosure.

[0272] In order to implement the above embodiments, the present disclosure further provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the presentation generation method proposed in any of the above embodiments of the present disclosure.

[0273] In order to implement the above embodiments, the present disclosure further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the method for generating a presentation proposed in any of the above embodiments of the present disclosure.

[0274] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0275] Fig.16A schematic block diagram of an example electronic device that can be used to implement an embodiment of the present disclosure is shown. Among them, the electronic device may include the server and client in the above-mentioned embodiment. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0276] like Fig.16 As shown, the electronic device 1600 includes a computing unit 1601, which can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 1602 or a computer program loaded from a storage unit 1607 to a RAM (Random Access Memory) 1603. In RAM 1603, various programs and data required for the operation of the device 1600 can also be stored. The computing unit 1601, ROM 1602, and RAM 1603 are connected to each other via a bus 1604. An I / O (Input / Output) interface 1605 is also connected to the bus 1604.

[0277] A number of components in the device 1600 are connected to the I / O interface 1605, including: an input unit 1606, such as a keyboard, a mouse, etc.; an output unit 1607, such as various types of displays, speakers, etc.; a storage unit 1608, such as a disk, an optical disk, etc.; and a communication unit 1609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1609 allows the device 1600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0278] The computing unit 1601 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1601 include, but are not limited to, a CPU (Central Processing Unit), a GPU (Graphic Processing Units), various dedicated AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, a DSP (Digital Signal Processor), and any appropriate processor, controller, microcontroller, etc. The computing unit 1601 performs the various methods and processes described above, such as the method for generating the above-mentioned presentation. For example, in some embodiments, the method for generating the above-mentioned presentation may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1600 via the ROM 1602 and / or the communication unit 1609. When the computer program is loaded into the RAM 1603 and executed by the computing unit 1601, one or more steps of the method for generating the above-mentioned presentation may be performed. Alternatively, in other embodiments, the computing unit 1601 may be configured to execute the above-mentioned presentation generation method in any other appropriate manner (for example, by means of firmware).

[0279] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application Specific Standard Products), SOCs (System On Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that may be executed and / or interpreted on a programmable system including at least one programmable processor that may be a dedicated or general-purpose programmable processor that may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0280] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0281] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include electrical connections based on one or more lines, portable computer disks, hard disks, RAM, ROM, EPROM (Electrically Programmable Read-Only-Memory) or flash memory, optical fiber, CD-ROM (Compact Disc Read-Only Memory), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0282] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0283] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network), WAN (Wide Area Network), the Internet, and blockchain networks.

[0284] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services (Virtual Private Server). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0285] It should be noted that artificial intelligence is a discipline that studies how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), and includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, as well as machine learning / deep learning, big data processing technology, knowledge graph technology, and other major directions.

[0286] According to the technical solution of the embodiment of the present disclosure, it is possible to automatically generate a presentation outline based on the input information provided by the user, and generate a final presentation based on the presentation outline and the presentation template selected by the user. This can not only improve the efficiency of presentation generation, but also meet the personalized presentation generation needs of different users, thereby improving the user experience.

[0287] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0288] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for generating a presentation, comprising: Obtaining input information associated with the presentation to be generated; Displaying a plurality of presentation templates, and in response to detecting a template selection operation, determining a target template from the plurality of presentation templates; Based on the input information, display a presentation outline; The presentation is presented according to the presentation outline and the target template.

2. The method according to claim 1, wherein: The presenting of multiple presentation templates and, in response to monitoring a template selection operation, determining a target template from the multiple presentation templates comprises: Displaying multiple candidate template themes; wherein different candidate template themes have different template styles; In response to monitoring a theme selection operation, determining a target template theme from the plurality of candidate template themes, and displaying at least one presentation template under the target template theme; In response to monitoring the template selection operation, the target template is determined from at least one presentation template under the target template theme.

3. The method according to claim 2, wherein: The method is executed by the client, and the candidate template theme is determined by the server using the following steps and sent to the client: Obtaining user preference information and historical behavior data associated with the client; Obtaining popularity values ​​of multiple template themes; wherein the popularity values ​​are used to represent the degree of attention paid to the template themes at a current time point; The candidate template theme is determined from the multiple template themes according to the popularity values ​​of the multiple template themes, the user preference information and the historical behavior data.

4. The method according to claim 2, wherein: The template themes described above also include at least one of the following differences: The template background color is different; The template fonts are different; The template fonts are in different colors; Template transparency varies; The title background is different; Icons for special fonts are different; The background image is different.

5. The method according to claim 1, wherein: The step of displaying a presentation outline according to the input information includes: Obtain a first prompt template; wherein the first prompt template is used to prompt the large model to perform an outline generation task; Generate first prompt information according to the first prompt template and the input information; Processing the first prompt information by calling the large model to obtain an initial outline text output by the large model; The initial outline text is formatted to obtain the presentation outline in a set format, and the presentation outline is displayed.

6. The method according to claim 1 or 5, wherein: The presentation outline is a tree structure. The step of displaying the presentation according to the presentation outline and the target template comprises: presenting an outline of said presentation; In response to detecting an outline modification operation, performing at least one of the following update operations on the presentation outline: updating the position of at least one node in the presentation outline, updating the content of at least one node in the presentation outline, deleting at least one node in the presentation outline, and adding at least one node in the presentation outline; The presentation is presented according to the updated presentation outline and the target template.

7. The method according to any one of claims 1 to 5, wherein: The obtaining of input information associated with the presentation document to be generated includes any of the following: In response to monitoring a document upload operation, obtaining the uploaded target document, parsing the content of the target document to obtain the document content, and determining the input information according to the document content; In response to detecting a subject input operation, obtaining a document subject associated with the presentation to be generated, and determining the input information according to the document subject; In response to detecting a text input operation, obtaining input information associated with a presentation document to be generated; In response to detecting a selection operation, selecting a target word associated with the presentation document to be generated from at least one displayed candidate word, and generating the input information according to the target word; The candidate words include associated words and / or preset words, and the associated words are determined based on historical search behaviors and hot search trends.

8. The method according to claim 7, wherein: A document upload control and a subject input control are displayed on the display interface. The document upload operation is generated by triggering the document upload control, and the subject input operation is generated by triggering the subject input control. The display interface also displays a guiding copy; wherein the guiding copy is used to guide the user to input the required manuscript theme, and the input information is generated based on the manuscript theme and the guiding copy.

9. The method according to any one of claims 1 to 5, wherein: A first target control and a second target control are displayed on the display interface, wherein the first target control is used to indicate that the content should be kept consistent with the original content, and the second target control is used to indicate that the original content should be expanded; The step of displaying the presentation according to the presentation outline and the target template comprises: In response to monitoring a triggering operation on a first target control in the presentation interface, presenting the presentation according to the presentation outline and the target template; In response to monitoring a triggering operation on a second target control in the display interface, obtaining an initial manuscript according to the presentation manuscript outline and the target template; The initial manuscript is expanded to obtain the presentation manuscript, and the presentation manuscript is displayed.

10. The method according to claim 9, wherein: The step of expanding the initial manuscript to obtain the presentation manuscript includes: Obtain a second prompt template; wherein the second prompt template is used to prompt the large model to perform a text expansion task; Generate second prompt information according to the second prompt template and the initial manuscript; The second prompt information is processed by calling the large model to obtain the presentation.

11. The method according to any one of claims 1 to 5, wherein: The step of displaying a presentation outline according to the input information includes: Performing intent recognition on the input information to obtain a target intent; Determining whether the target intent matches the set presentation generation intent; If the target intent matches the presentation generation intent, the presentation outline is displayed based on the input information.

12. The method according to claim 11, wherein: After determining whether the target intention matches the set presentation generation intention, the method further includes: If the target intent does not match the presentation generation intent, then determine whether the target intent matches the vertical category intent under the specified field; wherein the vertical category intent includes the demand intent under the specified field; If the target intent matches the vertical category intent, the input information is processed using a processing strategy that matches the vertical category intent to obtain a first reply information; The input information is replied based on the first reply information.

13. The method according to claim 12, wherein: After determining whether the target intent matches the vertical category intent under the specified field, the method further includes: If the target intent does not match the vertical category intent, query whether there is preset reply information matching the input information in the specified field; If the preset reply information exists, replying to the input information based on the preset reply information; If the preset reply information does not exist, sending a query request carrying the input information to the server; wherein the query request is used to request the server to process the input information to obtain second reply information; The query response sent by the server is received, and based on the second reply information in the query response, the input information is replied.

14. A device for generating a presentation, comprising: A first acquisition module, used to acquire input information associated with a presentation to be generated; A first determination module, configured to display a plurality of presentation templates and determine a target template from the plurality of presentation templates in response to monitoring a template selection operation; A first display module, used to display the presentation outline according to the input information; The second display module is used to display the presentation according to the presentation outline and the target template.

15. The device according to claim 14, wherein: The first determining module is used to: Displaying multiple candidate template themes; wherein different candidate template themes have different template styles; In response to monitoring a theme selection operation, determining a target template theme from the plurality of candidate template themes, and displaying at least one presentation template under the target template theme; In response to monitoring the template selection operation, the target template is determined from at least one presentation template under the target template theme.

16. The device according to claim 15, wherein: Applied to the client, the candidate template theme is determined by the server using the following modules and sent to the client: A second acquisition module, used to acquire user preference information and historical behavior data associated with the client; A third acquisition module is used to acquire the popularity values ​​of multiple template themes; wherein the popularity values ​​are used to represent the degree of attention paid to the template themes at a current time point; The second determination module is used to determine the candidate template theme from the multiple template themes according to the popularity values ​​of the multiple template themes, the user preference information and the historical behavior data.

17. The device according to claim 15, wherein: The template themes described above also include at least one of the following differences: The template background color is different; The template fonts are different; The template fonts are in different colors; Template transparency varies; The title background is different; Icons for special fonts are different; The background image is different.

18. The device according to claim 14, wherein: The first display module is used to: Obtain a first prompt template; wherein the first prompt template is used to prompt the large model to perform an outline generation task; Generate first prompt information according to the first prompt template and the input information; Processing the first prompt information by calling the large model to obtain an initial outline text output by the large model; The initial outline text is formatted to obtain the presentation outline in a set format, and the presentation outline is displayed.

19. The device according to claim 14 or 18, wherein: The presentation outline is a tree structure. The second display module is used to: presenting an outline of said presentation; In response to detecting an outline modification operation, performing at least one of the following update operations on the presentation outline: updating the position of at least one node in the presentation outline, updating the content of at least one node in the presentation outline, deleting at least one node in the presentation outline, and adding at least one node in the presentation outline; The presentation is presented according to the updated presentation outline and the target template.

20. The device according to any one of claims 14 to 18, wherein: The first acquisition module is used to perform any of the following: In response to monitoring a document upload operation, obtaining the uploaded target document, parsing the content of the target document to obtain the document content, and determining the input information according to the document content; In response to detecting a subject input operation, obtaining a document subject associated with the presentation to be generated, and determining the input information according to the document subject; In response to detecting a text input operation, obtaining input information associated with a presentation document to be generated; In response to detecting a selection operation, selecting a target word associated with the presentation document to be generated from at least one displayed candidate word, and generating the input information according to the target word; The candidate words include associated words and / or preset words, and the associated words are determined based on historical search behaviors and hot search trends.

21. The device according to claim 20, wherein: A document upload control and a subject input control are displayed on the display interface. The document upload operation is generated by triggering the document upload control, and the subject input operation is generated by triggering the subject input control. The display interface also displays a guiding copy; wherein the guiding copy is used to guide the user to input the required manuscript theme, and the input information is generated based on the manuscript theme and the guiding copy.

22. The device according to any one of claims 14 to 18, wherein: A first target control and a second target control are displayed on the display interface, wherein the first target control is used to indicate that the content should be kept consistent with the original content, and the second target control is used to indicate that the original content should be expanded; The second display module is used to: In response to monitoring a triggering operation on a first target control in the presentation interface, presenting the presentation according to the presentation outline and the target template; In response to monitoring a triggering operation on a second target control in the display interface, obtaining an initial manuscript according to the presentation manuscript outline and the target template; The initial manuscript is expanded to obtain the presentation manuscript, and the presentation manuscript is displayed.

23. The device according to claim 22, wherein: The second display module is used to: Obtain a second prompt template; wherein the second prompt template is used to prompt the large model to perform a text expansion task; Generate second prompt information according to the second prompt template and the initial manuscript; The second prompt information is processed by calling the large model to obtain the presentation.

24. The device according to any one of claims 14 to 18, wherein: The first display module is used to: Performing intent recognition on the input information to obtain a target intent; Determining whether the target intent matches the set presentation generation intent; If the target intent matches the presentation generation intent, the presentation outline is displayed based on the input information.

25. The device according to claim 24, wherein: The device also includes: A judgment module, used for judging whether the target intent matches the vertical category intent under the specified field if the target intent does not match the presentation generation intent; wherein the vertical category intent includes the demand intent under the specified field; A processing module, configured to, if the target intent matches the vertical category intent, adopt a processing strategy that matches the vertical category intent to process the input information and obtain first reply information; A reply module is used to reply to the input information based on the first reply information.

26. The device according to claim 25, wherein The device also includes: A query module, used for querying whether there is preset reply information matching the input information in the specified field if the target intent does not match the vertical category intent; The reply module is further configured to reply to the input information based on the preset reply information if the preset reply information exists; A sending module, configured to send a query request carrying the input information to a server if the preset reply information does not exist; wherein the query request is used to request the server to process the input information to obtain second reply information; A receiving module, used to receive a query response sent by the server; The reply module is further configured to reply to the input information based on the second reply information in the query response.

27. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the presentation generation method described in any one of claims 1-13.

28. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method for generating a presentation according to any one of claims 1-13.

29. A computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method for generating a presentation according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Voice interaction method and device, electronic equipment and computer readable medium

    CN109346078A

  • PowerPoint generation method and device, equipment and storage medium

    CN114021541A

  • Powerpoint processing method and device, electronic equipment and storage medium

    CN114238671A

  • Powerpoint generation method and device, electronic equipment and storage medium

    CN117436414A

  • Powerpoint generation method and device, electronic equipment and storage medium

    CN117436417A

Cited By

  • Content generation method and device, electronic equipment, storage medium and program product

    CN118917897A

  • Content generation method, device, electronic device, storage medium and program product

    CN118917897B

  • Content template generation method and device, storage medium and electronic equipment

    CN119150834A

  • Method and system for intelligently generating PowerPoint based on AI

    CN119202283A

  • Document generation method and device, storage medium and electronic equipment

    CN119670714A