0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
mastra/stores/couchbase
dane-ai-mastra[bot] a5859ee2b9
chore: version packages (alpha) (#30430)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
History 2026-11-16 14:09:31 +01:00
..
scripts feat(config): enforce node: prefix for Node.js built-in imports (#10625) 2025-11-28 14:05:35 +01:00
src fix(memory, couchbase): check semantic recall scope in Memory and warn on ignored Couchbase filters (#30446) 2026-11-15 14:29:24 -07:00
CHANGELOG.md chore: version packages (alpha) (#30430) 2026-11-16 14:09:31 +01:00
docker-compose.yaml update prettier lint (#4189) 2025-05-14 16:22:14 +02:00
lint-staged.config.js refactor(lint): replace ESLint with type-aware oxlint (#27476) 2026-10-18 10:38:35 -07:00
package.json chore: version packages (alpha) (#30430) 2026-11-16 14:09:31 +01:00
README.md docs: point store READMEs at the new integrations vector pages (#28970) 2026-10-30 11:31:23 +01:00
tsconfig.build.json chore: fix go-to-definition using tsc declaration maps (#6089) 2025-07-30 15:41:00 -07:00
tsconfig.json chore: migrate package builds to tsdown (#19829) 2026-07-28 12:32:21 +02:00
tsdown.config.ts chore: migrate package builds to tsdown (#19829) 2026-07-28 12:32:21 +02:00
turbo.json chore: migrate package builds to tsdown (#19829) 2026-07-28 12:32:21 +02:00
vitest.config.ts chore(deps): update build tools (major) (#29026) 2026-11-03 20:18:21 +01:00

@mastra/couchbase

A Mastra vector store implementation for Couchbase, enabling powerful vector similarity search capabilities using the official Couchbase Node.js SDK (v4+). Leverages Couchbase Server's built-in Vector Search feature (available in version 7.6.4+).

Installation

npm install @mastra/couchbase

Usage

Configure the database credentials required by your provider.

import { CouchbaseVector } from '@mastra/couchbase';

const vectorStore = new CouchbaseVector({
  connectionString: process.env.COUCHBASE_CONNECTION_STRING!,
  username: process.env.COUCHBASE_USERNAME!,
  password: process.env.COUCHBASE_PASSWORD!,
  bucketName: 'vectors',
  scopeName: '_default',
  collectionName: 'documents',
});

Documentation

Changelog

See the package changelog for version history and release notes.

Support

We have an open community Discord. Come and say hello and let us know if you have any questions or need any help getting things running.