1.0.1 • Published 2 years ago
sanity-plugin-cn-completion v1.0.1
CN game data completion tool
A simple Sanity tool using ChatGPT to facilitate bulk game data completion for CN interaction prompts.
Setup:
Install
cn-completion-sanity-plugin.Enable in plugins section of your
sanity.config.ts.
plugins: [
deskTool({
structure: deskStructure
}),
visionTool(),
completionTool()
],- Navigate to
Game data completiontool in Studio UI, and configure OpenAI key in theConfigtab.
Usage:
After filling out your OpenAI key, head over to
Selecttab, and choose a set of game items to run completion on.Prompts can be set from the
Prompttab. Click the Run button to run a completion on current view, or all selected items.Completion outputs appear in the Preview section, and can be manually adjusted before saving. To prevent override of previously saved data, leave the Preview section of a given field empty.