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 profileSimilar plugins
More in SearchNested Docs
Adds parent-child document hierarchies with auto-generated breadcrumbs to Payload collections.
Form Builder
Official Payload plugin that lets admins build forms, collect submissions, send templated emails, and optionally process payments or uploads.
Media Gallery
Replaces the Payload media collection list view with justified, masonry, and grid layouts plus a lightbox.
Repository
Wrapper around Payload's Local API providing repository operations.
payload-cli
CLI for direct access to PayloadCMS data for AI agents and humans.