HAWKI-Unity-Integration is a Unity client for the HAWKI didactic interface for universities based on the OpenAI API. The application allows access to HAWKI instances from within Unity. This enables the use of OpenAI's API within software projects at the respective university to further process generated texts or integrate contextual information in requests. A valid university ID is required for use.
To use, it is necessary to specify both the model being used and the subdomain of the HAWKI interface within the respective university in the config.txt file.
e.g. Domain=https://ki.th-koeln.de Model=gpt-4o
Unity Version: 2022.3.30f1
The application uses Newtonsoft.Json to deserialize the received JSON chunks. It is therefore necessary to install the corresponding Unity package.
- Open unity's Package Manager (Window -> Package Manager)
- Click on the "+" button. Select "Update package by name..."
- Enter com.unity.nuget.newtonsoft-json
- The package gets installed

