I tried this but no success so far do not works at long articles too. quite time wasting after few articles. what about generating content on automation and formating is also on automation is what I want to knowAdd something like “The article should have proper html tags and be seo friendly. I need to post it with my wysiwyg editor. Make sure it has a h1 tag as well. No need to explain, just respond with the article”.
If it doesn’t return html tags, immediately stop it and thumb down the response. It will try generating again and ask you which response is better. If the new response is ok, click “new one is better” or click “both are same”. Try a couple of times more if it doesn’t work for the first time (use a new session each time).
Break up the article into sections and format the headers as h2 headers and the title as h1 in markdown formatting.
Basically, do everything, but don't do everythingUse something like this to get a well-structured article you might need to modify it based on your requirement:
Write a long, fully markdown formatted article in English that could rank for the target keyword {KEYWORD}. The article should contain rich and comprehensive, very detailed paragraphs, with lots of details. Do not echo my prompt. Do not remind me what I asked you for. Do not apologize. Do not self-reference. Do not use generic filler phrases. Do use useful subheadings with keyword-rich titles. Get to the point precisely and accurate. Do not explain what and why, just give me your best possible article. Use semantically related longtail keywords based on the target keyword use them wherever possible specifically in titles headings and subheadings.
Hmmm may be because of the rest of the prompt. It works 90% of the times for me. The other 10% times it comes up with the full page html which I have to then downvote for.I tried this but no success so far do not works at long articles too. quite time wasting after few articles. what about generating content on automation and formating is also on automation is what I want to know
But chat gpt has token limits so not that good.Use something like this to get a well-structured article you might need to modify it based on your requirement:
That is what I am asking how you do it with python?The way i did is through a custom code. I dont rely just on the API output but on my programming as well.
I expect from AI some basic formating like spaces, and based on expected output i can manage to do some html through python and apply it to the text. Sure its not perfect, but its reasonably well formatted.
I use similar prompts like the one I shared above in chatgpt.But chat gpt has token limits so not that good.
You will have try with different prompts to see what works.Note:- I am not using chat gpt. It's something else but I get raw content with me so I need it to auto format.