Integration of AI in TYPO3

Applications based on language models like GPT-3 or BERT are becoming more and more popular and the number of tools like ChatGPT is increasing almost daily. This article is specifically about the integration of GPT-3 in TYPO3.

Editors are often faced with the task of creating high-quality texts on diverse topics. The requirements are high. Not too short, but not too long either. All the essentials must be taken into account, but the article must contain neither too much nor too little information.

For the creation of such texts often a more or less (time-) consuming research on Google, Wikipedia or other sources is necessary.

Another source - not only for information retrieval but also for the creation of entire texts - are AI-based tools such as ChatGPT. These generate results on request for any topic and also provide the appropriate keywords and abstracts.

Integration of AI in TYPO3

AI-based tools can also be integrated into TYPO3 and used by editors. In the following we describe how a text generation based on GPT-3 can be integrated into TYPO3.

The basis is the extension t3-cowriter. After installation and configuration, a corresponding icon can be added to the TYPO3 editor. This icon opens a window with a text field. Here the request to the AI can be made. We set the following task:

"create a controversial text about chatgpt with about 150 words. Create a list of keywords and an abstract with 15 words."

Depending on the chosen language model, it takes a few seconds to generate the answer. The result will look like the following, for example:

The degree of reproducibility of the results can be set via the settings. The default value already provides quite good results here. Here is another text based on the identical task:

prev TYPO3 PageTitleProvider for own extensions
next Secure VPN with Wireguard and wg-easy