@sanity/embeddings-index-ui
4.0.194.0.20
README.md~
README.mdModified+4−4
Index: package/README.md
===================================================================
--- package/README.md
+++ package/README.md
@@ -49,10 +49,10 @@
You can add the semantic reference search input by importing and adding `embeddingsIndexReferenceInput` as a plugin to `sanity.config.ts` (or `.js`):
```ts
-import {defineConfig} from 'sanity'
import {embeddingsIndexReferenceInput} from '@sanity/embeddings-index-ui'
+import {defineConfig} from 'sanity'
export default defineConfig({
//...
plugins: [embeddingsIndexReferenceInput()],
@@ -91,10 +91,10 @@
Example:
```ts
-import {defineConfig} from 'sanity'
import {embeddingsIndexReferenceInput} from '@sanity/embeddings-index-ui'
+import {defineConfig} from 'sanity'
export default defineConfig({
//...
plugins: [
@@ -132,10 +132,10 @@
Add `embeddingsIndexDashboard` as a plugin to `sanity.config.ts` (or `.js`):
```ts
-import {defineConfig} from 'sanity'
import {embeddingsIndexDashboard} from '@sanity/embeddings-index-ui'
+import {defineConfig} from 'sanity'
export default defineConfig({
//...
plugins: [
@@ -150,10 +150,10 @@
If you want to enable the tool based on user access roles:
```ts
-import {defineConfig} from 'sanity'
import {embeddingsIndexDashboard} from '@sanity/embeddings-index-ui'
+import {defineConfig} from 'sanity'
export default defineConfig({
//...
plugins: [embeddingsIndexDashboard()],