Wie funktioniert unsere künstliche Intelligenz Kiya
Seit einiger Zeit nutzen wir OpenAI, um diese Artikel aufzubereiten. Wie funktioniert das eigentlich?
Ermittlung der DevSquad Artikel
Aktuell verwalten wir alle DevSquad Artikel in Gitlab. Der Beitrag selbst ist in Gitlab ein Issue. Jedes mal wenn ein Artikel intern vorstellt wurden triggern wir einen WebHook. Dieser macht einen Request auf unsere Webseite.
Auf der Webseite gibt es Code der den Inhalt aus Gitlab via eines API Calls ausliest. Hierzu verwenden wir die GraphQL API von Gitlab, um den Title,den Inhalt und den Autor zu ermitteln und schauen auch, ob das Issues confidental ist.
Nutzung von OpenAI
Anschließend nehmen wir unseren definierten ChatGPT Prompt, der aktuell wie folgt definiert ist:
1. Use markdown as output.
2. Change all existing image links which do not start with https from the original format and apply the target format using the following rule:
Existing link: 
Target format: 
3. Preserve all source code examples in the original format. Do not create new code examples.
4. Keep all absolute links in the original format unchanged.
5. Translate any German texts in the content to English.
6. Write the blog post in a technical blogger style, using a tone suitable for a tech-savvy audience.
7. Generate a YAML frontmatter that should be a yaml object with the following properties:
- title: The title of the blog post in Title Case
- slug: A short slug for the blog post
- tags: A list of tags
- category: A category from the following list: $categories
- summary: A short summary of the content with maximum 285 characters
- contents: A list of questions that get answered by this post
The YAML frontmatter should match the given TypeScript interface definition:
interface BlogpostMetadata {
tags: string[];
category: string;
summary: string;
contents: string[];
title: string;
slug: string;
}
9. The frontmatter and the content should be separated by a line of three dashes.
The title will be shown above the markdown, so you don't have to include it in the markdown.
Make sure to apply the conversion rule for relative image links while keeping the source code examples and absolute links unchanged. Do not create new code examples; only preserve the existing ones.
This is the original article:
und ergänzen den orginal artikel.
Die dabei ermittelten Informationen werten wir aus und nutzen die Storyblok API um eine neue Seite anzulegen.
Information an den Nutzer
Zu guter letzt nutzen wir erneut die Gitlab API, um den Autor über den neuen Artikel zu informieren.
Standort Hannover
newcubator GmbH
Bödekerstraße 22
30161 Hannover
Standort Dortmund
newcubator GmbH
Westenhellweg 85-89
44137 Dortmund