AI Plugin

Generates OpenAI or NLP Cloud embeddings for chosen fields on save

Community 15 10/wk MIT v1.1.0

Installation

pnpm add payload-plugin-ai

About

AI Plugin generates vector embeddings for text fields in a Payload collection. You mark a field in its config, and each time a document is saved, the plugin sends the field content to an embedding provider and stores the resulting vector next to the document. The stored vectors can then be queried for similarity search, for example through a MongoDB Atlas vector index. The plugin is early and changes without notice. It currently needs a forked build of Payload because it depends on two pull requests that are not merged upstream.

Package info

Package name
payload-plugin-ai
Latest version
1.1.0
Unpacked size
401 kB
License
MIT
Weekly downloads
10
Last publish
Apr 18, 2023

More from AlessioGr

View profile

Lexical-based rich text editor field with tables, embeds and AI suggestions

Similar plugins

More in AI

Visual drag-and-drop page builder for Payload collections with live canvas editing

Chat agent that composes and edits Payload pages from your block library

Translates default-locale content into secondary locales with OpenAI or a custom provider

Translates localized content fields with an AI provider from the admin panel

Works out EU VAT on Payload orders, with reverse charge and OSS totals

Writes product titles, descriptions and translations with Claude, ChatGPT, Gemini or Kimi