Skip to content

Add Couchbase Vector Store integration #938

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ldoguin opened this issue Jun 23, 2024 · 0 comments
Closed

Add Couchbase Vector Store integration #938

ldoguin opened this issue Jun 23, 2024 · 0 comments
Labels
couchbase enhancement New feature or request help wanted Extra attention is needed vector store

Comments

@ldoguin
Copy link
Contributor

ldoguin commented Jun 23, 2024

Couchbase is a Datavase supporting Vector search since vesion 7.6. It gives you the tools to store document embeddings, content and metadata and to search through those embeddings including metadata filtering.

@sobychacko sobychacko added enhancement New feature or request vector store labels Jun 27, 2024
@sobychacko sobychacko added this to the 1.0.0-M2 milestone Jun 27, 2024
@markpollack markpollack modified the milestones: 1.0.0-M2, 1.0.0-RC1 Sep 4, 2024
@csterwa csterwa removed this from the 1.0.0-RC1 milestone Sep 10, 2024
@csterwa csterwa added the help wanted Extra attention is needed label Sep 10, 2024
leijendary pushed a commit to leijendary/spring-ai that referenced this issue Mar 28, 2025
Fixes: spring-projects#938

Issue link: spring-projects#938

This commit integrates Couchbase as a vector store option in Spring AI, providing:

- CouchbaseSearchVectorStore implementation with vector similarity search capabilities
- Support for metadata filtering with SQL++ expression conversion
- Spring Boot auto-configuration and starter module for easy integration
- Comprehensive documentation covering setup, configuration, and usage examples
- Integration tests using TestContainers with Couchbase 7.6

The implementation supports configuring dimensions, similarity functions (dot_product/l2_norm),
and optimization strategies (recall/latency). Schema initialization is now opt-in via
the initializeSchema property. Documentation includes both auto-configuration and
manual configuration instructions, along with property configuration details.

Signed-off-by: Abhiraj <[email protected]>

co-authored-by: Laurent Doguin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
couchbase enhancement New feature or request help wanted Extra attention is needed vector store
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants