1.0.1 • Published 5 months ago

sanity-plugin-cn-completion v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

CN game data completion tool

A simple Sanity tool using ChatGPT to facilitate bulk game data completion for CN interaction prompts.

Setup:

  1. Install cn-completion-sanity-plugin.

  2. Enable in plugins section of your sanity.config.ts.

   plugins: [
    deskTool({
      structure: deskStructure
    }),
    visionTool(),
    completionTool()
  ],
  1. Navigate to Game data completion tool in Studio UI, and configure OpenAI key in the Config tab.

Usage:

  1. After filling out your OpenAI key, head over to Select tab, and choose a set of game items to run completion on.

  2. Prompts can be set from the Prompt tab. Click the Run button to run a completion on current view, or all selected items.

  3. 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.