Using AI
Discover how AI is revolutionizing content creation in our latest article. By leveraging Grok, a powerful AI tool, the tedious task of formatting articles—such as removing hard line breaks and adjusting fonts—becomes effortless. With just a click, Grok can transform raw text into polished HTML, generate unique excerpts, and even craft social media posts. From clean, ready-to-run code to seamless API integration, explore how AI can save time and enhance readability. Dive into this astonishing journey of automation and see how it could transform your workflow!
The world is changing. It might be getting better.
I started speaking with Grok Thursday night. I was treating it as a search engine. What I wanted was a method to format the daily dump.
There is a lot of good content, but I wanted a method to make it look nicer without having to spend an excessive amount of time working it over. When I am quoting legal opinions, the longest part is manually formatting the quote.
Manually quoting means removing hard line breaks, removing hyphens, and adding the proper font style back. It just takes time.
What I want is to be able to click a button and have WordPress make a call to the Grok API to apply formatting to the article. Hopefully making it easier to read.
Grok 3 was able to give me good feedback on how to accomplish what I needed. The code was clean, commented, and ready to run.
I do read this stuff.
This led me to setting up an API account to use Grok 4 directly. I asked Grok-3 to provide me with code to do so.
Over the course of an hour or so, we were able to create a Python program that will fetch an article from the site. Reformat the article for proper HTML. Provide an excerpt that is different from the first part of the article. Create a post for X, and make that post.
This is pretty astonishing, in my opinion.
Now comes the testing.
Leave a Reply to CBMTTek Cancel reply