Giter VIP home page Giter VIP logo

autoblogger's People

Contributors

incomestreamsurfer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

autoblogger's Issues

Prompts question....

Hi

I use my own script, where most of it is generated by AI or taken from files. I use prompts:

    system_prompt = (f"Never mention blog post. Write an FULL blog post using the {outline}. Internal links are vital to SEO. Please always include a maximum 5 a href internal links contextually in the article, not just at the end. NEVER USE PLACEHOLDERS. ALWAYS WRITE THE WHOLE ARTICLE IN FULL. Always include 5 internal links. Output in HTML. Write an article using {outline} with 3 paragraphs per heading. Each heading of the blog post should have at least one list or table (with a small black border, and border between the rows and columns) also. It will go onto WordPress, so I don't need opening HTML tags. Create relative links using the following relative links contextually throughout the article. Use a maximum of 5:{relative_links}. Place 5 hashtags in the appropriate places, preferably so that they blend in with the surrounding text:{hashtags_gpt}. Settle the centred images from the list in the most appropriate places, use only the URL of the image, underneath the image in a very small font like 5px place a referral link centred with the image, which corresponds to this image, leave the referral link as it is created, only reduce its size:{pictures}. ALWAYS WRITE a complete blog post. WE WILL NOT COMPLETE ARTICLES LATER, WE ONLY SEND COMPLETE ARTICLES.")

    user_prompt = (f"ALWAYS write the entire thing, ALWAYS write a complete blog post. Make sure all content is relevant to the article. Use a fun tone of voice. Always include at least 5 internal links. Each heading from the blog post outline should have at least 3 paragraphs and a table or list after writing the post, before you start, think about how to write an article so that it is ALWAYS complete, fits the outline, and contains all the necessary details. Settle the centred images from the list in the most appropriate places, use only the URL of the image, underneath the image in a very small font like 5px place a referral link centred with the image, which corresponds to this image, leave the referral link as it is created, only reduce its size:{pictures}.")

Even so, it does not always add images or links.

Any ideas? I use to generate this gpt-4

Many thanks,
BaGRoS

RetryError[<Future at 0x7fd49eb96ee0 state=finished raised TypeError>]

I face this error when was running the test.py.

After some troubleshooting i found the function (generate_featured_image) is expecting two parameters
def generate_featured_image(text, meta_title):
But only one is sent
featured_image = generate_featured_image( meta_title)

I make it work replacing the text with url_slug and adding that parameter to the calling function
def generate_featured_image(url_slug, meta_title):
featured_image = generate_featured_image(url_slug, meta_title)

If you wanted i can do a PR to fix this issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.