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 SearchMeilisearch
Syncs Payload CMS collection documents to a Meilisearch index via afterChange and afterDelete hooks.
Search plugin
Search plugin for Payload enables fast searching of document records.
Algolia search
Integrates Algolia search with Payload CMS collections.
Typesense
Integrates Typesense search capabilities into Payload CMS with real-time synchronization.