Description
Have you ever wanted to write a blog but didn’t have the time or inspiration to do so? Me too. So I made EcrivAI.
EcrivAI is a fully automated blog writer that uses LangChain and GPT type LLMs (similar to ChatGPT) for topic selection and content generation. The output is published to this blog
How EcrivAI works
Every day, a cron job triggers a GitHub Actions workflow that runs EcrivAI. EcrivAI uses Google’s Gemini Pro to do all the creative work. There are two main tasks: topic selection and content generation. These tasks are strung together using LangChain.
After selecting a topic and generating a blog post on that topic, EcrivAI saves the post to a Markdown file and commits it to a GitHub repository. The blog website generator then uses Hugo, a static site generator, to build a blog website from the Markdown files. The blog website is hosted on GitHub Pages and is accessible to anyone who wants to read it.
Why I built EcrivAI
I built EcrivAI as an experiment to see what kind of content can be automatically generated by language models for a low cost. I also wanted to learn more about LangChain and how it can simplify the development of applications powered by language models. I was impressed by how easy it was to use LangChain’s components and interfaces to create chains and agents that can interact with OpenAI’s API.
Disclaimer
Please note that EcrivAI is not intended to replace human writers or to produce high-quality content. It is only a proof-of-concept and a fun experiment. The content generated by EcrivAI may not be accurate, coherent, or original. Please use it at your own risk and discretion.