Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@focus-reactive/sanity-ai-toolkit

Package Overview
Dependencies
Maintainers
6
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@focus-reactive/sanity-ai-toolkit

An easy way to enchance your Sanity studio with ready for use GPT functions. Localization, summarization, tags and more !

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
6
Weekly downloads
 
Created
Source

@focus-reactive/sanity-ai-toolkit

This is a Sanity Studio v3 plugin.

Installation

npm install @focus-reactive/sanity-ai-toolkit

Usage

Add it as a plugin in sanity.config.ts (or .js):

import {defineConfig} from 'sanity'
import {aiToolkit} from '@focus-reactive/sanity-ai-toolkit'

export default defineConfig({
  //...
  plugins: [
    aiToolkit({
      openAiToken: process.env.SANITY_STUDIO_OPENAI_TOKEN as string,
      featuresConfig: {
        translate: {enabled: true},
        summary: {enabled: false},
        tags: {enabled: true},
      },
    }),
  ],
})

License

MIT © Alex Hramovich

Develop & test

This plugin uses @sanity/plugin-kit with default configuration for build & watch scripts.

See Testing a plugin in Sanity Studio on how to run this plugin with hotreload in the studio.

Keywords

FAQs

Package last updated on 22 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc