The official KoalaGPTApi Plugin gives you access to the KoalaGPT API in Unreal Engine. It is compatible with 4.26, 4.27, 5.0, 5.1, 5.2, 5.3
The recommended way to install the plugin is to use pre-built binaries.
- Download the Plugin here
- Create a
Plugins
folder under your project folder - Copy the plugin to it, so you have
YourProject/Plugins/KoalaGPTAPI
See Video:
There are two ways to set the Api Key
-
Assign the Api key directly in blueprints.
-
Set the Api Key as an environment variable
ADVICE: Pay attention to security and encrypt your assets before packaging.
ADVICE: Create the environment variable
KOALAGPT_API_KEY
and use your Api key as the value. How to set enviroment variables for Windows
- This async node sends an HTTP request using your
ChatSettings
.
NOTE: Async nodes can only be called from a blueprint's
Event Graph
.
- This node allows you to set the
Messages
.
- This node is used to access the values included in a
completion
orchoice
This example show you how to use KoalaGPI 's chat endpoint in blueprints.
Windows, Mac, Android