
Security News
Federal Audit Finds NIST Wasted Funds With No Plan to Clear NVD Backlog
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.
@ragpipe/plugin-supabase
Advanced tools
Supabase pgvector vector store plugin for ragpipe.
pnpm add ragpipe @ragpipe/plugin-supabase
import { defineConfig } from "ragpipe";
import { supabaseVectorStore } from "@ragpipe/plugin-supabase";
export default defineConfig({
// ... embedding, generation
vectorStore: supabaseVectorStore({
databaseUrl: process.env.DATABASE_URL ?? "",
tableName: "documents", // default
dimensions: 3072,
}),
});
supabaseVectorStore(options)Returns a VectorStorePlugin backed by Supabase PostgreSQL with pgvector.
| Option | Type | Default | Description |
|---|---|---|---|
databaseUrl | string | — | PostgreSQL connection string (required) |
tableName | string | "documents" | Table to store/query vectors |
dimensions | number | — | Vector dimensions (for documentation; table must match) |
| Method | Description |
|---|---|
search(vector, topK) | Cosine similarity search, returns top-K results with scores |
upsert(source, content, vector) | Insert a document if it doesn't already exist |
clear() | Truncate the documents table |
disconnect() | Close the PostgreSQL connection |
Enable pgvector and create the documents table in your Supabase SQL editor:
CREATE EXTENSION IF NOT EXISTS vector;
CREATE TABLE documents (
id BIGSERIAL PRIMARY KEY,
source TEXT NOT NULL,
content TEXT NOT NULL,
vector VECTOR(3072)
);
CREATE INDEX ON documents
USING ivfflat (vector vector_cosine_ops)
WITH (lists = 100);
Adjust VECTOR(3072) to match your embedding model's dimensions.
MIT
FAQs
Supabase pgvector vector store plugin for ragpipe
The npm package @ragpipe/plugin-supabase receives a total of 19 weekly downloads. As such, @ragpipe/plugin-supabase popularity was classified as not popular.
We found that @ragpipe/plugin-supabase demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.