AI
Generates and stores vector embeddings for Payload fields using the OpenAI or NLP Cloud APIs.
Installation
pnpm add payload-plugin-ai About
payload-plugin-ai adds AI features to a Payload CMS instance. The current feature is automatic text embedding generation. When you mark a field with the `genEmbeddings` helper inside its `custom` property, the plugin appends a hidden `number` `hasMany` field named `<fieldName>_embeddings` to the collection and registers a `beforeChange` hook that computes the vector on every save.
Package info
- Package name
payload-plugin-ai- Latest version
1.1.0- Unpacked size
- 401 kB
- License
- MIT
- Weekly downloads
- 8
- Last publish
- Apr 18, 2023
More from AlessioGr
View profileDashboard Analytics
Adds Plausible and Google Analytics widgets to the Payload admin dashboard, navigation, collections and globals.
AI Completions
Payload plugin that generates field content through OpenAI chat completions from the admin panel.
Default Roles
Applies default role-based access control to every Payload collection, granting CRUD access to specified roles such as admin and executive.
Warding
RBAC plugin that generates user and role collections and injects fine-grained access control across Payload collections, globals, fields, and endpoints.
Iframe Tabs
Add iframes into separate tabs in the Payload admin panel.
Visual Editor
Adds a visual live editor to Payload CMS for instant content preview.