Free your team to do more of what they’re great at (and less busy work) with the AI assistant that works with structured content. Attach reusable AI instructions to fields and documents to supercharge your editorial workflow.
You create the instructions; Sanity AI Assist does the rest. Learn more about writing instructions in the Sanity documentation.
Read the release announcement here.
![image](https://private-user-images.githubusercontent.com/835514/247920137-4d895477-c6d7-4da0-be25-c73e109edbdb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUyMDc5MDgsIm5iZiI6MTcyNTIwNzYwOCwicGF0aCI6Ii84MzU1MTQvMjQ3OTIwMTM3LTRkODk1NDc3LWM2ZDctNGRhMC1iZTI1LWM3M2UxMDllZGJkYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTAxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwMVQxNjIwMDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05YWU5OTEzMGZlYTY5YTYxOWY4YzZhODAyM2I1OGFmMzM0YmIwMjgxNDA1ZDg0ZWYxZDU3ZDdiZDk2ZDgyOTFhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.re0GrLqSa6-0AXdsIEQwgFdAIYcPzKBDsvcKYJHywHc)
The @sanity/assist
package lives in the plugin directory.
To start the test studio run
npm run dev
or
SANITY_STUDIO_PROJECT_ID=<projectId> SANITY_STUDIO_DATASET=<dataset> npm run dev
The studio will hot-reload whenever the plugin code changes.
To use a custom API host for the plugin, set SANITY_STUDIO_PLUGIN_API_HOST
env variable.