The present invention relates to a content generation method, more particularly a dynamic content generation method.
In recent years, developments in artificial intelligences (AIs) have accelerated machines' understandings of natural languages. With the emergence of powerful natural language processing (NLP) models, such as Generative Pre-Trained Transformers (GPT) released by OpenAIR, various types of contents, such as online articles, blogs, and marketing materials, became increasingly integrated with content generation of NLP models.
However, despite having powerful NLP models such as GPT-4 available to the public, user-provided input variables may not always be suitable or relevant to the topic of the content. For example, if a user wishes to write an online article to promote sales of wireless earphones, the user might mistakenly use “best portable earphones on sale” to describe the wireless earphones. While wireless earphones are most likely portable, portable earphones are not necessarily wireless, and hence the user-provided input is not entirely suitable to the topic of promoting the wireless earphones. Currently existing NLP models however May not account for such a mismatch between the user-provided input variables and the topic, and hence the content generated by the AI may not be as coherent or natural as desired.
Furthermore, currently existing NLP models also may have a limited understanding of logics between different words. For example, if a user wishes to write an article about someone's funeral, the content generated by the currently existing NLP models may be an obituary. The obituary is an article in memory of someone, and someone's demise is connected to a funeral, but the user originally intended to write about somebody's passing away without disrespecting the deceased by writing the obituary. In other words, currently existing NLP models may not fully understand the logics and contexts to generate relevant contents in relations to the user-provided topic. Due to this limitation, quality of contents generated by the currently existing NLP models in its first attempt usually does not satisfy the user. The unsatisfied user, with great burden, often needs to continuously prompt the currently existing NLP models for improving content quality. However, this process is time consuming, and the user may not understand how to correctly prompt the currently existing NLP models to generate more coherent contents.
The present invention provides a dynamic content generation method. The dynamic content generation method is able to determine relevance between a topic and at least one variable before utilizing a natural language processing (NLP) model to generate highly relevant contents. The content generated by the dynamic content generation method is more coherent and natural than a content solely generated by the NLP model.
The dynamic content generation method of the present invention is executed by a processing module, and the processing module is electrically connected to an input module and a communications module. The dynamic content generation method includes the following steps:
The present invention essentially creates a higher-order content generation model built upon the NLP model for determining relevance between the topic and the at least one variable. The higher-order content generation model includes a quality check before finalizing the generation of the content text. If the generated content text fails to satisfy the selected writing type, the present invention will interactively and automatically prompt the NLP model for generating the content text, and thus the content text would be iteratively generated with adjusted settings until the content text finally satisfies the selected writing type. As such, the resulting content text not only satisfies the selected writing type, but flows coherently and naturally, fitting the given context of the topic. Furthermore, the content text generated by the present invention also more closely resembles a human-written text than an AI-generated text according to any currently existing third party article analyzing tool. As such, the content text generated by the present invention is able to score higher marks, showing higher likelihood of being a human-written text than a text solely generated by the NLP model.
The present invention provides a dynamic content generation method. The dynamic content generation method is a software that generates a coherent and natural text as a content. The generated content can then be used online or offline as desired by a user of the present invention.
With reference to
The processing module 10 is configured to execute the dynamic content generation method of the present invention. The memory module 20 stores multiple writing models available for selection by the user of the present invention. The communications module 30 is connected to the Internet for accessing an NLP model. In an embodiment of the present invention, the NLP model accessed by the present invention is a Generative Pre-Trained Transformer (GPT) developed by OpenAI®, and more specifically, a GPT-3.5 model or GPT-4 model developed by OpenAI®. In another embodiment, the NLP model accessed by the present invention can be elsewise.
In an embodiment, the hardware system for executing the dynamic content generation method of the present invention is a computer. The display module 40 and the input module 50 are respectively a screen and a combination of a mouse and a keyboard available for user interaction with the processor 10. In another embodiment, the hardware system for executing the dynamic content generation method of the present invention is a portable smart device, such as a smart phone or a tablet computer. The display module 40 and the input module 50 are a touch screen available for user interaction with the processor 10.
With reference to
The input module 50 interacts with the user and generates the setting command according to the user interaction. The input module 50 generates and sends the setting command to the processing module 10 as receiving inputs from the user.
The present invention creates a higher-order content generation model built upon the NLP model, such as GPT-4, for determining relevance between the topic and the at least one variable. The higher-order content generation model includes a quality check before finalizing the generation of the content text. If the generated content text fails to satisfy the selected writing type, the content text would be iteratively generated with adjusted settings until the content text finally satisfies the selected writing type. As such, the resulting content text not only satisfies the selected writing type, but flows coherently and naturally, fitting the given context of the topic, while using the NLP model alone may not consistently accomplish this.
Furthermore, the content text generated by the present invention also more closely resembles a human-written text than an AI-generated text. This effect can be objectively observed by using a third party article analyzing tool or website to determine a score, wherein the higher the score, the more likely that the text is human-written, and the lower the score, the more likely that the text is machine-generated or AI-generated. According to any currently existing third party article analyzing tools or websites, the content text generated by the present invention is always scored as having a high likelihood of being human-written. More particularly, by using a third party article analyzing website such as AI Text Classifier, the content text generated by the present invention consistently scores above 95% human-like. This benchmark is hardly ever attainable by solely using the NLP model, such as GPT-4, for generating a content text regarding the topic, the at least one variable, and the selected writing type. In other words, the context text generated by the present invention is able to score higher marks as having higher likelihood of being human-written than a paragraph solely generated by the NLP model.
Furthermore, the present invention differs from the NLP model as the NLP model lacks a functionality to automatically evaluate a quality of the generated content text and iteratively re-generate the content text until the quality is ensured.
By having a loop structure from step S30 to step S50, the present invention ensures the generated content, in other words, the generated content text, is consistently coherent and natural, and thus of high writing quality.
Before each iteration of executing step S30, the processor 10 of the present invention receives relevance data of the at least one variable to the topic, and then communicates to the NLP model for prompting the NLP model to generate the content text according to the topic, the at least one variable, the selected writing type, and the relevance data. This process is an adaptive process, as the processor 10 automatically changes its prompting approach towards the NLP model for generating the content text according to the topic, the at least one variable, the selected writing type, and the relevance data. More particularly, once the processor 10 receives the setting command from the input module 50, the topic, the at least one variable, and the selected writing type are all settled and remain unchanged throughout iterations of generating the content text. However, with each iteration of generating the content text, the relevance data is iteratively updated by the correction information, and thus the relevance data is dynamically changing with each iteration. As such, the process of generating the content text is the adaptive process most dependent on the dynamic changes of the relevance data.
The present invention adapts to provide different instructions to the NLP model for generating the content text depending on the changes of the relevance data. The adaptation of different instructions provided to the NLP model by the present invention is dynamically decided by the processor 10 based on the relevance of the at least one variable to the topic and the selected writing type. These different instructions are the correction information that is generated by the processor 10 and applied to the relevance data for updating the relevance data. As the relevance data is updated, successive generation of the content text by the NLP model would be most likely improved and come a step closer to satisfy the selected writing type.
With reference to
In this embodiment, the selected layout is a web page, and the scanned components of the selected layout comprise at least one paragraph space in at least one section of the web page. More particularly, the web page for the selected layout is a landing page for a website. In other embodiments, the selected layout is free to be elsewise.
The at least one variable is an input Universal Resource Locator (URL) reference, a keyword, a note or instruction, a brand, a sub-topic, a recommended keyword, or a search engine optimization. In other embodiments, the at least one variable is free to be elsewise. The input module 50 allows the user of the present invention to interact and to select the at least one variable used for the present invention. According to the user selection, the input module 50 generates input signals to the processing module 10 for specifying types of the at least one variables used for the present invention.
Furthermore, step S20 further includes the following sub-steps:
In this embodiment, the present invention further includes a step of rating the at least one variable in terms of how related the at least one variable is to the topic according to the relevance data. More particularly, the at least one variable is rated according to the relevance data as shown below:
In other words, according to Table 1, the relevance data is rated “1”, being not related (hence not relevant) to the topic at all, while the rating “5” is very related (hence very relevant) to the topic. In an embodiment associated with Table 1, the at least one variable used includes the input URL reference (associated as client URL in Table 1), the keyword (associated as keywords in Table 1), the note or instruction (associated as guidelines in Table 1), and the brand (associated as branding in Table 1). By executing step S22, the processing module 10 of the present invention communicates with the NLP model, such as GPT, to produce the relevance data for respectively investigating relevance of the topic to the input URL reference, the keyword, the note or instruction, and the brand. Each of the variables, depending on their ratings, would affect how the content text is worded by the NLP model in step S30.
Furthermore, in this embodiment, the memory module 20 stores various relevance thresholds used for determining relevancy between each of the variables to the topic. In this example, the various relevance thresholds include a relevance threshold for the input URL reference, a relevance threshold for the keyword, a relevance threshold for the note, and a relevance threshold for the brand. The relevance thresholds for the input URL reference, the keyword, the note, and the brand are respectively set to a relevance rating of three. The determination of whether the content text satisfies the selected writing type mentioned in step S40 respectively uses the said relevance thresholds to determine whether each of the variables is relevant to be included in the content text.
With reference to
In other words, if the input URL reference, the keyword, the note, and the brand are respectively rated greater than three, the input URL reference, the keyword, the note, and the brand are respectively included in the content text when the content text is iteratively generated. If the input URL reference, the keyword, the note, and the brand are respectively rated less than the relevance threshold (three), the input URL reference, the keyword, the note, and the brand are respectively rejected from the content text when the content text is iteratively generated according to the selected writing type, and thus the correction information is iteratively generated and applied to filter out the rejected at least one variable from the relevance data. If the input URL reference, the keyword, the note, and the brand are respectively rated equal to the relevance threshold (three), the input URL reference, the keyword, the note, and the brand are respectively possibly included in the content text when the content text is iteratively generated. The aforementioned rules on the input URL reference, the keyword, the note, and the brand are also shown in Table 1 for reference.
With reference to
In
After the user selects through the dropdown menus and fills in the boxes via the input module 50, the user may press the generate button 131 through the input module 50. This allows the input module 50 to correspondingly produce the setting command according to the selected options in the dropdown menus and the filled-in boxes, and thus the processing module 10 accordingly generates the topic, the at least one variable, and the selected writing type according to the setting command received from the input module 50. As a result, the processing module 10 of the present invention executes step S20 and step S30 in succession.
By selecting the verify button 132, the present invention executes step S20 without executing step S30, allowing the user to first visually understand the likely-successfulness of the project through the relevance graph before the user decides to proceed with further generating the content text for the project. By selecting the clear all button 133, the user is able to clear all of the filled-in boxes and all of the selections made through the dropdown menus on the first selection page 100, allowing the user to fill in new information and re-select available options on the first selection page 100 through utilizing the input module 50.
The selected writing type is a set of writing conditions imposed to the NLP model when communicating with the NLP model to generate the content text. The set of writing conditions include a content type for the content text, a word count for the content text, a language used for the content text, a tone used for the content text, and a writing perspective used for the content text. The content type for the content text, the word count for the content text, the language used for the content text, the tone used for the content text, and the writing perspective used for the content text are listed on the dropdown menus that are displayed to the user on the first selection page 100 through the display module 40.
In this embodiment, the content type for the content text is selected as an on-page blog article or an off-page guest article through a selection of the content type dropdown menu 121. Herein “on-page” means that the content text generated by the present invention is intended to be used on the web page administered by the user. The said “off-page” means that the content text generated is intended to be used elsewhere for a guest of another website rather than the web page administered by the user.
The word count for the content text is selected as 200 words, 300 words, 500 words, 600 words, 700 words, 1000 words, 1200 words, 1500 words, 1700 words, 2000 words, 2500 words, 3000 words, 3500 words, 4000 words, or 5000 words through a selection of the word count dropdown menu 122. The selected word count for the content text limits the amount of words contained in the generated content text.
The language used for the content text is selected as US English, UK English, or Australian English through a selection of the language dropdown menu 123.
The tone used for the content text is selected as a professional tone, an informative tone, an engaging tone, or a witty tone through a selection of the tone dropdown menu 124.
The writing perspective used for the content text is selected as writing from a first person's point of view, a second person's point of view, or a third person's point of view through a selection of the perspective dropdown menu 125. In the perspective dropdown menu 125, the first person's point of view is abbreviated as first, the second person's point of view is abbreviated as second, and the third person's point of view is abbreviated as third.
The first selection page 100 allows the user to select whether to communicate with the NLP model to generate the content text with a fixed amount of sections or with an automatically figured amount of sections through a selection of the sub-topic dropdown menu 126.
The first selection page 100 also allows the user to select a research type for the content text through a selection of the research type dropdown menu 127.
The research type may be selected as a regular writing type, a marketing copyright writing type, a marketing copyright writing type showing sources, a marketing copyright writing type with fewer statistics, a marketing copyright writing type of a first deep learning type, a marketing copyright writing type of a second deep learning type, a marketing copyright writing type of a third deep learning type, and a marketing copyright writing type of a fourth deep learning type.
When the regular writing type is selected on the first selection page 100, the present invention communicates with the NLP model to generate the content text without additional requirements. When the marketing copyright writing type is selected, the present invention communicates with the NLP model to produce the content text with emphasis on technical detail such as date and ownership. When the marketing copyright writing type showing sources or with fewer statistics is selected, the present invention communicates with the NLP model for receiving the content text with, respectively, sources shown or fewer statistics shown. When the marketing copyright writing type of one of the deep learning types is selected, the present invention communicates with the NLP model for receiving the content text according to different versions of deep learning AI algorithms. For example, in practice, when the first deep learning type is selected, the present invention communicates with the NLP model to filter out unrelated information, such as unrelated meta tags, from the content text. When the second deep learning type is selected, the present invention communicates with the NLP model to explicitly include facts and figures in the content text. The figures included in the content text are free to be any kinds of existing figure formats.
When the third deep learning type is selected, the present invention communicates with the NLP model to spread out bullet points from main points of the overall generated article, and generate new sections and paragraphs dedicated for the bullet pointed sub-topics for lengthening the overall generated article with greater depth of generated content. When the fourth deep learning type is selected, the present invention communicates with GPT-4 as the NLP model for receiving the content text.
Working in conjuncture with the said three deep learning types, the present invention incorporates a search engine optimization (SEO) device, such as one described in U.S. patent application Ser. No. 17/580,863, for additionally researching relevancy of the variables, and as a result, enhancing the said specific results of generating the content text for the three deep learning types.
In addition, a customer profile or a project profile may be created through the input module 50 for storing customer information or project information in the memory module 20. If the customer profile or the project profile of the user already exists in the memory module 20, the customer profile or the project profile may be selected through the project selection dropdown menu 128 on the first selection page 100 for quickly loading the personalized settings, such as loading the at least one variable previously used by the user for producing the content text.
In this embodiment, each of the sections generated by the present invention contains one distinct sub-topic, and each of the sub-topics contains at least one paragraph. In other words, when the relevance data produced by the NLP model in accordance with the scanned components of the selected layout is received, the present invention further includes a step of communicating with the NLP model for receiving an amount of sub-topics equivalent to an amount of the at least one section of the web generated produced by the NLP model according to the selected writing type.
With reference to
For example, in
With further reference to
With further reference to
With reference to
Since the user omits providing the note, the present invention omits producing the relevance data between the note and the topic, and thus the note has a rating ignorable (smaller than zero). On the other hand, the relevance data of the topic to the input URL reference, the keyword, and the brand are visually displayed to the user through the display module 40, allowing the user to instantly understand how relevant each variable is towards the topic. In this example, according to Table 1, the input URL reference and the keyword are rated as zero and one as being not related to the topic, and the brand is rated as two as being barely related to the topic.
With reference to
With reference to
Step S60: when determining the content text satisfies the selected writing type, determining whether more paragraph spaces exist. When more paragraph spaces exist, communicating with the NLP model for receiving more content texts generated by the NLP model for filling in the empty paragraph spaces.
Furthermore, when determining all the empty paragraph spaces are filled in, besides stopping receiving content text, step S51 further includes sub-steps of outputting the web page and displaying the web page with the selected layout, the generated sections and the generated paragraphs. The outputted web page is in a web page format or a document format, and the outputted web page is stored in the memory module 20.
More particularly, step S60 further includes the following sub-steps:
By executing the sub-steps S61 to S64, all empty paragraph spaces can be identified and subsequently filled with the generated content texts. As such, the present invention is able to fit the generated content texts into the empty paragraph spaces in each of the sections designated by the selected layout. The present invention automatically generates content, such as an internet article, in the selected layout format. As a result, the present invention provides the exact customized look the user has selected for the selected layout.
With reference to
Furthermore, the memory module 20 stores various thresholds used for determining relevancy. The various thresholds include a topic relevance threshold, a sub-topic relevance threshold, an introduction relevance threshold, and a conclusion relevance threshold.
After step S40 determines that the content text satisfies the selected writing type, the present invention executes step S60. As the present invention first executes step S24, the first paragraph space of the first section is filled by the content text through step S30. Therefore, in this instance, the content text determined by step S40 refers to a first content text in the first section, or the first content text in the first sub-topic, of the web page. In this embodiment, the present invention executes step S60 having the following sub-steps:
The concept is that each of the sub-topics on the web page should be unique and independent from each other, and thus formulating a clearer argument point for the generated content. The introduction and the conclusion should make logical connections throughout the generated content, hence having great relevance, to all of the sub-topics generated between the introduction and the conclusion, and thus formulating a clear overall argument point for the generated content. As such, the introduction and the conclusion of the web page would be able to tie themselves well to all of the distinct sub-topics of the web page, and thus formulating strong arguments.
With reference to
By using the present invention, the user is able to conveniently create a landing page, or more broadly speaking, any web page, internet article, or even just an article, with just inputting the topic and the at least one variable through the input module 50. By simply selecting the topic, the at least one variable, and the selected writing type, the user using the input module can generate content texts without needing to consecutively prompt and correct the NLP model for generating coherent and professionally written content texts. As such, the present invention saves time and tremendous effort a person needs to interact with the NLP model by skillfully, efficiently, and automatically communicating with the NLP model to satisfy the user's personalized need for content generation.
The present invention is able to generate the content as an article in the selected layout favored by the user, and ensure the article is coherent and natural as if written by a human being. The present invention makes use of the NLP model, such as GPT, but does more than an average user would be able to do by creating a higher level structure to ensure the NLP model can produce the content with a higher quality standard, and thus distinguishing itself with superior content generating effects than any prior arts and GPT itself.
Furthermore, in an embodiment, additional considerations are implemented in the present invention for building a higher-order model that incorporates relative determination when generating the content text. After the at least one variable is rated according to the relevance data in the present invention, the present invention adapts to provide different instructions to the NLP model for generating the content text according to the following:
In this embodiment, the present invention integrates the SEO device disclosed in U.S. patent application Ser. No. 17/580,863 and uses the SEO device to dynamically determine search engine optimization (SEO) of the at least one variable used for generating the content text. The present embodiment also uses Table 2 to determine different instructions to communicate to the NLP model. For example, when the at least one variable is an URL rated greater than or equal to the relevance threshold of three (as being somewhat related to the topic), the present invention determines a need to analyze the said URL for an SEO of the URL and SEO strategies for the said URL. After using the SEO device to obtain the SEO of the URL, the present embodiment proceeds to instruct the NLP model to generate optimized contents for the said URL. After using the SEO device to obtain the SEO strategies for the said URL, the present embodiment also proceeds to instruct the NLP model to generate optimized contents according to the SEO strategies. When the at least one variable is the URL rated less than the relevance threshold of three, the present invention determines a lack of need to analyze the said URL or to provide SEO strategies about the said URL.
Furthermore, the present invention also determines whether to optimize or recommend the content type for the content text generated by the NLP model according to Table 2. For instance, when the URL is rated equal to the relevance threshold of three, the present invention adds the content type for the content text to a recommendation list. When the URL is rated greater than or equal to the relevance threshold of four (as being related to the topic), the present invention adds the content type for the content text to an action list. When the URL is rated less than or equal to the relevance threshold of two (as being barely related to the topic), the present invention disregards the said URL.
The present invention uses the SEO device to list out the content types for the content text recommended to the NLP model according to the recommendation list for subsequently generating the content text in later iterations as part of the correction information. The present invention uses the SEO device to list out the content type for the content text optimized for the NLP model according to the action list for subsequently generating the content text in later iterations as part of the correction information, too. The content type of the content text is specified by a value of a content type array. For reference, the following lists out the content type array with values (V) representing all of its content types:
The following provides an example prompt showing how the present invention communicates with the NLP model to generate the content text with instructions. The present invention prompts the NLP model with the topic of “analyze the SEO for https://seovendor.co/tag/critical-seo-factors/” for the keyword “Critical SEO Factors”. The present invention also provides the NLP model with dynamically generated instructions according to how relevant the at least one variable is to the topic. The dynamically generated instructions are, for example, the aforementioned adding the content type of the content text to the action list or the recommend action list, to analyze the SEO of the URL, and to provide the SEO strategies for the URL. In other words, in this example, the dynamically generated instructions include using the SEO device to analyze the URL https://seovendor.co, to optimize the title of the content text, to optimize the meta description of the content text, and to provide the SEO strategy of content-focusing for the NLP model.
As a result, an example output of the content text looks like the following paragraphs:
To improve your website's SEO performance for the keyword “Critical SEO Factors” and rank better in search engine results, here is a plan with several key steps you can take:
Here are optimized on-page SEO elements for the webpage “https://seovendor.co/tag/critical-seo-factors/” targeting the keyword “Critical SEO Factors”:
The aforementioned example output demonstrates that, in an embodiment of the present invention, the dynamic content generation method is able to generate optimized SEO content for the user, allowing the generated content text to potentially gain more recognition online.