Preprocessing
In order to use a language model to generate dialogue or game actions, the graph must be transformed into a Lua script.
In Tools > Clusters
, you can also see all the options for preprocessing the selected dialogue nodes.
You can target specific language models.
Additionally, it’s possible to not only mask out character dialogue to be infilled by the langauge model, but also the conditions and actions when the utterance is spoken.
Few shot options
It’s possible to target a specific number of few shot examples (-1 means to fill the full langauge model context with examples). There is also support for providing a system prompt for the chat-based models like ChatGPT and GPT-4 along with a per example prompt.