sanity-plugin-cn-completion
v1.0.1
Published
A simple Sanity tool using ChatGPT to facilitate bulk game data completion for CN interaction prompts.
Downloads
1
Readme
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 completion
tool in Studio UI, and configure OpenAI key in theConfig
tab.
Usage:
After filling out your OpenAI key, head over to
Select
tab, and choose a set of game items to run completion on.Prompts can be set from the
Prompt
tab. 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.