This is the information page for "FranKI". FranKI is my attempt to use artificial intelligence (AI) on this blog. Here I collect the current status of this project and give insights into how it works and my experiences.
I had published the announcement in this article:
Reader Tim then suggested the name FranKI for artificial intelligence. I thought that was a good idea, so the first AI-generated article was published online on October 21, 2024:
The second article was published online on 05.11.2024:
Both topics have been selected manually.
You can now follow the progress of FranKI on this page or in this logbook. I will also publish the ratings for the articles here as soon as a sufficient number of articles and ratings are available.
05.11.2024: Second article online
I continued to work on FranKI and created a further articles published. For this article, I have only specified the topic; the keywording, description, tags and keywords are generated by FranKI. I am already much further along with the fully automated operation, after all FranKI already thinks up the topics for its own posts and can then also generate the posts and publish them as drafts on this blog.
I'm not running the fully automatic mode at the moment because I'm still checking the posts. I'm also not yet completely satisfied with the quality of the posts. I will tackle the quality issue next.
31.10.2024: More functions have been added
In the past few days, I have significantly expanded the range of functions. The following features have been added:
- Prompts: All prompts are saved here so that I can compare the results more easily
- Suggestions: Initial tests for further automation are underway here
- Costs: The approximate costs are calculated here based on the required tokens
This is what the GUI currently looks like:
![](https://www.frankysweb.de/wp-content/uploads/2024/10/grafik-25-1024x660.png)
A lot has also changed in the creation of articles: SEO keywords, keywords and meta descriptions are now created automatically. Articles generated by FranKI are therefore basically ready for publication. Of course, it would be nice if a suitable image could be added, but more than a symbol image is probably not possible at the moment. So let's leave that for now.
The biggest construction sites are now the suggestions and the posts themselves: The aim is to generate articles automatically. For example, I'm hoping for beginner articles or articles on simple basic functions. There are many long and technical articles here on my blog, but very few for beginners. I think it would be good if I could close this gap with FranKI. However, the articles I have produced are not yet as good as I would like them to be. The articles are quite short so far and don't contain enough background knowledge or examples. I will now tackle these problems next.
In the next few days, I will also publish another article via FranKI. You are welcome to leave your opinion and rating again.
21.10.2024: Development and first contribution
I started developing FranKI at the beginning of October 2024 and published an announcement to this effect on October 16, 2024.
I started with the following components:
This resulted in the first test version. The first version only sent a request to the OpenAI API and saved the result in a text file. Here is a screenshot of the first version:
![FranKI: The AI on FrankysWeb](https://www.frankysweb.de/wp-content/uploads/2024/10/grafik-13.png)
That was just a few lines of code. In the current version, with which I also published the first article, the GUI looks like this:
![FranKI: The AI on FrankysWeb](https://www.frankysweb.de/wp-content/uploads/2024/10/grafik-11-1024x597.png)
The code is still very straightforward, which currently makes it very easy for me to change the way it works. Since I didn't want to save settings and generated posts in text files, I now also use TinyDB as a simple database. TinyDB stores the data in a JSON file and not in a classic database, as we know it from SQL databases. It is therefore completely sufficient for my purposes. I have created 3 different JSON files using TinyDB: Posts, Logs and Settings. I can then use the settings to adjust the relevant settings quite easily:
![FranKI: The AI on FrankysWeb](https://www.frankysweb.de/wp-content/uploads/2024/10/grafik-14-1024x509.png)
For example, the prompt can currently still be found in the settings. There is a lot of potential in the prompt, so I will adapt this in the next versions. I don't yet know exactly how.
The application itself runs in two containers if required. One container contains the FranKI and Gunicorn as WSGI server, another container nginx as a proxy with SSL offloading:
![FranKI: The AI on FrankysWeb](https://www.frankysweb.de/wp-content/uploads/2024/10/grafik-15.png)
I currently need to start FranKI manually via Flask when required, but I wanted to provide for continuous operation. Hence the containers.
Currently, FranKI is actually not much more than a GUI for two APIs: OpenAI and WordPress. I manually specify the theme, send the theme to the OpenAI API. The result is stored in the TinyDB and saved as a draft on this blog at the touch of a button via the WordPress API:
![FranKI: The AI on FrankysWeb](https://www.frankysweb.de/wp-content/uploads/2024/10/grafik-16-1024x368.png)
So there is still a lot of "human" in FranKI at the moment:
- The topic is specified
- The category is selected
- The result is checked
- The contribution will be transferred
- The formatting is adjusted
- Keywords, meta description, keywords are inserted
- Article will be published
For now, I'll take a look at the big issue of prompts and report back when there's news.