Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .changeset/rerank-callback.md

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.0.0

### Minor Changes

- [#57](https://github.com/techiejd/payloadcms-vectorize/pull/57) [`19ea3a0`](https://github.com/techiejd/payloadcms-vectorize/commit/19ea3a0f2a0d2a94407c600000f8a46839d9c379) Thanks [@techiejd](https://github.com/techiejd)! - Add optional `rerank` callback on `EmbeddingConfig` for per-pool reranking. When configured, the plugin fetches `Math.floor(limit * multiplier)` candidates from the adapter, hands them to the user-supplied callback (`(query, results) => Promise<results>`), and trims the callback's output back down to the caller's `limit`. Provider-agnostic — bring your own Voyage / Cohere / local cross-encoder. `multiplier` must be a finite number `>= 1`; invalid configs are rejected at plugin init. Callback errors propagate to the caller.

## 0.7.4

### Patch Changes
Expand Down
11 changes: 11 additions & 0 deletions adapters/cf/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @payloadcms-vectorize/cf

## 1.0.0

### Minor Changes

- [#57](https://github.com/techiejd/payloadcms-vectorize/pull/57) [`19ea3a0`](https://github.com/techiejd/payloadcms-vectorize/commit/19ea3a0f2a0d2a94407c600000f8a46839d9c379) Thanks [@techiejd](https://github.com/techiejd)! - Add optional `rerank` callback on `EmbeddingConfig` for per-pool reranking. When configured, the plugin fetches `Math.floor(limit * multiplier)` candidates from the adapter, hands them to the user-supplied callback (`(query, results) => Promise<results>`), and trims the callback's output back down to the caller's `limit`. Provider-agnostic — bring your own Voyage / Cohere / local cross-encoder. `multiplier` must be a finite number `>= 1`; invalid configs are rejected at plugin init. Callback errors propagate to the caller.

### Patch Changes

- Updated dependencies [[`19ea3a0`](https://github.com/techiejd/payloadcms-vectorize/commit/19ea3a0f2a0d2a94407c600000f8a46839d9c379)]:
- payloadcms-vectorize@1.0.0

## 0.7.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions adapters/cf/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms-vectorize/cf",
"version": "0.7.4",
"version": "1.0.0",
"description": "Cloudflare Vectorize adapter for payloadcms-vectorize",
"license": "MIT",
"repository": {
Expand All @@ -27,7 +27,7 @@
},
"peerDependencies": {
"payload": ">=3.0.0 <4.0.0",
"payloadcms-vectorize": ">=0.7.4"
"payloadcms-vectorize": ">=1.0.0"
},
"devDependencies": {
"payloadcms-vectorize": "workspace:*"
Expand Down
11 changes: 11 additions & 0 deletions adapters/mongodb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @payloadcms-vectorize/mongodb

## 1.0.0

### Minor Changes

- [#57](https://github.com/techiejd/payloadcms-vectorize/pull/57) [`19ea3a0`](https://github.com/techiejd/payloadcms-vectorize/commit/19ea3a0f2a0d2a94407c600000f8a46839d9c379) Thanks [@techiejd](https://github.com/techiejd)! - Add optional `rerank` callback on `EmbeddingConfig` for per-pool reranking. When configured, the plugin fetches `Math.floor(limit * multiplier)` candidates from the adapter, hands them to the user-supplied callback (`(query, results) => Promise<results>`), and trims the callback's output back down to the caller's `limit`. Provider-agnostic — bring your own Voyage / Cohere / local cross-encoder. `multiplier` must be a finite number `>= 1`; invalid configs are rejected at plugin init. Callback errors propagate to the caller.

### Patch Changes

- Updated dependencies [[`19ea3a0`](https://github.com/techiejd/payloadcms-vectorize/commit/19ea3a0f2a0d2a94407c600000f8a46839d9c379)]:
- payloadcms-vectorize@1.0.0

## 0.7.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions adapters/mongodb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms-vectorize/mongodb",
"version": "0.7.4",
"version": "1.0.0",
"description": "MongoDB Atlas + self-hosted vectorSearch adapter for payloadcms-vectorize",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -39,7 +39,7 @@
"peerDependencies": {
"mongodb": ">=6.0.0",
"payload": ">=3.0.0 <4.0.0",
"payloadcms-vectorize": ">=0.7.4"
"payloadcms-vectorize": ">=1.0.0"
},
"devDependencies": {
"@payloadcms/db-mongodb": "3.69.0",
Expand Down
11 changes: 11 additions & 0 deletions adapters/pg/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @payloadcms-vectorize/pg

## 1.0.0

### Minor Changes

- [#57](https://github.com/techiejd/payloadcms-vectorize/pull/57) [`19ea3a0`](https://github.com/techiejd/payloadcms-vectorize/commit/19ea3a0f2a0d2a94407c600000f8a46839d9c379) Thanks [@techiejd](https://github.com/techiejd)! - Add optional `rerank` callback on `EmbeddingConfig` for per-pool reranking. When configured, the plugin fetches `Math.floor(limit * multiplier)` candidates from the adapter, hands them to the user-supplied callback (`(query, results) => Promise<results>`), and trims the callback's output back down to the caller's `limit`. Provider-agnostic — bring your own Voyage / Cohere / local cross-encoder. `multiplier` must be a finite number `>= 1`; invalid configs are rejected at plugin init. Callback errors propagate to the caller.

### Patch Changes

- Updated dependencies [[`19ea3a0`](https://github.com/techiejd/payloadcms-vectorize/commit/19ea3a0f2a0d2a94407c600000f8a46839d9c379)]:
- payloadcms-vectorize@1.0.0

## 0.7.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions adapters/pg/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@payloadcms-vectorize/pg",
"version": "0.7.4",
"version": "1.0.0",
"description": "PostgreSQL adapter for payloadcms-vectorize",
"license": "MIT",
"repository": {
Expand All @@ -27,7 +27,7 @@
},
"peerDependencies": {
"payload": ">=3.0.0 <4.0.0",
"payloadcms-vectorize": ">=0.7.4",
"payloadcms-vectorize": ">=1.0.0",
"@payloadcms/db-postgres": ">=3.0.0 <4.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "payloadcms-vectorize",
"version": "0.7.4",
"version": "1.0.0",
"description": "A plugin to vectorize collections for RAG in Payload 3.0",
"license": "MIT",
"repository": {
Expand Down