Trying to use gpt-4 and langchain to generate blog posts. Failing miserably

I forgot to add the prompts that i am using:

  1. You have been given access to a search tool. Please gather
    information about the AI algorithm topic {topic}.

  2. Please create a title for a blog post on {topic}

  3. Using the title for {topic} Please create some
    blog sections for a blog post

  4. Please generate the content for section 1 of the blog
    post on topic {topic} .

  5.  Please expand the content for section 1 of the blog    
       post on topic {topic} into a detailed professional     
       exposition.