mirror of
https://github.com/mastra-ai/mastra.git
synced 2026-11-17 08:44:46 +00:00
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
History
|
|
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| CHANGELOG.md | ||
| docker-compose.yaml | ||
| lint-staged.config.js | ||
| package.json | ||
| README.md | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| tsdown.config.ts | ||
| turbo.json | ||
| vitest.config.ts | ||
@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.